CRT-450 Exam Questions

Total 387 Questions

Last Updated Exam : 22-Oct-2024

Topic 2 : Exam Pool B

What features are available when writing apex test classes?(Choose 2 Answers)


A.

The ability to select error types to ignore in the developer console.


B.

The ability to write assertions to test after a @future method.


C.

The ability to set and modify the CreatedDate field in apex tests.


D.

The ability to set breakpoints to freeze the execution at a given point.


E.

The ability to select testing data using csv files stored in the system.





C.
  

The ability to set and modify the CreatedDate field in apex tests.



E.
  

The ability to select testing data using csv files stored in the system.



A candidate may apply to multiple jobs at the company Universal Containers by submtting a single application per job posting. Once an application is submitted for a job posting, that application cannot be modified to be resubmitted to a different job posting.What can the administrator do to associate an application with each jobposting in the schema for the organization?


A.

Create a master-detail relationship in the Job Postings custom object to the Applications custom object.


B.

Create a master-detail relationship in the Application custom object to the Job Postings custom object.


C.

Create a lookup relationship on both objects to a junction object called Job Posting Applications.


D.

Create a lookup relationship in the Applications custom object to the Job Postings custom object





A.
  

Create a master-detail relationship in the Job Postings custom object to the Applications custom object.



Which data type or collection of data types can SOQL statements populate or evaluate to? (Choose 3)


A.

A single sObject


B.

An integer


C.

A string


D.

A list of sObjects


E.

A Boolean





A.
  

A single sObject



B.
  

An integer



D.
  

A list of sObjects



How can a developer avoid exceeding governor limits when using Apex Triggers? (Choose 2)


A.

By using a helper class that can be invoked from multiple triggers


B.

By using Maps to hold data from query results


C.

By using the Database class to handle DML transactions


D.

By performing DML transactions on a list of sObjects.





B.
  

By using Maps to hold data from query results



D.
  

By performing DML transactions on a list of sObjects.



A Visual force page displays two fields named Phone Number and Email.User1 has access to Phone Number, but not to Email.User2 has access to Email, but not Phone NumberA developer needs to ensure that User1 can only see Phone Number, and User2 can only see Email.Which method can the developer use to achieve this?


A.

Schema isUpdateable() method.


B.

Schema isAccessible() method.


C.

Schema isReadable() method.


D.

Schema isCreateable() method.





B.
  

Schema isAccessible() method.



What is a valid source and destination pair that can send or receive change sets? (Choose 2)


A.

Developer Edition to Sandbox


B.

Sandbox to Production


C.

Sandbox to Sandbox


D.

Developer Edition to Production





B.
  

Sandbox to Production



C.
  

Sandbox to Sandbox



What is the accurate statement about with sharing keyword? choose 2 answers


A.

Inner class do not inherit the sharing setting from the container class


B.

Both inner and outer class can be declared as with sharing


C.

Either inner class or outer classes can be declared as with sharing but not both


D.

Inner class inherit the sharing setting from the container class





A.
  

Inner class do not inherit the sharing setting from the container class



B.
  

Both inner and outer class can be declared as with sharing



What would a developer do to update a picklist field on related Opportunity records when a modification to the associated Account record is detected?


A.

Create a process with Process Builder


B.

Create a workflow rule with a field update.


C.

Create a Lightning Component.


D.

Create a Visualforce page.





A.
  

Create a process with Process Builder



Which statement about the Lookup Relationship between a Custom Object and a Standard Object is correct?


A.

The Lookup Relationship on the Custom Object can prevent the deletion of the Standard Object.


B.

The Lookup Relationship cannot be marked as required on the page layout for the Custom Object.


C.

The Custom Object will be deleted when the referenced Standard Object is deleted.


D.

The Custom Object inherits security from the referenced Standard Objects





C.
  

The Custom Object will be deleted when the referenced Standard Object is deleted.



What should a developer working in a sandbox use to exercise a new test Class before the developer deploys that test production?Choose 2 answers


A.

The REST API and ApexTestRun method


B.

The Apex Test Execution page in Salesforce Setup.


C.

The Test menu in the Developer Console.


D.

The Run Tests page in Salesforce Setup.





B.
  

The Apex Test Execution page in Salesforce Setup.



C.
  

The Test menu in the Developer Console.




Page 9 out of 39 Pages
Previous