Valid CRT-450 Exam Q&A PDF CRT-450 Dump is Ready (Updated 364 Questions) [Q147-Q171]

Share

Valid CRT-450 Exam Q&A PDF CRT-450 Dump is Ready (Updated 364 Questions)

Exam Questions and Answers for  CRT-450 Study Guide


Overview about SALESFORCE CRT-450 Exam

  • Length of Examination: 110 minutes
  • Format: Multiple choice, multiple answer
  • Passing Score: 65%
  • Retake Fee : 100 USD
  • Registration Fee: 200 USD
  • Number of Questions: 60

 

NEW QUESTION 147
What are two features of Heroku Connect? Choose 2 answers

  • A. Displaying data from an external data store via External Objects.
  • B. Bidirectional syncs, allowing data to be written into Salesforce
  • C. Near Real Time Sync between Heroku Postgres and Salesforce
  • D. Real Time Sync between Salesforce and Postgres

Answer: B,C

 

NEW QUESTION 148
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 Lightning Component.
  • B. Create a process with Process Builder.
  • C. Create a workflow rule with a field update.
  • D. Create a Visualforce page.

Answer: B

 

NEW QUESTION 149
When loading data into an operation, what can a developer do to match records to update existing records? (Choose 2)

  • A. Match the Id field to a column in the imported file.
  • B. Match the Name field to a column in the imported file.
  • C. Match an auto-generated Number field to a column in the imported file.
  • D. Match an external Id Text field to a column in the imported file.

Answer: A,D

 

NEW QUESTION 150
A developer uses a loop to check each Contact in a list. When a Contact with the Title of 'Boss' is found, the Apex method should jump to the first line of code outside of the for loop.
Which Apex solution will let the developer implement this requirement?

  • A. return;
  • B. System.assert(false);
  • C. continue;
  • D. break;

Answer: D

 

NEW QUESTION 151
How can a developer refer to, or instantiate a PageReference in Apex? Choose 2 answers

  • A. By using a PageReference with a partial or full URL.
  • B. By using the PageReference.Page() method with a partial or full URL.
  • C. By using the Page object and a Visualforce page name.
  • D. By using the ApexPages.Page() method with a Visualforce page name.

Answer: A,C

 

NEW QUESTION 152
On a Visualforce page with a custom controller, how should a developer retrieve a record by using an ID that is passed on the URL?

  • A. Use the $Action.View method in the Visualforce page.
  • B. Use the tag in the Visualforce page.
  • C. Create a new PageReference object with the Id.
  • D. Use the constructor method for the controller.

Answer: D

 

NEW QUESTION 153
A developer needs to create an audit trail for records that are sent to the recycle bin.
Which type of trigger is most appropriate to create?

  • A. before undelete
  • B. after delete
  • C. after undelete
  • D. before delete

Answer: B

 

NEW QUESTION 154
To which primitive data type is a text area (rich) field automatically assigned?

  • A. String
  • B. Text
  • C. Blob
  • D. Object

Answer: A

 

NEW QUESTION 155
Why would a developer consider using a custom controller over a controller extension?

  • A. To implement all of the logic for a page and bypass default Salesforce functionality
  • B. To enforce user sharing settings and permissions
  • C. To leverage built-in functionality of a standard controller
  • D. To increase the SOQL query governor limits.

Answer: A

 

NEW QUESTION 156
A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard.
Which approach should the developer use to accomplish this declaratively?

  • A. An Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in a custom field
  • B. A Process Builder process that updates a field on the timecard when a timecard entry is created
  • C. A Visualforce page that calculates the total number of hours for a timecard and displays it on the page
  • D. A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard

Answer: D

 

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

  • A. They ca be used to transfer Contact records.
  • B. They can be used only between related organizations.
  • C. They use an all or none deployment model.
  • D. They can be used to deploy custom settings data.
  • E. They require a deployment connection.

Answer: B,C,E

 

NEW QUESTION 158
Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?

  • A. Developer Log
  • B. Asynchronous Data Capture Events
  • C. Event Monitoring Log
  • D. Calendar Events

Answer: C

Explanation:
Explanation

 

