
[Sep 19, 2021] CRT-450 Ultimate Study Guide - Exam4Free
Ultimate Guide to Prepare CRT-450 Certification Exam for Salesforce Developers in 2021
NEW QUESTION 81
A change set deployment from a sandbox to production fails due to a failure in a managed package unit test.
The developer spoke with the manager package owner and they determined it is a false positive and can be ignored. What should the developer do to successfully deploy?
- A. Select 'Run local tests' to run only the tests that are in the change set.
- B. Edit the managed package's unit test.
- C. Select 'Run local tests' to run all tests in the org that are not in the managed package.
- D. Select 'Fast Deploy' to run only the tests that are in the change set.
Answer: C
NEW QUESTION 82
A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes.
How should the developer design the Apex classes?
- A. Extend each class from the same base class that has a method getTextSummary() that returns the summary.
- B. Have each class define method getObject() that returns the sObject that is controlled by the Apex class.
- C. Have each class implement an interface that defines method getTextSummary() that returns the summary.
- D. Have each class define method getTextSummary() that returns the summary.
Answer: C
NEW QUESTION 83
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 84
Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records. which Visualforce feature supports this requirement?
- A. RecordSetVar page attribute
- B. <apex:listButton> tag
- C. Custom controller
- D. Controller extension
Answer: A
NEW QUESTION 85
Which two practices should be used for processing records in a trigger? Choose 2 answers
- A. Use a Map to reduce the number of SOQL calls
- B. Use @future methods to handle DML operations.
- C. Use (callout=true) to update an external system
- D. Use a Set to ensure unique values in a query filter
Answer: A,D
NEW QUESTION 86
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
Explanation:
Explanation/Reference:
NEW QUESTION 87
Which three statements are true regarding cross-object formulas? Choose 3 answers
- A. Cross-object formulas can reference fields from objects that are up to 10 relantionship away
- B. Cross-object formulas can reference child fields to perform an average
- C. Cross-object formulas can expose data the user does not have access to in a record
- D. Cross-object formulas can reference fields from master-detail or lookup relantionships
- E. Cross-object formulas can be referenced in roll-up summary field
Answer: A,C,D
NEW QUESTION 88
Where can the custom roll-up summary fields be created using Standard Object relationships (Choose 3)
- A. On Account using Opportunity records.
- B. On Campaign using Campaign Member records.
- C. On Opportunity using Opportunity Product records.
- D. On Quote using Order records.
- E. On Account using Case records.
Answer: A,B,C
NEW QUESTION 89
A developer tasked with creating a schema to track Movies, Actors, and contracts. A single movie can have many contracts and a single actor can have many contracts. Each contract is owned and actively managed by a single user. Which schema should be created to enable user to easily manage the contract they own; without requiring access to the movie or the actor records?
- A. A master detail relationship to the movie object and a lookup relationship to the actor object
- B. A lookup relationship to the movie object and a master detail relationship to the actor object
- C. A lookup relationship to the movie object and a lookup relationship to the actor object
- D. A master detail relationship to the movie object and a master detail relationship to the actor object
Answer: C
NEW QUESTION 90
How should a developer avoid hitting the governor limits in test methods?
- A. Use Test.loadData()to load data from a static resource.
- B. Use Test.startTest()to reset governor limits.
- C. Use @TestVisibleon methods that create records.
- D. Use @IsTest (SeeAllData=true)to use existing data.
Answer: B
NEW QUESTION 91
The Sales Management team hires a new intern. The intern is not allowed to view Opportunities, but needs to see the Most Recent Closed Date of all child Opportunities when viewing an Account record. What would a developer do to meet this requirement?
- A. Create a trigger on the Account object that queries the Close Date of the most recent Opportunities.
- B. Create a roll-up summary field on the Account object that performs a MAX on the Opportunity Close Date field.
- C. Create a Workflow rule on the Opportunity object that updates a field on the parent Account.
- D. Create a formula field on the Account object that performs a MAX on the Opportunity Close Date field.
Answer: B
NEW QUESTION 92
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 undelete
- C. After delete
- D. Before delete
Answer: B
NEW QUESTION 93
Which two approaches optimize test maintenance and support future declarative configuration changes? Choose 2 answers.
- A. Create a method that queries for valid records, then call this method within test methods.
- B. Create a method that performs a callout for valid records, then call this method within test methods.
- C. Create a method that creates valid records,then call this method within test methods.
- D. Create a methods that loads valid Account records from a static resources, then call this method within test methods.
Answer: C,D
NEW QUESTION 94
Using DescribeSObjectResult, which Apex method can a developer use to determine if the current user can edit records for an object?
- A. isEditable()
- B. isUpdateable()
- C. canEdit()
- D. canUpdate()
Answer: B
NEW QUESTION 95
Which two automation tools include a graphical designer? Choose 2 answers
- A. Process builder
- B. Flow builder
- C. Workflows
- D. Approvals
Answer: B,D
NEW QUESTION 96
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. 2,100
- B. 2,000
- C. 0
- D. 1
Answer: C
NEW QUESTION 97
Candidates are reviewed by four separate reviewers and their comments and scores which range from 1 (lowest) to 5 (highest) are stored on a review record that is a detail record for a candidate what is the best way to indicate that a combined review score of 15 of better is required to recommend that the candidate come in for an interview?
- A. Use a rollup summary field to calculates the sum of the review scores, and store this in a total score field on the candidate
- B. Use a workflow rule to calculate the sum of the review scores and send an email to the hiring manager when the total is 15 or better
- C. Use visual workflow to set a recommended field on the candidate whenever the cumulative review score is 15 or better
- D. Use a validation rule on a total score field on the candidate record that prevents a recommended field from being true if the total score is less than 15
Answer: B
NEW QUESTION 98
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 99
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 100
When an Account's custom picklist field called Customer Sentiment is changed to a value of "Confused", a new related Case should automatically be created.
Which two methods should a developer use to create this case? (Choose two.)
- A. Workflow Rule
- B. Apex Trigger
- C. Process Builder
- D. Custom Button
Answer: B,C
NEW QUESTION 101
......
Salesforce Developers Fundamentals-CRT-450 Exam-Practice-Dumps: https://www.exam4free.com/CRT-450-valid-dumps.html
Use Real CRT-450 Dumps - Salesforce Correct Answers: https://drive.google.com/open?id=1hnaBeONQZTPPnUHuqYA7Ttqt7htJijBh
