Salesforce CRT-450 Exam Practice Questions (P. 4)
- Full Access (440 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #31
A platform developer at Universal Containers needs to create a custom button for the Account object that, when clicked, will perform a series of calculations and redirect the user to a custom Visualforce page.
Which three attributes need to be defined with values in the <apex:page> tag to accomplish this? (Choose three.)
Which three attributes need to be defined with values in the <apex:page> tag to accomplish this? (Choose three.)
- AactionMost Voted
- BrenderAs
- CstandardControllerMost Voted
- DreadOnly
- EextensionsMost Voted
Correct Answer:
ABC
ABC
send
light_mode
delete
Question #32
Using the Schema Builder, a developer tries to change the API name of a field that is referenced in an Apex test class.
What is the end result?
What is the end result?
- AThe API name is not changed and there are no other impacts.Most Voted
- BThe API name of the field and the reference in the test class is changed.
- CThe API name of the field is changed, and a warning is issued to update the class.
- DThe API name of the field and the reference in the test class is updated.
Correct Answer:
C
C
send
light_mode
delete
Question #33
When is an Apex Trigger required instead of a Process Builder Process?
- AWhen a record needs to be created
- BWhen multiple records related to the triggering record need to be updated
- CWhen a post to Chatter needs to be created
- DWhen an action needs to be taken on a delete or undelete, or before a DML operation is executed.
Correct Answer:
D
D
send
light_mode
delete
Question #34
A developer needs to join data received from an integration with an external system with parent records in Salesforce. The data set does not contain the
Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent.
Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?
Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent.
Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?
- ACreate and populate a custom field on the parent object marked as Unique.
- BCreate a custom field on the child object of type External Relationship.
- CCreate and populate a custom field on the parent object marked as an External ID.Most Voted
- DCreate a custom field on the child object of type Foreign Key.
Correct Answer:
D
D
send
light_mode
delete
Question #35
A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes.
How should the developer design the Apex classes?
How should the developer design the Apex classes?
- AHave each class define method getObject() that returns the sObject that is controlled by the Apex class.
- BExtend each class from the same base class that has a method getTextSummary() that returns the summary.
- CHave each class implement an interface that defines method getTextSummary() that returns the summary.Most Voted
- DHave each class define method getTextSummary() that returns the summary.
Correct Answer:
C
C
send
light_mode
delete
Question #36
Which approach should a developer use to add pagination to a Visualforce page?
- AA StandardController
- BThe Action attribute for a page
- CThe extensions attribute for a page
- DA StandardSetController
Correct Answer:
D
D
send
light_mode
delete
Question #37
A developer is asked to create a PDF quote document formatted using the company's branding guidelines, and automatically save it to the Opportunity record.
Which two ways should a developer create this functionality? (Choose two.)
Which two ways should a developer create this functionality? (Choose two.)
- AInstall an application from the AppExchange to generate documents.Most Voted
- BCreate a Visualforce page with custom styling.Most Voted
- CCreate an email template and use it in Process Builder.
- DCreate a visual flow that implements the company's formatting.
Correct Answer:
AB
AB
send
light_mode
delete
Question #38
Which tool allows a developer to send requests to the Salesforce REST APIs and view the responses?
- AREST resource path URL
- BWorkbench REST Explorer
- CDeveloper Console REST tab
- DForce.com IDE REST Explorer tab
Correct Answer:
B
B
send
light_mode
delete
Question #39
A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page.
What should the developer do to deploy to production?
What should the developer do to deploy to production?
- ACreate a test class that provides coverage of the Visualforce page.
- BCreate a test page that provides coverage of the Visualforce page.
- CCreate a test page that provides coverage of the custom controller.
- DCreate a test class that provides coverage of the custom controller.
Correct Answer:
D
D
send
light_mode
delete
Question #40
What is a benefit of using an after insert trigger over using a before insert trigger?
- AAn after insert trigger allows a developer to bypass validation rules when updating fields on the new record.
- BAn after insert trigger allows a developer to insert other objects that reference the new record.
- CAn after insert trigger allows a developer to make a callout to an external service.
- DAn after insert trigger allows a developer to modify fields in the new record without a query.
Correct Answer:
B
B
send
light_mode
delete
All Pages