[May-2022 Newly Released] Pass PDI Exam – Real Questions & Answers [Q158-Q174]

4/5 - (23 votes)

[May-2022 Newly Released] Pass PDI Exam – Real Questions and Answers

Pass PDI Review Guide, Reliable PDI Test Engine

Salesforce PDI Exam Syllabus Topics:

Topic Details
Topic 1
  • Describe the use cases for Lightning component events and application events
  • Given a use case, write Apex classes and triggers following best practices
Topic 2
  • Write and execute tests for triggers, controllers, classes, flows
  • Describe the options for and considerations when importing and exporting data into development environments
Topic 3
  • Understand design frameworks, such as MVC architecture and Aura Framework
  • Identify the implications of governor limits on Apex transactions
Topic 4
  • Describe the capabilities of the declarative process automation features
  • Describe the considerations when developing in a multi-tenant environment
Topic 5
  • Describe the types of content that can be contained in a Lightning web component
  • write Apex classes and use Apex interfaces
Topic 6
  • Describe the types of web content that can be incorporated into Visualforce pages
  • Use programmatic techniques to prevent security vulnerabilities
Topic 7
  • Describe the capabilities and use cases for formula fields and roll-up summary fields
  • identify common use cases for declarative versus programmatic customizations
Topic 8
  • Declare variables, constants, methods, and use modifiers and interfaces in Apex
  • Describe how to approach debugging system issues and monitoring flows, processes

 

NO.158 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?

 
 
 
 

NO.159 In the code below, what type does Boolean inherit from?
Boolean b= true;

 
 
 
 

NO.160 An Apex method, getAccounts, that returns a List of Accounts given a search Term, is available for Lighting Web components to use. What is the correct definition of a Lighting Web component property that uses the getAccounts method?

 
 
 
 

NO.161 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.)

 
 
 
 

NO.162 How can a developer retrieve all Opportunity record type labels to populate a list collection?Choose 2 answers

 
 
 
 

NO.163 A company wants a recruiting app that models candidates and interviews; displays the total number of interviews on each candidate record; and defines security on interview records that is independent from the security on candidate records. What would a developer do to accomplish this task? Choose 2 answers

 
 
 
 

NO.164 An Apex method, getAccounts, that returns a List of Accounts given a searchTerm, is available for Lightning Web components to use.
What is the correct definition of a Lightning Web component property that uses the getAccounts method?

 
 
 
 

NO.165 A developer creates an Apex helper class to handle complex trigger logic. How can the helper class warn users when the trigger exceeds DML governor limits?

 
 
 
 

NO.166 How can a developer get all of the available record types for the current user on the case object?

 
 
 
 

NO.167 How should a custom user interface be provided when a user edits an Account in Lightning Experience?

 
 
 
 

NO.168 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.)

 
 
 
 

NO.169

Which two examples above use the system. debug statements to correctly display the results from the SOQL aggregate queries? Choose 2 answers

 
 
 
 

NO.170 A developer is asked to create a Visualforce page that displays some Account fields as well as fields configured on the page layout for related Contacts.
How should the developer implement this request?

 
 
 
 

NO.171 What is the debug output of the following Apex code?
Decimal theValue;
System.debug (theValue);

 
 
 
 

NO.172 An org has a single account named ‘NoContacts’ that has no related contacts. Given the query:
List<Account> accounts = [Select ID, (Select ID, Name from Contacts) from Account where Name=’NoContacts’]; What is the result of running this Apex?

 
 
 
 

NO.173 Which two characteristics are true for Aura component events? Choose 2 answers

 
 
 
 

NO.174 Which two are best practices when it comes to component and application event handling? Choose 2 answers

 
 
 
 

100% Free PDI Daily Practice Exam With 268 Questions: https://www.actualtorrent.com/PDI-questions-answers.html

Related Links: myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt myportal.utt.edu.tt

Be the first to reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Enter the text from the image below