
[Oct-2021] Pass Salesforce CRT-450 Exam in First Attempt Guaranteed!
Full CRT-450 Practice Test and 364 unique questions with explanations waiting just for you, get it now!
NEW QUESTION 24
What is a capability of the Force.com IDE? Choose 2 answers
- A. Run Apex tests.
- B. Roll back deployments.
- C. Download debug logs.
- D. Edit metadata components.
Answer: A,D
NEW QUESTION 25
A developer wants to display all of the picklist entries for the Opportunity StageName field and all of the available record types for the Opportunity object on a Visualforce page. Which two actions should the developer perform to get the available picklist values and record types in the controller? Choose 2 answers.
- A. Use Schema.PicklistEntry returned by Opportunity.SObjectType.getDescribe().getPicklistValues().
- B. Use Schema.PicklistEntry returned by Opportunity.StageName.getDescribe().getPicklistValues().
- C. Use Schema.RecordTypeInfo returned by RecordType.SObjectType.getDescribe().getRecordTypeInfos().
- D. Use Schema.RecordTypeInfo returned by Opportunity.SObjectType.getDescribe().getRecordTypeInfos().
Answer: A,D
NEW QUESTION 26
A developer created a visualforce page using a custom controller that calls an apex helper class. A method in the helper class hits a governor limit. what is the result of the transaction?
- A. All changes in the transaction are rolled back
- B. The custom controller calls the helper class method ag
- C. All changes made by the custom controller are saved
- D. The helper class creates a savepoint and continues
Answer: C
NEW QUESTION 27
What is an important consideration when developing in a multi-tenant environment?
- A. Unique domain names take the place of namespaces for code developed for multiple orgs on multiple instances.
- B. Polyglot persistence provides support for a global, multilingual user base in multiple orgs on multiple instances.
- C. Org-wide data security determines whether other tenants can see data in multiple orgs on the same instance.
- D. Governor limits prevent tenants from impacting performance in multiple orgs on the same instance.
Answer: D
NEW QUESTION 28
A Visual Flow uses an apex Action to provide additional information about multiple Contacts, stored in a custom class, contactInfo. Which is the correct definition of the Apex method that gets additional information?
- A. @InvocableMethod(label='additional Info')
public static ContactInfo getInfo(Id contactId)
{ /*implementation*/ } - B. @invocableMethod(label)='Additional Info')
public static List<ContactInfo> getInfo(List<Id> contactIds)
{ /*Implementation*/ } - C. @InvocableMethod(Label='additional Info')
public ContactInfo(Id contactId)
{ /*implementation*/ } - D. @InvocableMethod(label='Additional Info')
public List<ContactInfo> getInfo(List<Id> contactIds)
{ /*implementation*/ }
Answer: B
NEW QUESTION 29
Which requirement needs to be implemented by using standard workflow instead of Process Builder? Choose
2 answers
- A. Send an outbound message without Apex code.
- B. Copy an account address to its contacts.
- C. Create activities at multiple intervals.
- D. Submit a contract for approval.
Answer: A,B
NEW QUESTION 30
A developer must create an Apex class, ContactController, that a Lightning component can use to search for Contact records. Users of the Lightning component should only be able to search for Contact records to which they have access.
Which two will restrict the records correctly? (Choose two.)
- A. public with sharing class ContactController
- B. public without sharing class ContactController
- C. public class ContactController
- D. public inherited sharing class ContactController
Answer: A,D
NEW QUESTION 31
Which is a valid Apex assignment?
- A. Double x =5;
- B. Integer x=5*1.0;
- C. Float x =5.0;
- D. Integer x =5.0;
Answer: A
NEW QUESTION 32
What is the return data type when ApexPages.currentPage().getParameters() is used to retrieve URL parameters from a visualforce controller?
- A. List
- B. String[]
- C. Enum
- D. Map
Answer: D
NEW QUESTION 33
A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type.
Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)
- A. Execute a SOQL query on the RecordType object.
- B. Hardcode the ID as a constant in an Apex class.
- C. Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class.
- D. Make an outbound web services call to the SOAP API.
Answer: A,C
Explanation:
Explanation
NEW QUESTION 34
How many levels of child records can be returned in a single SOQL query from one parent object?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: C
NEW QUESTION 35
In a single record, a user selects multiple values from a multi-select picklist. How are the selected values represented in Apex?
- A. As a List with each value as an element in the list Previous
- B. As a String with each value separated by a semicolon
- C. As a String with each value separated by a comma
- D. As a Set with each value as an element in the set
Answer: B
NEW QUESTION 36
When loading data into an operation, what can a developer do to match records to update existing records?
(Choose 2)
- A. Match an auto-generated Number field to a column in the imported file.
- B. Match the Id field to a column in the imported file.
- C. Match the Name field to a column in the imported file.
- D. Match an external Id Text field to a column in the imported file.
Answer: B,D
NEW QUESTION 37
A developer executes the following code in the Developer Console:
List<Account> fList = new List <Account> ();For(integer i= 1; I <= 200; i++){fList.add(new Account ( Name
= 'Universal Account ' + i));}Insert fList;List <Account> sList = new List<Account>();For (integer I = 201; I
<
20000; i ++){sList.add(new Account (Name = 'Universal Account ' + i));}Insert sList;How many accounts are created in the Salesforce organization ?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: A
NEW QUESTION 38
What is the requirement for a class to be used as a custom Visualforce controller?
- A. Any top-level Apex class that has a constructor that returns a PageReference
- B. Any top-level Apex class that has a default, no-argument constructor
- C. Any top-level Apex class that extends a PageReference
- D. Any top-level Apex class that implements the controller interface
Answer: D
Explanation:
Explanation/Reference:
NEW QUESTION 39
......
Prepare for your Salesforce certification with the updated ITExamDownload CRT-450 exam questions: https://drive.google.com/open?id=1NTSfZR4_PBF9KsCoeKXUlMnpyxsl0x2z
Get Latest CRT-450 Dumps Exam Questions in here: https://www.itexamdownload.com/CRT-450-valid-questions.html