CRT-450 Practice Test Questions Answers Updated 364 Questions
CRT-450 dumps & Salesforce Developers Sure Practice with 364 Questions
Overview about SALESFORCE CRT-450 Exam
- Passing Score: 65%
- Retake Fee : 100 USD
- Registration Fee: 200 USD
- Format: Multiple choice, multiple answer
- Length of Examination: 110 minutes
NEW QUESTION 49
In which three areas can a Lightning component be used in the Lightning Experience? (Choose three.)
- A. Lightning Community Page
- B. Lightning Home page
- C. Lightning Report page
- D. Lightning Connect page
- E. Lightning Record Page
Answer: A,B,E
Explanation:
Explanation
NEW QUESTION 50
How can a developer check the test coverage of active Process Builder and Flows deploying them in a Changing Set?
- A. Use SOQL and the Tooling API
- B. Use the Flow properties page.
- C. Use the Apex testresult class
- D. Use the code Coverage Setup page
Answer: A
NEW QUESTION 51
A developer writes the following code:
What is the result of the debug statement?
- A. 1, 100
- B. 2, 150
- C. 1, 150
- D. 2, 200
Answer: B
NEW QUESTION 52
A platform developer at Universal Containers needs to create a custom button for the Account object that, when clicked, will perform a series of calculations and redirect the user to a custom Visualforce page.
Which three attributes need to be defined with values in the <apex:page> tag to accomplish this?
(Choose three.)
- A. action
- B. readOnly
- C. renderAs
- D. extensions
- E. standardController
Answer: A,C,E
NEW QUESTION 53
A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown.
Which step should the developer take to resolve the issue and properly test the exception?
- A. Use the database methods with all or none set to FALSE.
- B. Use the finally bloc within the unit test to populate the exception.
- C. Use Test.isRunningTest() within the custom controller.
- D. Use try/catch within the unit test to catch the exception.
Answer: D
NEW QUESTION 54
Which two platform features align to the Controller portion of MVC architecture? (Choose two.)
- A. Process Builder actions
- B. Date fields
- C. Workflow rules
- D. Standard objects
Answer: A,C
NEW QUESTION 55
Which two condition cause workflow rules to fire? Choose 2 answers
- A. An Apex batch process that changes field values
- B. Updating record using bulk API
- C. Converting leads to person account
- D. Changing territory assignments of accounts and opportunities
Answer: A,B
NEW QUESTION 56
Which two are best practices when it comes to component and application event handling? (Choose two.)
- A. Reuse the event logic in a component bundle, by putting the logic in the helper.
- B. Handle low-level events in the event handler and re-fire them as higher-level events.
- C. Use component events to communicate actions that should be handled at the application level.
- D. Try to use application events as opposed to component events.
Answer: A,B
NEW QUESTION 57
An org has an existing Visual Flow that creates an Opportunity with an Update records element. A developer must update the Visual Flow also created a Contact and store the created Contact's ID on the Opportunity.
- A. Add a new Update records element
- B. Add a new Get Records element.
- C. Add a new Quick Action (of type create) element.
- D. Add a new Create records element.
Answer: D
NEW QUESTION 58
A developer uses a before insert trigger on the Lead object to fetch the Territory__c object, where the Territory__c.PostalCode__c matches the Lead.PostalCode. The code fails when the developer uses the Apex Data Loader to insert 10,000 Lead records. The developer has the following code block: Line-01: for (Lead l : Trigger.new){Line-02: if (l.PostalCode != null) {Line-03: List<Territory__c> terrList = [SELECT Id FROM Territory__c WHERE PostalCode__c = :l.PostalCode];Line-04: if(terrList.size() > 0) Line-05: l.Territory__c = terrList[0].Id; Line-06: }Line-07: }Which line of code is causing the code block to fail?
- A. Line-03: A SOQL query is located inside of the for loop code.
- B. Line-05: The Lead in a before insert trigger cannot be updated.
- C. Line-02: A NullPointer exception is thrown if PostalCode is null.
- D. Line-01: Trigger:new is not valid in a before insert Trigger.
Answer: A
NEW QUESTION 59
Which two SOSL searches will returns records matching search criteria contained in any of the searchable texts fields on an object? Choose 2 answers
- A. [FIND 'Acme*' IN ANY FIELDS RETURNING Account,Opportunity];
- B. [FIND 'Acme*' RETURNING Account,Opportunity];
- C. [FIND 'Acme*' IN ALL FIELDS RETURNING Account,Opportunity];
- D. [FIND 'Acme*' IN TEXT FIELDS RETURNING Account,Opportunity];
Answer: B,C
NEW QUESTION 60
A developer created a helper class with a method that can be called from Visualforce pages, web services, triggers, and of even anonymous code. When the method is called from a trigger, the developer needs to execute logic that should notbe executed If the method Is called from anywhere else. How can the developer determine if the code Is executed in a trigger context?
- A. Check if System.executionContext =='Trigger'.
- B. Check if Trigger.newMap !=null.
- C. Checkif Trigger.isExecuting ==true
- D. Use the executeOnTrigger annotation on the method definition.
Answer: C
NEW QUESTION 61
AW Computing tracks order information in custom objects called order__c and order_Line_ c - Currently, all shipping information is stored in the order__c object.
The company wants to expand Its order application to support split shipments so that any number of order_Line__c records on a single order__c can be shipped to different locations.
What should a developer add to fulfill this requirement?
- A. Order_shipment_Group_c object and master-detail field on order_shipment_Group_c
- B. Order_shipment_Group_c object and master-detail field on order_c
- C. Order_shipment_Group_c object and master-detail field on order_Line_c
- D. Order_shipment_Group_c object and master-detail field to order_c and Order Line_c
Answer: D
NEW QUESTION 62
A developer wants to retrieve the Contacts and Users with the email addres '[email protected]'. Which SOSL statement should the developer use?
- A. FIND {Email = '[email protected]'} RETURNING Contact (Email), User (Email)
- B. FIND Email IN Contact, User FOR {dev2uc.com}
- C. FIND {Email = '[email protected]'} IN Contact, User
- D. FIND {[email protected]} IN Email Fields RETURNING Contact (Email), User (Email)
Answer: D
NEW QUESTION 63
A developer creates a custom controller and a custom Visualforce page by using the code block below:
public class MyController {
public String myString {
get {
if (myString == null) { myString = 'a';
}
return myString;
} private set; } public string getMyString (){
return 'getMyString';
} public string getStringMethod () {
if (myString == null) {
myString = 'b';
} return myString;
}
} <apex:page controller = "MyController"> {!StringMethod}, {!myString}, {!myString} </apex:page> What can the user expect to see when accessing the custom page?
- A. B, b, b
- B. A, a, a
- C. B, a, getMyString
- D. A, b, getMyString
Answer: B
NEW QUESTION 64
For which example task should a developer use a trigger rather than a workflow rule?
- A. To set the Name field of an expense report record to Expense and the Date when it is saved
- B. To notify an external system that a record has been modified
- C. To send an email to a hiring manager when a candidate accepts a job offer
- D. To set the primary Contact on an Account record when it is saved
Answer: D
NEW QUESTION 65
A developer needs to create a baseline set of data (Accounts, Contacts, Products, Assets) for an entire suite of test allowing them to test independent requirements various types of Salesforce Cases.
Which approach can efficiently generate the required data for each unit test?
- A. Use @TestSetup with a viod method.
- B. Add @isTest(seeAllData=true) at the start of the unit test class.
- C. Create test data before Test.startTest() in the unit test.
- D. Create a nock using the Stud API
Answer: A
NEW QUESTION 66
Which three statements are true regarding trace flags? (Choose three.)
- A. If active trace flags are not set, Apex tests execute with default logging levels.
- B. Setting trace flags automatically cause debug logs to be generated.
- C. Trace flags can be set in the Developer Console, Setup, or using the Tooling API.
- D. Trace flags override logging levels.
- E. Logging levels override trace flags.
Answer: A,C,D
NEW QUESTION 67
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 68
Which declarative method helps ensure quality data? (Choose 3)
- A. Validation Rules
- B. Exception Handling
- C. Lookup Filters
- D. Page Layouts
- E. Workflow alerts
Answer: A,C,D
NEW QUESTION 69
A developer is creating an enhancement to an application that will allow people to be related to their employer.
Which data model provides the simplest solution to meet the requirements?
- A. Create a junction object to relate many people to many through lookup relationship
- B. Create a junction object to relate many people to many through master-detail relationship
- C. Create a master-detail relationship to indicate that a person has an employer
- D. Create a lookup realtionship to indicate that a person has an employer
Answer: C
NEW QUESTION 70
......
SALESFORCE CRT-450
SALESFORCE CRT-450 certification examines and approves your skills as a Salesforce Certified Platform Developer Architect Around Salesforce Certified Platform Developer organization, Salesforce Certified Platform Developer advancement, and DevOps; among a rundown of ability classes inside each of these The CRT-450 exam dumps certification exam is outfitted towards Salesforce Certified Platform Developer Solution Architects who counsel stakeholders and make an interpretation of business necessities into secure, adaptable & consistent solutions. Applicants should have expertise and experience in various positions of IT operations, including:
- Virtualization
- Networking
- Security
- Identity
We think our Salesforce Certified Platform Developer CRT-450 Exam Practice Test Paper and Dumps will provide you 100% confidence to make you appear for SALESFORCE CRT-450 Exam. .
This is the list of the contents in our Salesforce Certified Platform DeveloperCRT-450 Practice Test**:**
- Salesforce platform features mapping to the MVC pattern.
- visualize and create entity relationships.
- Monitor and access various types of debug logs
- Benefits of the Lightning Component.
- Features of the Heroku platform.
- how to write Visual force controllers.
- Determine the appropriate data model.
- Developing in a multi-tenant environment.
New CRT-450 Exam Questions| Real CRT-450 Dumps: https://testking.exams-boost.com/CRT-450-valid-materials.html