I dont agree with C. Because it is enough to query Id, since anyways the collection is a list of Sobjects. SO as long as we are querying the ID, it is enough to update any field in the record. So I don't believe this code will run into an error. SO for me the answer is A
None of the answers are correct. Two interesting things: 1) you CAN update fields without querying in SOQL, but you can`t get the values from them without querying. 2) This snippet makes another error: System.LimitException: Too many SOQL queries: 101
This section is not available anymore. Please use the main Exam Page.CRT-450 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
rajivjm
7 months, 1 week agoSS1121
1 year agoJPV85
1 year, 7 months agoSanjeevOnForce
1 year, 8 months agoirina_735
1 year, 9 months agoirina_735
1 year, 9 months agoirina_735
1 year, 9 months agoBrucePark
1 year, 11 months agoBrucePark
1 year, 11 months agowlthorn
2 years, 3 months ago