[Feb 14, 2022] Free Salesforce CRT-450 Exam Questions & Answer
Verified CRT-450 dumps Q&As Latest CRT-450 Download
Salesforce Certified Platform Developer CRT-450 Dumps will include below mentioned topics with Exam focused percentage
- Testing: 12%
- Logic and Process Automation: 46%
- Debug and Deployment Tools: 10%
NEW QUESTION 83
A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console:
Account myAccount = new Account(Name = 'MyAccount');Insert myAccount;For (Integer x = 0; x < 250; x++)
{Account newAccount = new Account (Name='MyAccount' + x);try {Insert newAccount;}catch (Exception ex) {System.debug (ex) ;}}insert new Account (Name='myAccount'); How many accounts are in the org after this code is run?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: A
NEW QUESTION 84
What are two uses for External IDs? (Choose two.)
- A. To create relationships between records imported from an external system.
- B. To create a record in a development environment with the same Salesforce ID as in another environment
- C. To identify the sObject type in Salesforce
- D. To prevent an import from creating duplicate records using Upsert
Answer: A,D
NEW QUESTION 85
A developer writes the following code:
What is the result of the debug statement?
- A. 2, 200
- B. 1, 150
- C. 1, 100
- D. 2, 150
Answer: D
NEW QUESTION 86
The Account object has a custom formula field,Level__c, that is defined as a Formula(Number) with two decimal places. Which three are valid assignments? Choose 3.
- A. Double myLevel = acct.Level__c;
- B. Decimal myLevel = acct.Level__c;
- C. Integer myLevel = acct.Level__c;
- D. Object myLevel = acct.Level__c;
- E. Long myLevel = acct.Level__c;
Answer: A,B,D
NEW QUESTION 87
A developer needs an Apex method that can process Account or Contact records.
Which method signature should the developer use?
- A. public void doWork(Account | | Contact)
- B. public void doWork(Account Contact)
- C. public void doWork(Record theRecord)
- D. public void doWork(sObject theRecord)
Answer: D
NEW QUESTION 88
A developer in a Salesforce org with 100 Accounts executes the following code using the Developer console:Account myAccount = new Account(Name = 'MyAccount');Insert myAccount;For (Integer x = 0; x < 150; x++)
{Account newAccount = new Account (Name='MyAccount' + x);try {Insert newAccount;} catch (Exception ex) {System.debug (ex) ;}}insert new Account (Name='myAccount');How many accounts are in the org after this code is run?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: A
NEW QUESTION 89
What is a benefit of the lightning component framework?
- A. Better integration with Force.com sites
- B. Better performance for custom Salesforce1 Mobile Apps
- C. More Centralized control via server-side logic
- D. More pre-built components to replicate the salesforce look and feel
Answer: D
NEW QUESTION 90
The account object has a custom percent field, rating, defined with a length of 2 with 0 decimal places.
An account record has the value of 50% in its rating field and is processed in the apex code below after being retrieved from the database with SOQL public void processaccount(){ decimal acctscore = acc.rating__c * 100; } what is the value of acctscore after this code executes?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: D
NEW QUESTION 91
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 tag in the Visualforce page.
- B. Use the constructor method for the controller.
- C. Create a new PageReference object with the Id.
- D. Use the $Action.View method in the Visualforce page.
Answer: B
NEW QUESTION 92
Universal Containers wants to back up all of the data and attachments in its Salesforce org once month.
Which approach should a developer use to meet this requirement?
- A. Use the Data Loader command line.
- B. Define a Data Export scheduled job.
- C. Schedule a report.
- D. Create a Schedulable Apex class.
Answer: B
NEW QUESTION 93
Which two sosl searches will return records matching search criteria contained in any of the searchable text fields on an object? choose 2 answers
- A. [find 'acme*'returning account,opportunity]
- B. [find 'acme*' in text fields returning account,opportunity]
- C. [find 'acme*'in all fields returning account,opportunity]
- D. [find 'acme*' in any fields returning account,opportunity]
Answer: C
NEW QUESTION 94
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 two.)
- A. Create a trigger on the Rating object that updates a fields on the Employee object.
- B. Create a roll-up summary field on the Employee and use AVG to calculate the average rating score.
- C. Create a master-detail relationship between the Rating and Employee objects.
- D. Create a lookup relationship between the Rating and Employee object.
Answer: B,C
NEW QUESTION 95
Which two platform features allow for the use of unsupported languages? Choose 2 answers
- A. App.json
- B. Heroku Acm
- C. Buildpacks
- D. Docker
Answer: C,D
NEW QUESTION 96
Which aspect of Apex programming is limited due to multitenancy?
- A. The number of active Apex classes
- B. The number of methods in an Apex class
- C. The number of records returned from database queries
- D. The number of records processed in a loop
Answer: C
Explanation:
Explanation/Reference:
NEW QUESTION 97
A Next Best Action strategy uses an Enchance Element that invokes an Apex method to determine a discount level for a Contact, based on a number of factors. What is the correct definition of the Apex method?
- A. @InvocableMethod
global static ListRecommendation getLevel(List<ContactWrapper> input)
{ /*implementation*/ } - B. @InvocableMethod
global List<List<Recommendation>> getLevel(List<ContactWrapper> input)
{ /*implementation*/ } - C. @InvocableMethod
global Recommendation getLevel (ContactWrapper input)
{ /*implementation*/ } - D. @InvocableMethod
global static List<List<Recommendation>> getLevel(List<ContactWrapper> input)
{ /*implementation*/ }
Answer: D
NEW QUESTION 98
What is the maximum number of SOQL queries used by the following code?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: C
NEW QUESTION 99
Which standard field is required when creating a new contact record?
- A. Name
- B. FirstName
- C. LastName
- D. AccountId
Answer: C
NEW QUESTION 100
A developer is notified that a text field is being automatically populated with invalid values.however, this should be prevented by a custom validation rule that is in placewhat could be causing this?
- A. The user belongs to a permission set that suppresses the validation rule
- B. The field is being populated by a before trigger
- C. The field is being populated by a workflow field update
- D. A DML exception is occuring during the save order of execution
Answer: C
NEW QUESTION 101
A developer has the controller class below.
Which code block will run successfully in an execute anonymous window?
myFooController m = new myFooController();
- A. System.assert(m.prop ==0);
myFooController m = new myFooController(); - B. System.assert(m.prop ==null);
myFooController m = new myFooController(); - C. System.assert(m.prop ==1);
- D. System.assert(m.prop !=null);
myFooController m = new myFooController();
Answer: B
Explanation:
Explanation
NEW QUESTION 102
What should a developer use to implement an automate approval process submission for case?
- A. Scheduled apex.
- B. An assignment rules.
- C. A workflow rules.
- D. Process builder.
Answer: D
NEW QUESTION 103
What should a developer working in a sandbox use to exercise a new test Class before the developer deploys that test production?Choose 2 answers
- A. The Run Tests page in Salesforce Setup.
- B. The Apex Test Execution page in Salesforce Setup.
- C. The Test menu in the Developer Console.
- D. The REST API and ApexTestRun method
Answer: B,C
NEW QUESTION 104
When creating unit tests in Apex, which statement is accurate?Choose 2
- A. System Assert statements that do not Increase code coverage contribute important feedback in unit tests
- B. Triggers do not require any unit tests in order to deploy them from sandbox to production.
- C. Unit tests with multiple methods result in all methods failing every time one method fails.
- D. Increased test coverage requires large test classes with many lines of code in one method.
Answer: A,D
NEW QUESTION 105
How should a developer create a new custom exception class?
- A. CustomException ex = new (CustomException)Exception();
- B. public class CustomException implements Exception{}
- C. public class CustomException extends Exception{}
- D. (Exception)CustomException ex = new Exception();
Answer: C
Explanation:
Explanation/Reference:
NEW QUESTION 106
Which statement is true about developing in a multi-tenant environment?
- A. Governor limits prevent Apex from impacting the performance of multiple tenants on the same instance.
- B. Org-level data security controls which users can see data from multiple tenants on the same instance.
- C. Global Apex classes can be referenced from multiple tenants on the same instance.
- D. Apex Sharing controls access to records from multiple tenants on the same instance.
Answer: A
NEW QUESTION 107
Which approach should a developer use to add pagination to a Visualforce page?
- A. The Action attribute for a page
- B. The extensions attribute for a page
- C. A StandardController
- D. A StandardSetController
Answer: D
NEW QUESTION 108
......
Salesforce CRT-450 Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
Use Real Dumps - 100% Free CRT-450 Exam Dumps: https://www.actualcollection.com/CRT-450-exam-questions.html
Updated 100% Cover Real CRT-450 Exam Questions - 100% Pass Guarantee: https://drive.google.com/open?id=1hu57AxLgvylwf-DgNvaFXWwbcP5n2EWx