NEW QUESTION 159
What is the result of the debug statements in testMethod3 when you create test data using testSetup in below code?

  • A. Account0.Phone=888-1515, Account1.Phone=999-1515
  • B. Account0.Phone=333-8781, Account1.Phone=333-8780
  • C. Account0.Phone=333-8780, Account1.Phone=333-8781
  • D. Account0.Phone=888-1515, Account1.Phone=999-2525

Answer: C

 

NEW QUESTION 160
What is the maximum number of SOQL queries used by the following code?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

Answer: A

 

NEW QUESTION 161
Which action can a developer take to reduce the execution time of the following code? List<account> allaccounts = [select id from account]; list<account> allcontacts = [select id, accountid from contact]; for (account a :allaccounts){ for (contact c:allcontacts){ if(c.accountid = a.id){ //do work }
} }

  • A. Use a map <id,contact> for allaccounts
  • B. Put the account loop inside the contact loop
  • C. Add a group by clause to the contact SOQL
  • D. Create an apex helper class for the SOQL

Answer: A

 

NEW QUESTION 162
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 DML exception
  • C. A limit exception when doing a bulk update
  • D. A compile time exception

Answer: B

 

NEW QUESTION 163
What are two considerations for custom Apex Exception classes? Choose 2 answers.

  • A. Custom Exception class names must end with the word 'Exception'.
  • B. Custom Exceptions cannot be extended by other Exception classes.
  • C. Custom Exception classes must extend the base Exception class.
  • D. Constructor for custom Exceptions can only accept string values as arguments.

Answer: A,C

 

NEW QUESTION 164
How can a developer use a Set<Id> to limit the number of records returned by a SOQL query?

  • A. Pass the query results as an argument in a reference to the Set.containsAll() method.
  • B. Reference the Set in the WHERE clause of the query
  • C. Pass the Set as an argument in a reference to the Database.query() method
  • D. Reference the Set in the LIMIT clause of the query

Answer: B

 

NEW QUESTION 165
Which code segment can be used to control when the dowork() method is called?

  • A. For (Trigger.isInsert t: Trigger.new) { dowork(); }
  • B. For (Trigger.isRunning t: Trigger.new) { dowork(); }
  • C. If(Trigger.isRunning) dowork();
  • D. If(Trigger.isInsert) dowork();

Answer: D

 

NEW QUESTION 166
A developer is asked to create a custom visualforce page that will be used as a dashboard component. Which three are valid controller options for this page? Choose 3 answers

  • A. Use a standard controller
  • B. Use a standard controller with extensions
  • C. Do not specify a controller
  • D. Use a custom controller with extensions
  • E. Use a custom controller

Answer: A,B,E

 

NEW QUESTION 167
A developer has the following query: Contact c = [SELECT id, firstname, lastname, email FROM Contact WHERE lastname = 'Smith']; What does the query return if there is no Contact with the last name
'Smith'?

  • A. An empty List of Contacts.
  • B. An error that no rows are found.
  • C. A Contact with empty values.
  • D. A contact initialized to null.

Answer: B

 

NEW QUESTION 168
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: C

 

NEW QUESTION 169
An Apex transaction inserts 100 Account records and 2,000 Contact records before encountering a DML exception when attempting to insert 500 Opportunity records. The Account records are inserted by calling the database.insert() method with the allOrNone argument set to false. The Contact and Opportunity records are inserted using the standalone insert statement. How many total records will be committed to the database in this transaction?

  • A. 0
  • B. 1
  • C. 2
  • D. 3

Answer: B

 

NEW QUESTION 170
A developer created an Apex trigger using the Developer Console and now wants to debug codeHow can the developer accomplish this in the Developer Console?

  • A. Open the logs tab in the Developer Console.
  • B. Open the Progress tab in the Developer Console.
  • C. Select the Override Log Triggers checkbox for the trigger
  • D. Add the user name in the Log Inspector.

Answer: A

 

NEW QUESTION 171
......

Certification dumps - Salesforce Developers CRT-450 guides - 100% valid: https://www.testkingfree.com/Salesforce/CRT-450-practice-exam-dumps.html

100% Pass Your CRT-450 Salesforce Certified Platform Developer I at First Attempt with TestKingFree: https://drive.google.com/open?id=1vlUN5NqooOhZIK20fDN3cZHnUG9QcAq5