PDII Exam Questions
402 real PDII exam questions with expert-verified answers and explanations. Page 3 of 9.
- Question #101
A developer has generated Apex code from a WSDL for an external web service. The web service requires Basic authentication. What code should the developer use to authenticate?
- Question #102
What is the correct syntax for calling a controller action from a Visualforce page and updating part of the page once the action is completed? (Choose two.)
- Question #103
Employee_c is a Child object of Company_c. The Company_c object has an external Id field Company_Id_c. How can a developer insert an Employee_c record linked to Company_c with a Co...
- Question #104
A developer must create a custom pagination solution. While users navigate through pages, if the data is changed from elsewhere, users should still see the cached results first acc...
- Question #105
Which use case is an appropriate fit for the @future asynchronous Apex method? (Choose two.)
- Question #106
A developer has written an After Update trigger on Account. A workflow rule and field update cause the trigger to repeatedly update the Account records. How should the developer ha...
- Question #107
A company wants to create a dynamic survey that navigates users through a different series of questions based on their previous responses. What is the recommended solution to meet...
- Question #108
Which statement is true regarding both Flow and Lightning Process? (Choose two.)
- Question #109
A developer has a page with two extensions overriding the Standard controller for Case. <apex:page standardController="Case" extension="CaseExtensionOne,CaseExtension Two" showHead...
- Question #110
What is a valid request for the following REST method? (Choose two.) @HttpPost global static void myPostMethod(String sl, Integer il, Boolean bl, String 52)
- Question #111
A developer wrote a Visualforce page for Sales Reps to add products to an order. The page takes a URL query parameter, productFamily, which filters the product results. The test me...
- Question #112
A developer writes the following code: public with sharing class OrderController() public PaqeReference sendOrder() Order_c order = new Order_c insert order; ExternalOrder external...
- Question #113
What is the most efficient way in Visualforce to show information based on data filters defined by an end-user for a large volume of data?
- Question #114
What is the optimal syntax for adding a link to a case in a Visualforce page? (Choose two.)
- Question #115
Which of the following standard fields are indexed? (Choose three.)
- Question #116
Which of the following variables are not transmitted in the view state? (Choose two.)
- Question #117
What tool in the Developer Console contains information on SOQL query Cardinality?
- Question #118
Which of the following elements can be members of a public group? (Choose three.)
- Question #119
How many Territories can an instance of salesforce have?
- Question #120
In which of the following scenarios would it be acceptable to use programmatic sharing instead of declarative sharing? (Choose three.)
- Question #121
Which interface needs to be implemented by an Aura Component so that it may be displayed in modal dialog by clicking a button on a Lightning Record page?
- Question #122
Which of the following annotations is the right way to invoke a single apex method?
- Question #123
Invokable methods accept sObjects as parameters.
- Question #124
The maximum view state size of a visualforce page is __________.
- Question #125
How long is field history retained?
- Question #126
Choose the correct definition for <apex:pageMessage>.
- Question #127
Choose the correct definition for <apex:messages>.
- Question #128
Choose the correct definition for <apex:message>.
- Question #129
Choose the correct definition for <apex:actionFunction>.
- Question #130
Choose the correct definition for <apex:actionPoller>.
- Question #131
Choose the correct definition for <apex:actionSupport>.
- Question #132
Choose the correct definition for <apex:actionStatus>.
- Question #133
Choose the correct definition for <apex:actionRegion>.
- Question #134
What is the correct order of execution for Visualforce Page "get" requests (initial page visit)?
- Question #135
What is the transaction limit for the number of records for SOQL queries?
- Question #136
What is the transaction limit for the number of records using QueryLocator?
- Question #137
What is the transaction limit for the number of SOSL queries?
- Question #138
What is the transaction limit for the number of records for SOSL?
- Question #139
What is the transaction limit for the number of DML statements allowed?
- Question #140
What is the transaction limit for the number of records per DML statement?
- Question #141
What is the transaction limit on the number of callouts?
- Question #142
What is the transaction limit on the number of @future invocations?
- Question #143
What is the transaction limit on the number of Apex jobs added to the queue?
- Question #144
What is the transaction limit on the number of "sendEmail" method calls?
- Question #145
What is the transaction limit on the max Salesforce CPU time?
- Question #146
What is the transaction limit on the max timeout for all callouts?
- Question #147
What is the transaction limit on the max execution time?
- Question #148
What is the transaction limit on the recursive trigger depth?
- Question #149
Which of the following object types can be used with a Web Service?
- Question #150
The "Webservice" keyword __________.