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
5 months, 3 weeks agoSS1121
11 months agoJPV85
1 year, 5 months agoSanjeevOnForce
1 year, 6 months agoirina_735
1 year, 8 months agoirina_735
1 year, 8 months agoirina_735
1 year, 8 months agoBrucePark
1 year, 10 months agoBrucePark
1 year, 10 months agowlthorn
2 years, 1 month ago