exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 129 discussion

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

What are three techniques that a developer can use to invoke an anonymous block of code? (Choose three.)

  • A. Use the SOAP API to make a call to execute anonymous code.
  • B. Create a Visualforce page that uses a controller class that is declared without sharing.
  • C. Run code using the Anonymous Apex feature of the Developer's IDE.
  • D. Type code into the Developer Console and execute it directly.
  • E. Create and execute a test method that does not specify a runAs() call.
Show Suggested Answer Hide Answer
Suggested Answer: ACD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
life_monkey
Highly Voted 2 years, 10 months ago
A,C,D is correct ans. FYI: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_anonymous_block.htm
upvoted 5 times
gsori
11 months, 1 week ago
If Visual Studio Code is intended as the Developer's IDE, I agree. Also FYI here's a link about this: https://developer.salesforce.com/tools/vscode/en/apex/writing#:~:text=You%20can%20execute%20Anonymous%20Apex,entire%20context%20of%20a%20file.
upvoted 1 times
...
...
BrucePark
Most Recent 11 months, 3 weeks ago
Selected Answer: ACD
ACD seem correct
upvoted 2 times
...
rani_123
1 year, 4 months ago
Ans should be ADE
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 ...