Salesforce
CRT-450 · Question #10
CRT-450 Question #10: Real Exam Question with Answer & Explanation
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #10. The question stem and answer options stay visible for context.
Question
Management asked for opportunities to be automatically created for accounts with annual revenue greater than $1,000,000. A developer created the following trigger on the Account object to satisfy this requirement. Users are able to update the account records via the UI and can see an opportunity created for high annual revenue accounts. However, when the administrator tries to upload a list of 179 accounts using Data Loader, It fails with system. Exception errors. Which two actions should the developer take to fix the code segment shown above? Choose 2 answers
Exhibit
Options
- ACheck if all the required fields for Opportunity are being added on creation.
- BUse Database.query to query the opportunities.
- CMove the DML that saves opportunities outside the for loop.
- DQuery for existing opportunities outside the for loop.
Unlock CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
