Nvidia Corp. faces the final test of an earnings season-driven rally that has sent its shares up more than 40% from an April low.