CRT-450 Practice Test Questions

387 Questions


Topic 2 : Exam Pool B

Which statement about change set deployments is accurate? (Choose 3)


A.

They use an all or none deployment model.


B.

They require a deployment connection.


C.

They ca be used to transfer Contact records.


D.

They can be used to deploy custom settings data.


E.

They can be used only between related organizations.





A.
  

They use an all or none deployment model.



B.
  

They require a deployment connection.



E.
  

They can be used only between related organizations.



A company would like to send an offer letter to a candidate, have the candidate sign it electronically, and then send the letter back.What can a developer do to accomplish this?


A.

Create a visual workflow that will capture the candidate’s signature electronically


B.

Develop a Process Builder that will send the offer letter and allow the candidate to sign it electronically.


C.

Install a managed package that will allow the candidate to sign documents electronically


D.

Create an assignment rule that will assign the offer letter to the candidate





C.
  

Install a managed package that will allow the candidate to sign documents electronically



Given the code block: Integer x; For(x=0;x<10; x+=2) { If(x==8) break; If(x==10) break; } System.debug(x);
Which value will the system debug statement display?


A.

2


B.

10


C.

8


D.

4





E.
  

A developer creates a custom controller and custom Visualforce page by using the following code block:public class myController {public String myString;public String getMyString() {return 'getmyString';}public String getStringMethod1() {return myString;}public String getStringMethod2() {if (myString == null)myString =
'Method2';return myString;}}{!myString}, {!StringMethod1}, {!StringMethod2}, {!myString}What does the
user see when accessing the custom page?


A.

GetMyString , , Method2 , getMystring


B.

, , Method2 , getMyString


C.

, , Method2,


D.

GetMyString , , ,





A.
  

GetMyString , , Method2 , getMystring



Why would a developer use Test. startTest( ) and Test.stopTest( )?


A.

To avoid Apex code coverage requirements for the code between these lines


B.

To start and stop anonymous block execution when executing anonymous Apex code


C.

To indicate test code so that it does not Impact Apex line count governor limits.


D.

To create an additional set of governor limits during the execution of a single test class.





D.
  

To create an additional set of governor limits during the execution of a single test class.



In which order does SalesForce execute events upon saving a record?


A.

Before Triggers; Validation Rules; After Triggers; Assignment Rules; Workflow Rules; Commit


B.

Validation Rules; Before Triggers; After Triggers; Workflow Rules; Assignment Rules; Commit


C.

Before Triggers; Validation Rules; After Triggers; Workflow Rules; Assignment Rules; Commit


D.

Validation Rules; Before Triggers; After Triggers; Assignment Rules; Workflow Rules; Commit





A.
  

Before Triggers; Validation Rules; After Triggers; Assignment Rules; Workflow Rules; Commit



What is true for a partial sandbox that is not true for a full sandbox? Choose 2 answers:


A.

More frequent refreshes.


B.

Only Includes necessary metadata.


C.

Use of change sets.


D.

Limited to 5 GB of data.





A.
  

More frequent refreshes.



D.
  

Limited to 5 GB of data.



What is the result of the following code block ?
Integer x = 1;Integer Y = 0;While(x < 10){Y++;}


A.

An error occurs


B.

Y = 9


C.

Y = 10


D.

X = 0





A.
  

An error occurs



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.




Page 7 out of 33 Pages
Previous