CRT-450 Exam Questions

Total 387 Questions

Last Updated Exam : 22-Oct-2024

Topic 2 : Exam Pool B

A developer creates a Workflow Rule declaratively that updates a field on an object. An Apex update trigger exists for that object. What happens when a user updates a record?


A.

No changes are made to the data.


B.

Both the Apex Trigger and Workflow Rule are fired only once.


C.

The Workflow Rule is fired more than once.


D.

The Apex Trigger is fired more than once.





D.
  

The Apex Trigger is fired more than once.



What is a correct pattern to follow when programming in Apex on a Multi-tenant platform?


A.

Apex code is created in a separate environment from schema to reduce deployment errors.


B.

DML is performed on one record at a time to avoid possible data concurrency issues.


C.

Queries select the fewest fields and records possible to avoid exceeding governor limits.


D.

Apex classes use the ''with sharing" keyword to prevent access from other server tenants.





C.
  

Queries select the fewest fields and records possible to avoid exceeding governor limits.



When can a developer use a custom Visualforce page in a Force.com application? (Choose 2)


A.

To generate a PDF document with application data


B.

To create components for dashboards and layouts


C.

To deploy components between two organizations


D.

To modify the page layout settings for a custom object





A.
  

To generate a PDF document with application data



B.
  

To create components for dashboards and layouts



A developer writes a before insert trigger.How can the developer access the incoming records in the trigger body?


A.

By accessing the Trigger.new context variable.


B.

By accessing the Trigger.newRecords context variable.


C.

By accessing the Trigger.newMap context variable.


D.

By accessing the Tripper.newList context variable.





A.
  

By accessing the Trigger.new context variable.



Which component is available to deploy using Metadata API? Choose 2 answers


A.

Case Layout


B.

Account Layout


C.

Case Feed Layout


D.

ConsoleLayout





A.
  

Case Layout



B.
  

Account Layout



A company that uses a Custom object to track candidates would like to send candidate information
automatically to a third -party human resource system when a candidate is hired. What can a developer do to accomplish this task?


A.

Create an escalation rule to the hiring manager.


B.

Create an auto response rule to the candidate.


C.

Create a Process Builder with an outbound message action.


D.

Create a workflow rule with an outbound message action.





D.
  

Create a workflow rule with an outbound message action.



A developer needs to provide a Visualforce page that lets users enter Product-specific details during a Sales cycle. How can this be accomplished? (Choose 2)


A.

Download a Managed Package from the AppExhange that provides a custom Visualforce page to
modify.


B.

Copy the standard page and then make a new Visualforce page for Product data entry.


C.

Download an Unmanaged Package from the AppExchange that provides a custom Visualforce page to
modify.


D.

Create a new Visualforce page and an Apex controller to provide Product data entry.





C.
  

Download an Unmanaged Package from the AppExchange that provides a custom Visualforce page to
modify.



D.
  

Create a new Visualforce page and an Apex controller to provide Product data entry.



How would a developer change the field type of a custom field on the Account object from string to an
integer?


A.

Make the changes in the developer console, and then the change will automatically be reflected in the
Apex code.


B.

Mate the change in the declarative UI, then update the field type to an integer field in the Apex code.


C.

Make the change in the declarative UI, an then the change will automatically be reflected in the Apex
code.


D.

Remove all references in the code, make the change in the declarative UI, and restore the references
with the new type.





D.
  

Remove all references in the code, make the change in the declarative UI, and restore the references
with the new type.



Where would a developer build a managed package?


A.

Developer Sandbox


B.

Unlimited Edition


C.

Partial Copy Sandbox


D.

Developer Edition





D.
  

Developer Edition



What is the return data type when ApexPages.currentPage().getParameters() is used to retrieve URL
parameters from a visualforce controller?


A.

Map


B.

List


C.

Enum


D.

String[]





A.
  

Map




Page 12 out of 39 Pages
Previous