Salesforce Programmatic Development using Apex and Visualforce in Lightning Experience - DEX-450 Exam Practice Test
Universal Containers decides to use purely declarative development to build out a new Salesforce application.
Which two options can be used to build out the business logic layer for this application?
Choose 2 answers
Which two options can be used to build out the business logic layer for this application?
Choose 2 answers
Correct Answer: A,D
Which two settings must be defined In order to update a record of a junction object?
Choose 2 answers
Choose 2 answers
Correct Answer: A,D
How should a developer write unit tests for a private method in an Apex class?
Correct Answer: A
A developer needs to implement a custom SOAP Web Service that is used by an external Web Application. The developer chooses to include helper methods that are not used by the Web Application in the implementation of the Web Service Class.
Which code segment shows the correct declaration of the class and methods?
Which code segment shows the correct declaration of the class and methods?
Correct Answer: B
While working in a sandbox, an Apex test fails when run in the Test Runner. However, executing the Apex logic in the Execute Anonymous window succeeds with no exceptions or errors.
Why did the method fail in the sandbox test framework but succeed in the Developer Console?
Why did the method fail in the sandbox test framework but succeed in the Developer Console?
Correct Answer: D
A developer is creating a Lightning web component to show a list of sales records.
The Sales Representative user should be able to see the commission field on each record. The Sales Assistant user should be able to see all fields on the record except the commission field.
How should this be enforced so that the component works for both users without showing any errors?
The Sales Representative user should be able to see the commission field on each record. The Sales Assistant user should be able to see all fields on the record except the commission field.
How should this be enforced so that the component works for both users without showing any errors?
Correct Answer: D
Consider the following code snippet for a Visualforce page that is launched using a Custom Button on the Account detail page layout.

When the Save button is pressed the developer must perform a complex validation that involves multiple objects and, upon success, redirect the user to another Visualforce page.
What can the developer use to meet this business requirement?

When the Save button is pressed the developer must perform a complex validation that involves multiple objects and, upon success, redirect the user to another Visualforce page.
What can the developer use to meet this business requirement?
Correct Answer: D
A team of many developers work in their own individual orgs that have the same configuration as the production org.
Which type of org is best suited for this scenario?
Which type of org is best suited for this scenario?
Correct Answer: A
Which Apex class contains methods to return the amount of resources that have been used for a particular governor, such as the number of DML statements?
Correct Answer: C