Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 293 discussion

Actual exam question from Salesforce's CRT-450
Question #: 293
Topic #: 1
[All CRT-450 Questions]

What are two use cases for executing Anonymous Apex code? (Choose two.)

  • A. To run a batch Apex class to update all Contacts
  • B. To schedule an Apex class to run periodically
  • C. To delete 15,000 inactive Accounts in a single transaction after a deployment
  • D. To add unit test code coverage to an org
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Ke_James0302
1 month, 1 week ago
Selected Answer: AC
A. Execute a batch Apex class to update all contacts Use anonymous Apex to temporarily execute code that is not stored in your organization. When a large amount of data needs to be updated at one time, such as all contacts, batch Apex can be used to handle large amounts of data operations. Anonymous Apex can trigger batch processing immediately, which is useful for large and irregular updates. C. Remove 15,000 inactive accounts in one transaction after deployment Anonymous Apex is ideal for large-scale data manipulation in special situations, such as deleting a large number of accounts. The anonymous Apex execution method allows developers to perform these operations in a single transaction, ensuring that data changes are completed in one go.
upvoted 1 times
...
Ke_James0302
1 month, 1 week ago
Selected Answer: AC
A,C is true
upvoted 1 times
...
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.

SaveCancel
Loading ...