This page was exported from Exams Labs Braindumps [ http://blog.examslabs.com ] Export date:Thu Nov 21 10:06:32 2024 / +0000 GMT ___________________________________________________ Title: [Apr 26, 2023] CRT-450 PDF Questions and Testing Engine With 150 Questions [Q59-Q82] --------------------------------------------------- [Apr 26, 2023] CRT-450 PDF Questions and Testing Engine With 150 Questions Updated Exam Engine for CRT-450 Exam Free Demo & 365 Day Updates To become a Salesforce Certified Platform Developer I, candidates must pass the CRT-450 exam. The exam consists of 60 multiple-choice questions that must be completed within 105 minutes. The exam covers various topics, including data modeling and management, Apex and Visualforce, debugging and testing, and security. The certification is ideal for individuals with experience in developing custom applications and those seeking to specialize in Salesforce development. Overview about SALESFORCE CRT-450 Exam Format: Multiple choice, multiple answerNumber of Questions: 60Registration Fee: 200 USDPassing Score: 65%Length of Examination: 110 minutes   NEW QUESTION 59Which three statements are true regarding custom exceptions in Apex? (Choose three.)  A custom exception class must extend the system Exception class.  A custom exception class can implement one or many interfaces.  A custom exception class cannot contain member variables or methods.  A custom exception class name must end with “Exception”.  A custom exception class can extend other classes besides the Exception class. NEW QUESTION 60Which two components are available to deploy using the METADATA API? Choose 2 answers  Web-to-Case  Lead Conversion Settings  Case Settings  Web-to-Lead NEW QUESTION 61Which two queries can a developer use in a visualforce controller to protect against SOQL injection Vulnerabilities? Choose 2 answers  String qryName = ‘%’ + String.enforceSecurityChecks(name)+ ‘%’; String qryString = ‘SELECT Id FROM Contact WHERE Name LIKE :qryNAme’; List queryResults = Database.query(qryString);  StringqryName = ‘%’ + name ‘%’; String qryString = ‘SELECT Id FROM Contact WHERE Name LIKE:qryNAme’; List queryResults = Database.query(qryString);  String qryName = ‘%’ + String.escpaeSingleQuotes(name)+ ‘%’; String qryString = ‘SELECT Id FROM Contact WHEREName LIKE :qryNAme’; List queryResults = Database.query(qryString);  String qryString = ‘SELECT Id FROM Contact WHERE Name LIKE :qryNAme’; List queryResults = Database.query(qryString); NEW QUESTION 62Which two are phases in the Salesforce Application Event propagation framework? (Choose two.)  Bubble  Default  Control  Emit NEW QUESTION 63Which tag should a developer include when styling from external CSS is required in a Visualforce page?  apex:includeStyles  apex:includeScript  apex:require  apex:stylesheet NEW QUESTION 64Which aspect of Apex programming is limited due to multitenancy?  The number of active Apex classes  The number of methods in an Apex Class  The number of records processed in a loop  The number of records returned from database queries NEW QUESTION 65Which two statements are acceptable for a developer to use inside procedural loops?  Contact con = new Contact();  ContactList.remove(i);  Delete contactList;  Account a = [SELECT id, Name FROM account WHERE id = : con.AccountId LIMIT 1]; NEW QUESTION 66A developer wants to use all of the functionality provided by the standard controller for an object, but needs to override the Save standard action in a controller extension. Which two are required in the controller extension class?  Create a method named Save with a return data type of PageReference.  Create a method that references this.superSave()  Define the class with a constructor that takes an instance of StandardController as a parameter.  Define the class with a constructor that creates a new instance of the StandardController class. NEW QUESTION 67Which two statement can a developer use to throw a custom exception of type MissingFieldValueException?Choose 2 answers  Throw (MissingFieldValueException,’Problem occurred’);  Throw new MissingFieldValueException(‘Problem occurred’);  Throw new MissingFieldValueException();  Throw Exception(new MissingFieldValueException()); NEW QUESTION 68What are three ways for a developer to execute tests in an org? Choose 3.  Bulk API  ToolingAPI  Metadata API  Setup Menu  Developer Console NEW QUESTION 69What are two valid options for iterating through each Account in the collection List<Account> named AccountList? (Choose two.) for (Account theAccount : AccountList) {…}  for(AccountList) {…}  for (List L : AccountList) {…}  for (Integer i=0; i < AccountList.Size(); i++) {…} Explanation/Reference:NEW QUESTION 70What are three ways for a developer to execute tests in an org? Choose 3.  Bulk API  Tooling API  Setup Menu  Salesforce DX  Metadata API. https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_testing.htm https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_apextestsuite.htmNEW QUESTION 71Which three data types can be returned from an SOQL statement? (Choose three.)  Boolean  List of sObjects  Single sObject  Integer  String NEW QUESTION 72Which two are best practices when it comes to component and application event handling? (Choose two.)  Reuse the event logic in a component bundle, by putting the logic in the helper.  Use component events to communicate actions that should be handled at the application level.  Handle low-level events in the event handler and re-fire them as higher-level events.  Try to use application events as opposed to component events. NEW QUESTION 73A developer has the following class and trigger code:public class InsuranceRates { public static final Decimal smokerCharge = 0.01; } trigger ContactTrigger on Contact (before insert) { InsuranceRates rates = new InsuranceRates(); Decimal baseCost = XXX; } Which code segment should a developer insert at the XXX to set the baseCost variable to the value of the class variable smokerCharge?  Rates.smokerCharge  Rates.getSmokerCharge()  ContactTrigger.InsuranceRates.smokerCharge  InsuranceRates.smokerCharge NEW QUESTION 74A developer needs to include a Visualforce page in the detail section of a page layout for the Account object, but does not see the page as an available option in the Page Layout Editor.Which attribute must the developer include in the <apex:page> tag to ensure the Visualforce page can be embedded in a page layout?  standardController= “Account”  extensions= “AccountController”  controller= “Account”  action= “AccountId” NEW QUESTION 75When loading data into an operation, what can a developer do to match records to update existing records? (Choose 2)  Match an auto-generated Number field to a column in the imported file.  Match an external Id Text field to a column in the imported file.  Match the Name field to a column in the imported file.  Match the Id field to a column in the imported file. NEW QUESTION 76Which two queries can a developer use in a visualforce controller to protect against SOQL injection Vulnerabilities? Choose 2 answers  String qryName = ‘%’ + String.enforceSecurityChecks(name)+ ‘%’; String qryString = ‘SELECT Id FROM Contact WHERE Name LIKE :qryNAme’; List queryResults = Database.query(qryString);  String qryName = ‘%’ + name ‘%’; String qryString = ‘SELECT Id FROM Contact WHERE Name LIKE :qryNAme’; List queryResults = Database.query(qryString);  String qryName = ‘%’ + String.escpaeSingleQuotes(name)+ ‘%’; String qryString = ‘SELECT Id FROM Contact WHERE Name LIKE :qryNAme’; List queryResults = Database.query(qryString);  String qryString = ‘SELECT Id FROM Contact WHERE Name LIKE :qryNAme’; List queryResults = Database.query(qryString); NEW QUESTION 77Which two queries can a developer use in a Visualforce controller to protect against SOQL injection vulnerabilities? Choose 2 answers  String qryName = % +String.enforceSecurityChecks(name)+ % ;String qryString = SELECT Id FROM Contact WHERE Name LIKE :qryNAme ;List queryResults = Database.query(qryString);  String qryName = % + name % ;String qryString = SELECT Id FROM Contact WHERE Name LIKE:qryNAme ;List queryResults = Database.query(qryString);  String qryName = % + String.escapeSingleQuotes(name)+ % ;String qryString = SELECT Id FROM Contact WHERE Name LIKE :qryNAme ;List queryResults = Database.query(qryString);  String qryString = SELECT Id FROM Contact WHERE Name LIKE :qryNAme ; List queryResults = Database.query(qryString); NEW QUESTION 78What are two ways a developer can get the status of an enquered job for a class that queueable interface? Choose 2 answers  View the apex status Page  View the apex flex Queue  View the apex Jobs page  Query the AsyncApexJobe object NEW QUESTION 79A 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 three.)  Use a standard controller.  Use a standard controller with extensions.  Use a custom controller with extensions.  Do not specify a controller.  Use a custom controller. NEW QUESTION 80A 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 null reference exception  A compile time exception  A DML exception  A limit exception when doing a bulk update NEW QUESTION 81A developer creates an Apex Trigger with the following code block:List<Account> customers = new List<Account>();For (Order__c o: trigger.new){Account a = [SELECT Id, Is_Customer__c FROM Account WHERE Id:o.Customer__c];a.Is_Customer__c = true;customers.add(a);}Database.update(customers, false);The developer tests the code using Apex Data Loader and successfully loads 10 Orders. Then, the developer loads 150 Orders.How many Orders are successfully loaded when the developer attempts to load the 150 Orders?  0  1  150  100 NEW QUESTION 82What can a developer use to determine if the core Apex code exceeds any governor limits in a test class during bulk execution?  Limits, startTest, stopTest  Test.getDmlStatements()  @TestSetup.  @TestVisible  Loading … To be eligible to take the Salesforce CRT-450 exam, candidates must have a solid understanding of Salesforce fundamentals, including the Salesforce data model, security model, and user interface. They must also have experience developing applications on the Salesforce platform using Apex and Visualforce.   Exam Passing Guarantee CRT-450 Exam with Accurate Quastions: https://www.examslabs.com/Salesforce/Salesforce-Developers/best-CRT-450-exam-dumps.html --------------------------------------------------- Images: https://blog.examslabs.com/wp-content/plugins/watu/loading.gif https://blog.examslabs.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2023-04-26 12:55:17 Post date GMT: 2023-04-26 12:55:17 Post modified date: 2023-04-26 12:55:17 Post modified date GMT: 2023-04-26 12:55:17