[Oct 14, 2021] CRT-450 Dumps Full Questions - Exam Study Guide [Q71-Q86]

Share

[Oct 14, 2021] CRT-450 Dumps Full Questions - Exam Study Guide

Salesforce Developers  Free Certification Exam Material from Actualtests4sure with 364 Questions

NEW QUESTION 71
A developer writes the following code:

What is the result of the debug statement?

  • A. 1, 150
  • B. 1, 100
  • C. 2, 150
  • D. 2, 200

Answer: C

 

NEW QUESTION 72
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 deploy components between two organizations
  • C. To create components for dashboards and layouts
  • D. To modify the page layout settings for a custom object

Answer: A,C

 

NEW QUESTION 73
What are two valid options for iterating through each Account in the collection List <Account> named AccountList? Choose 2 answers.

  • A. For (Integer i=0; i<AccountList. Size();i++){...}
  • B. For (Account theAccount : AccountList){...}
  • C. For (List L : AccountList) {...}
  • D. For(AccountList){...}

Answer: A,B

 

NEW QUESTION 74
Which governor limit applies to all the code in an apex transaction?

  • A. Elapsed SOQL query time
  • B. Number of classes called
  • C. Number of new records created
  • D. Elapsed CPU time

Answer: D

 

NEW QUESTION 75
What is the advantage of Salesforce Lightning?

  • A. Option 3
  • B. Pre-defined components to give Standard Look and Feel
  • C. Uses service side for better handling
  • D. Option 4

Answer: B

 

NEW QUESTION 76
A developer must provide a custom user interface when users edit a Contact. Users must be able to use the interface in Salesforce Classic and Lightning Experience. What should the developer do to provide the custom user interface?

  • A. Override the Contact's Edit button with a Visualforce page in Salesforce Classic and a Lightning page in Lightning experience.
  • B. Override the Contact's Edit button with a Visualforce page in Salesforce Classic and a Lightning component in Lightning Experience.
  • C. Override the Contact's Edit button with a Lightning component in Salesforce Classic and a Lightning component in Lightning experience.
  • D. Override the Contact's Edit button with a Lightning page Salesforce Classic and a Visualforce page in Lightning Experience.

Answer: B

 

NEW QUESTION 77
Which statement would a developer use when creating test data for products and pricebooks?

  • A. Id pricebookId = Test.getStandardPricebookId();
  • B. List objList = Test.loadData(Account.sObjectType, 'myResource');
  • C. IsTest(SeeAllData = false);
  • D. Pricebook pb = new Pricebook();

Answer: A

 

NEW QUESTION 78
A developer needs to find information about @future methods that were invoked. From which system monitoring feature can the developer see this information?

  • A. Scheduled jobs
  • B. Asynchronous Jobs
  • C. Background Jobs
  • D. Apex Jobs

Answer: D

 

NEW QUESTION 79
Which type of controller should a developer use to include a list of related records for a Custom Object record on a Visualforce page without needing additional test coverage?

  • A. Custom Controller
  • B. Standard Controller
  • C. List Controller
  • D. Controller Extension

Answer: B

 

NEW QUESTION 80
A developer is creating a Visualforce page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default Opportunity record type, and set certain default values based on the record type before inserting the record. How can the developer find the current user's default record type?

  • A. Create the opportunity and check the opportunity.recordType before inserting, which will have the record ID of the current user's default record type
  • B. Query the Profile where the ID equals userInfo.getProfileID() and then use the profile.Opportunity.getDefaultRecordType() method.
  • C. Use the Schema.userInfo.Opportunity.getDefaultRecordType() method.
  • D. Use Opportunity.SObjectType.getDescribe().getRecordTypeInfos() to get a list of record types, and iterate trought them until isdefaultRecordTypeMapping() is true.

Answer: D

 

NEW QUESTION 81
In the code below, which type does String inherit from? String s = 'Hello World';

  • A. Class
  • B. Prototype
  • C. Object
  • D. Object

Answer: C

 

NEW QUESTION 82
Which two declarative process automation features can be directly invoked when a field value changes on a record? (Choose two.)

  • A. Process Builder processes
  • B. Validation rules
  • C. Workflow rules
  • D. Cloud Flow Designer flows

Answer: A,C

 

NEW QUESTION 83
When a user edits the Postal Code on an Account, a custom Account text field named "Timezone" must be update based on the values in a PostalCodeToTimezone__c custom object. How should a developer implement this feature?

  • A. Build an Account Workflow Rule.
  • B. Build an account Approval Process
  • C. Build an Account custom Trigger.
  • D. Build an Account Assignment Rule.

Answer: C

 

NEW QUESTION 84
Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package application. One of the application modules allows the user to calculate body fat using the apex class, Bodyfat, and its method, calculateBodyfat(). The product owner wants to ensure this method is accessible by the consumer of the application when developing customizer outside the ISV's package namespace. Which approach should a developer take to ensure calculateBodyFat() is accessible outside the package namespace?

  • A. Declare the class and method using the global access modifier.
  • B. Declare the class as public and use the global access modifier on the method.
  • C. Declare the class as public and use the public access modifier on the method.
  • D. Declare the class and method using the public access modifier.

Answer: A

 

NEW QUESTION 85
A lead object has a custom field Prior_Email__c. The following trigger is intended to copy the current Email into the Prior_Email__c field any time the Email field is changed:

Which type of exception will this trigger cause?

  • A. A null reference exception
  • B. A compile time exception
  • C. A DML exception
  • D. A limit exception when doing a bulk update

Answer: C

 

NEW QUESTION 86
......

Dumps Brief Outline Of The CRT-450 Exam: https://www.actualtests4sure.com/CRT-450-test-questions.html

Use Real CRT-450 - 100% Cover Real Exam Questions: https://drive.google.com/open?id=1xT5Sx-QWDX7co_g8GgobjvKaTfxGmRCv