[Mar-2022] Salesforce DEX-450 Exam Practice Test Questions - Free4Dump [Q78-Q101]

Share

[Mar-2022] Salesforce DEX-450 Exam Practice Test Questions - Free4Dump

Updated Certification Exam DEX-450 Dumps - Practice Test Questions


Average Salary for Salesforce DEX-450 Exam Certified Professional

Salesforce administrator roles are in great demand nowadays. The average salaries of Salesforce DEX-450 exam Certified professional in:

  • Europe - 72,300 Euro
  • United State - 105,100 USD
  • England - 70,400 POUND
  • India - 16,42,330 INR

 

NEW QUESTION 78
Which resource can be included in a Lightning Component bundle?Choose 2 answers

  • A. Documentation
  • B. Adobe Flash
  • C. Apex class
  • D. JavaScript

Answer: A,D

 

NEW QUESTION 79
How can a developer warn users of SOQL governor limit violations in a trigger?

  • A. Use Messaging.SendEmail() to continue the transaction and send an alert to the user after the number of SOQL queries exceeds the limit.
  • B. Use ApexMessage.Message() to display an error message after the number of SOQL queries exceeds the limit.
  • C. Use PageReference.setRedirect() to redirect the user to a custom Visualforce page before the number of SOQL queries exceeds the limit.
  • D. Use Limits.getQueries() and display an error message before the number of SOQL queries exceeds the limit.

Answer: D

 

NEW QUESTION 80
The operation manager at a construction company uses a custom object called Machinery to manage the usage and maintenance of its cranes and other machinery. The manager wants to be able to assign machinery to different constructions jobs, and track the dates and costs associated with each job. More than one piece of machinery can be assigned to one construction job.
What should a developer do to meet these requirements?

  • A. Create a junction object with Master-Detail Relationship to both the Machinery object and the Construction Job object.
  • B. Create a Master-Detail Lookup on the Machinery object to the Construction Job object.
  • C. Create a lookup field on the Construction Job object to the Machinery object.
  • D. Create a lookup field on the Machinery object to the Construction Job object.

Answer: C

 

NEW QUESTION 81
A Visual Flow uses an apex Action to provide additional information about multiple Contacts, stored in a custom class, contactInfo. Which is the correct definition of the Apex method that gets additional information?

  • A. @InvocableMethod(Label='additional Info')
    public ContactInfo(Id contactId)
    { /*implementation*/ }
  • B. @InvocableMethod(label='Additional Info')
    public List<ContactInfo> getInfo(List<Id> contactIds)
    { /*implementation*/ }
  • C. @InvocableMethod(label='additional Info')
    public static ContactInfo getInfo(Id contactId)
    { /*implementation*/ }
  • D. @invocableMethod(label)='Additional Info')
    public static List<ContactInfo> getInfo(List<Id> contactIds)
    { /*Implementation*/ }

Answer: D

 

NEW QUESTION 82
What are two ways a developer can get the status of an enquered job for a class that queueable interface? Choose 2 answers

  • A. Query the AsyncApexJobe object (Missed)
  • B. View the apex Jobs page (Missed)
  • C. View the apex status Page
  • D. View the apex flex Queue

Answer: A,B

 

NEW QUESTION 83
Which two statements are true about Apex code executed in Anonymous Blocks? Choose 2 answers

  • A. The code runs with the permissions of the logged user.
  • B. Successful DML operations are automatically committed
  • C. The code runs in system mode having access to all objects and fields.
  • D. The code runs with the permissions of the user specified in the runAs() statement
  • E. All DML operations are automatically rolled back

Answer: A,B

 

NEW QUESTION 84
What can a Lightning Component contain in its resource bundle? Choose 2 answer

  • A. Build scripts for minification
  • B. Properties files with global settings
  • C. Custom client side rendering behavior.
  • D. CSS styles scoped to the component

Answer: C,D

 

NEW QUESTION 85
A Hierarchy Custom Setting stores a specific URL for each profile in Salesforce. Which statement can a developer use to retrieve the correct URL for the current user'sprofile and display this on a Visualforce Page?

  • A. {!$Setup.Url_Settings__C.Instance[Profile.Id].URL__c}
  • B. {!$Setup.Url_Settings__C.[Profile.Id].URL__c}
  • C. {!$Setup.Url_Settings__C.[$Profile.Id].URL__c}
  • D. {!$Setup.Url_Settings__C.URL__c}

Answer: D

 

NEW QUESTION 86
A developer needs to create a custom visualforce button for the opportunity object page layout that will cause a web service to be called and redirect the user to a new page when clicked. Which three attributes need to be defined in the <apx:page> tag of the visualforce page to enable this functionality?

  • A. Readonly
  • B. AcTion
  • C. Extensions
  • D. Standardcontroller
  • E. Renderas

Answer: B,C,D

 

NEW QUESTION 87
A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type.
Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)

  • A. Hardcode the ID as a constant in an Apex class.
  • B. Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class.
  • C. Make an outbound web services call to the SOAP API.
  • D. Execute a SOQL query on the RecordType object.

Answer: B,D

 

