[Q93-Q109] Certification Training for CRT-450 Exam Dumps Test Engine [2021]

Share

Certification Training for CRT-450 Exam Dumps Test Engine [2021]

Nov 04, 2021 Step by Step Guide to Prepare for CRT-450 Exam

NEW QUESTION 93
A developer has JavaScript code that needs to be called by controller functions in multiple Aura components by extending a new abstract component.
Which resource in the abstract Aura component bundle allows the developer to achieve this?

  • A. superRender.js
  • B. renderer.js
  • C. controllers
  • D. helper.js

Answer: D

 

NEW QUESTION 94
A developer runs the following anonymous code block in a Salesforce org with 100 accounts List acc= {select id from account limit 10}; delete acc; database.emptyrecyclebin(acc); system.debug(limits.getlimitqueries()+'
,'+Limits.getlimitDMLStatements()); What is the debug output?

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

Answer: B

 

NEW QUESTION 95
Which type of code represents the Model in the MVC architecture on the Force.com platform?

  • A. Custom JavaScript that processes a list of Account records.
  • B. A Controller Extension method that uses SOQL to query for a list of Account records
  • C. A list of Account records returned from a Controller Extension method
  • D. A Controller Extension method that saves a list of Account records

Answer: C

 

NEW QUESTION 96
How can a developer set up a debug log on a specific user?

  • A. Set up a trace flag for the user, and define a logging level and time period for the trace.
  • B. It is not possible to setup debug logs for users other than yourself.
  • C. Create Apex code that logs code actions into a custom object.
  • D. Ask the user for access to their account credentials, log in as the user and debug the issue.

Answer: A

 

NEW QUESTION 97
A company wants to create an employee rating program that allows employees to rate each other. An employee's average rating must be displayed on the employee record. Employees must be able to create rating records, but are not allowed to create employee records. Which two actions should a developer take to accomplish this task? choose 2 answers

  • A. Create a lookup realntionship beteween the rating and employee object
  • B. Create a roll-up sumary field on the employee and use avg to calculate the average rating score
  • C. Create a trigger on the rating object that updates a field on the employee object
  • D. Create a master-detail relanstionship between the rating and employee object

Answer: B,D

 

NEW QUESTION 98
Which set of roll-up types are available when creating a roll-up summary field?

  • A. AVRAGE, COUNT, SUM, MIN, MAX
  • B. SUM, MIN, MAX
  • C. AVERAGE, SUM, MIN, MAX
  • D. COUNT, SUM, MIN, MAX

Answer: D

 

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

 

NEW QUESTION 100
What is the preferred way to reference web content such as images, style sheets, JavaScript, and other libraries that is used in Visualforce pages?

  • A. By uploading the content in the Documents tab.
  • B. By accessing the content from Chatter Files.
  • C. By uploading the content as a Static Resource.
  • D. By accessing the content from a third -party CON.

Answer: C

 

NEW QUESTION 101
What is a characteristic of the Lightning Component Framework? Choose 2 answers:

  • A. It has an event-driven architecture.
  • B. It works with existing Visualforce pages.
  • C. It includes responsive components.
  • D. It uses XML as its data format.

Answer: A,C

 

NEW QUESTION 102
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. before delete
  • C. after delete
  • D. after undelete

Answer: C

 

NEW QUESTION 103
Universal Containers (UC) uses a custom object called Vendor. The Vendor custom object has a Master- Detail relationship with the standard Account object. Based on some internal discussion, the UC administrator tried to change the Master-Detail relationship to a Lookup relationship but was not able todo so. What is apossible reason that this change was not permitted?

  • A. The Vendor records have existing values in the Account object.
  • B. The Account records contain Vendor roll-up summary fields.
  • C. The Vendor object must use a Master-Detail field for reporting.
  • D. The Account object is included on a workflow on the Vendor object.

Answer: B

 

NEW QUESTION 104
A visualforce interface is created for Case Management that includes both standard and custom functionality defined in an Apex class called myControllerExtension. The visualforce page should include which <apex:page> attribute(s) to correctly implement controller functionality?

  • A. Extensions=" myControllerExtension"
  • B. Controller = "case" and extensions =" myControllerExtension"
  • C. StandardController = "case" and extensions =" myControllerExtension"
  • D. Controller=" myControllerExtension"

Answer: C

 

NEW QUESTION 105
What is the easiest way to verify a user before showing them sensitive content?

  • A. Calling the generateVerificationUrl method in apex.
  • B. Calling the Session.forcedLoginUrl method in apex.
  • C. Sending the user a SMS message with a passcode.
  • D. Sending the user an Email message with a passcode.

Answer: A

 

NEW QUESTION 106
A developer has an integer variable called maxAttempts. The developer meeds to ensure that once maxAttempts is initialized, it preserves its value for the lenght of the Apex transaction; while being able to share the variable's state between trigger executions. How should the developer declare maxAttempts to meet these requirements?

  • A. Declare maxattempts as a private static variable on a helper class
  • B. Declare maxattempts as a variable on a helper class
  • C. Declare maxattempts as a member variable on the trigger definition.
  • D. Declare maxattempts as a constant using the static and final keywords

Answer: D

 

NEW QUESTION 107
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 108
How should a developer create a new custom exception class?

  • A. public class CustomException extends Exception{}
  • B. public class CustomException implements Exception{}
  • C. (Exception)CustomException ex = new Exception();
  • D. CustomException ex = new (CustomException)Exception();

Answer: A

 

NEW QUESTION 109
......

Ultimate Guide to Prepare CRT-450 Certification Exam for Salesforce Developers: https://www.validbraindumps.com/CRT-450-exam-prep.html

Salesforce Developers CRT-450 Real Exam Questions and Answers FREE Updated: https://drive.google.com/open?id=1JbX3SfaLeAWw5yEAgQfAUS7Vs_MIltER