Free Questions for CRT-450 by go4braindumps
Shared by Porter on 24-05-2024
For More Free Questions and Preparation Resources
Check the Links on Last Page
Question 1
Question Type: MultipleChoice
A developer creates a batch Apex job to update a large number of records, and receives reports of the job timing out and not completing.
What is the first step towards troubleshooting the issue?
Options:
A- Check the asynchronous job monitoring page to view the job status and logs.
B- Check the debug logs for the batch job.
C- Decrease the batch size to reduce the load on the system.
D- Disable the batch job and recreate it with a smaller number of records.
Answer:
A
Question 2
Question Type: MultipleChoice
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?
Options:
A- Custom controller
B- Controller extension
C- Validation rule
D- Apex trigger
Answer:
B
Question 3
Question Type: MultipleChoice
A developer created a trigger on the Account object. While testing the trigger, the developer sees the error message 'Maximum trigger
depth
exceeded',
What could be the possible causes?
Options:
A- The developer does not have the correct user permission.
B- The trigger is getting executed multiple times.
C- The trigger is a a helper class.
D- The trigger does not have sufficient code coverage.
Answer:
B
Question 4
Question Type: MultipleChoice
A developer at AW Computing is tasked to create the supporting test class for a programmatic customization that leverages records
stored within the custom object,
Pricing Structure c. AW Computing has a complex pricing structure for each item on the store, spanning more than 500 records.
hich two approaches can the developer use to ensure Pricing _Structure__c records are available when the test class is executed?
Choose 2 answers
Options:
A- Use a Test Date Factory class.
B- Use the @raTeat (seeAllData=true) annotation.
C- Use the Test. leadtear{} method,
D- Use without shering on the class declaration.
Answer:
A, C
Question 5
Question Type: MultipleChoice
Universal Containers has an order system that uses an Order Number to identify an order for customers and service agents. Order
records will be imported into Salesforce.
How should the Order Number field be defined in Salesforce?
Options:
A- Direct Lookup
B- External ID and Unique
C- Lookup
D- Indirect Lookup
Answer:
B
Question 6
Question Type: MultipleChoice
What is the value of the Trigger.old context variable in a before insert trigger?
Options:
A- A list of newly created sObjects without IDs
B- null
C- Undefined
D- An empty list of sObjects
Answer:
D
Question 7
Question Type: MultipleChoice
A company has a custom object, Order__c, that has a required, unique external ID field called OrderNumber__c.
Which statement should be used to perform the DML necessary to insert new records and update existing records in a list of order__c
records
using the external ID field?
A.
B.
C.
D.
Options:
A- Option A
B- Option B
C- Option C
D- Option D
Answer:
B
Question 8
Question Type: MultipleChoice
Which annotation exposes an Apex class as a RESTful web service?
A.
B.
C.
D.
Options:
A- Option A
B- Option B
C- Option C
D- Option D
Answer:
C
Question 9
Question Type: MultipleChoice
Developers at Universal Containers (UC) use version control to share their code changes, but they notice that when they deploy their
code to different environments they often have failures. They decide to set up Continuous Integration (CI).
What should the UC development team use to automatically run tests as part of their CI process?
Options:
A- Force.com Toolkit
B- Salesforce CLI
C- Visual Studio Code
D- Developer Console
Answer:
A
Question 10
Question Type: MultipleChoice
In the following example, which sharing context will myMethod execute when it is invoked?
Options:
A- Sharing rules will not be enforced for the running user.
B- Sharing rules will be Inherited from the calling context.
C- Sharing rules will be enforced by the instantiating class.
D- Sharing rules will be enforced for the running user.
Answer:
B
To Get Premium Files for CRT-450 Visit
https://www.p2pexams.com/products/crt-450
For More Free Questions Visit
https://www.p2pexams.com/salesforce/pdf/crt-450