NEW QUESTION 88
A developer must create a Lightning component that allows user to input Contact record information to create a Contact record, including a Salary__c custom field. What should the developer use, along with a lightning-record-edit-form, so that Salary__c field functions as a currency input and is only viewable and editable by users that have the correct field level permissions on Salary__c?

  • A. <lightning-formatted-number value="Salary__c" format-style="currency">
    </lightning-formatted-number>
  • B. <lightning-input type="number" value="Salary__c" formatter="currency">
    </lightning-input>
  • C. <ligthning-input-field field-name="Salary__c">
    </lightning-input-field>
  • D. <lightning-input-currency value="Salary__c">
    </lightning-input-currency>

Answer: C

 

NEW QUESTION 89
A developer can use the debug log to see which three types of information? Choose 3 answers

  • A. Resource usage and limits
  • B. User login events
  • C. HTTP callout to external systems
  • D. Database changes
  • E. Actions triggered by time-based workflow

Answer: C,D,E

 

NEW QUESTION 90
What declarative method helps ensure quality data? Choose 3 answers

  • A. Workflow alerts
  • B. Validation rules
  • C. Exception handling
  • D. Lookup filters
  • E. Page layouts

Answer: B,D,E

 

NEW QUESTION 91
A developer needs to avoid potential system problems that can arise in a multi-tenant architecture. Which requirement helps prevent poorty written applications from being deployed to a production environment?

  • A. Unit tests must cover at least 75% of the application's Apex code
  • B. All Apex code must be annotated with the with sharing keyword.
  • C. All validation rules must be active before they can be deployed.
  • D. SOQL queries must reference sObActs with their appropriate namespace.

Answer: A

 

NEW QUESTION 92
Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own. What should the developer use to enforce sharing permission for the currently logged-in user while using the custom search tool?23wa

  • A. Use the schema describe calls to determine if the logged-in users has access to the Account object.
  • B. Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user.
  • C. Use the without sharing keyword on the class declaration.
  • D. Use the with sharing keyword on the class declaration.

Answer: A

 

NEW QUESTION 93
What is an accurate statement about variable scope? (Choose 3)

  • A. Sub-blocks cannot reuse a parent block's variable name.
  • B. A variable can be defined at any point in a block.
  • C. Parallel blocks can use the same variable name.
  • D. A static variable can restrict the scope to the current block of its value is null.
  • E. Sub-blocks can reuse a parent block's variable name if it's value is null.

Answer: A,B,C

 

NEW QUESTION 94
A developer has a Visualforce page and custom controller to save Account records. The developer wants to display any validation rule violation to the user. How can the developer make sure that validation rule violations are displayed?

  • A. Include <apex:message> on the Visualforce page.
  • B. Perform the DML using the Database.upsert() method.
  • C. Add cuatom controller attributes to display the message.
  • D. Use a try/catch with a custom exception class.

Answer: A

 

NEW QUESTION 95
A developer created a visualforce page using a custom controller that calls an apex helper class. A method in the helper class hits a governor limit. what is the result of the transaction?

  • A. The helper class creates a savepoint and continues
  • B. All changes in the transaction are rolled back
  • C. All changes made by the custom controller are saved
  • D. The custom controller calls the helper class method ag

Answer: C

 

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

  • A. A Controller Extension method that uses SOQL to query for a list of Account records
  • B. Custom JavaScript that processes 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 97
A platform developer needs to write an apex method that will only perform an action if a record is assigned to a specific record type. Which two options allow the developer to dynamically determine the ID of the required record type by its name? Choose 2 answers

  • A. Execute a SOQL query on the recordtype object
  • B. Make an outbound web services call to the SOAP API
  • C. Hardcore the ID as a constant in an apex class
  • D. Use the getrecordtypeinfosbydevelopername() method in the describesobjectresult class

Answer: A,D

 

NEW QUESTION 98
A developer has the following code:try {List nameList;Account a;String s = a.Name;nameList.add(s);} catch (ListException le ) {System.debug(' List Exception ');} catch (NullPointerException npe) {System.debug(' NullPointer Exception ');} catch (Exception e) {System.debug(' Generic Exception ');} What message will be logged?

  • A. NullPointer Exception
  • B. No message is logged
  • C. List Exception
  • D. Generic Exception

Answer: A

 

NEW QUESTION 99
A newly hired developer discovers that there are multiple triggers on the case object.
What should the developer consider when working with triggers?

  • A. Trigger execution order is based on creation date and time.
  • B. Unit tests must specify the trigger being tested.
  • C. Trigger execution order is not guaranteed for the same sObject.
  • D. Developers must dictate the order of trigger execution.

Answer: C

 

NEW QUESTION 100
How can a developer avoid exceeding governor limits when using Apex Triggers? (Choose 2)

  • A. By using the Database class to handle DML transactions
  • B. By using a helper class that can be invoked from multiple triggers
  • C. By using Maps to hold data from query results
  • D. By performing DML transactions on a list of sObjects.

Answer: C,D

 

NEW QUESTION 101
......

Updated Verified DEX-450 dumps Q&As - Pass Guarantee or Full Refund: https://www.free4dump.com/DEX-450-braindumps-torrent.html

DEX-450 PDF Questions and Testing Engine With 460 Questions: https://drive.google.com/open?id=1UN88u4ZsDRBPcsf8615epRLVFazY7E8b