Latest PDII Exam Real Tests Free Updated Today [Q138-Q161]

Share

Latest PDII Exam Real Tests Free Updated Today

PDII Real Exam Question Answers Updated [Dec 23, 2021]


How to book the PDII Exam

These are following steps for registering the PDII Exam. Step 1: Visit to Webassessor Exam Registration Step 2: Signup/Login to Webassessor Step 3: Select the onsite proctored or online proctored delivery method of Certification Exam Step 4: Select Date, time and confirm with a payment method

For more information, please click here.


For more info visit:

Salesforce Certified Platform Developer II (PDII) Exam Reference

 

NEW QUESTION 138
Which three Visualforce components can be used to initiate Ajax behavior to perform partial page updates?
Choose 3 answers

  • A.
  • B.
  • C.
  • D.
  • E.

Answer: A,C,E

 

NEW QUESTION 139
A developer has been asked to create code that will meet the following requirements: Receives input of:
Map<Id, Project__c>, List<Account> Performs a potentially long-running callout to an outside web service Provides a way to confirm that the process executed successfully Which asynchronous feature should be used?

  • A. Database.AllowsCallouts interface
  • B. @future (callout=true)
  • C. Queueable interface
  • D. Schedulable interface

Answer: C

 

NEW QUESTION 140
Which use case is an appropriate fit for the @future asynchronous Apex method? Choose 2 answers

  • A. A developer needs to segregate DML operations and bypass the mixed save DML error.
  • B. A developer has long-running methods and needs to prevent delaying an Apex transaction.
  • C. A developer has jobs that need larger query results than regular transactions allow.
  • D. A developer has long-running jobs with large data volumes that need to be performed in batches-

Answer: A,B

 

NEW QUESTION 141
An org has a requirement that addresses on Contacts and Accounts should be normalized to a company standard by Apex code any time that they are saved.
What is the optimal way to implement this?

  • A. Apex triggers on Contact and Account that call a helper class to normalize the address
  • B. Apex trigger on Contact that calls the Account trigger to normalize the address
  • C. Apex triggers on Contact and Account that normalize the address
  • D. Apex trigger on Account that calls the Contact trigger to normalize the address

Answer: B

 

NEW QUESTION 142
The SOAP API_________.

  • A. Provides a powerful, convenient, and simple REST-based web services interface for interacting with Salesforce. Its advantages include ease of integration and development, and it's an excellent choice of technology for use with mobile applications and web projects
  • B. Is used to retrieve, deploy, create, update, or delete customizations for your org. The most common use is to migrate changes from a sandbox or testing org to your production environment
  • C. Is used to create, retrieve, update or delete records, such as accounts, leads, and custom objects, and allows you to allows you to maintain passwords, perform searches, and much more
  • D. Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batches

Answer: C

 

NEW QUESTION 143
A developer built a Component to be used at the front desk for guests to self-register upon arrival at a kiosk.
The developer is now asked to create a Component for the Utility Tray to alert Users whenever a guest has arrived at the front desk. What should be used?

  • A. Application Event
  • B. DML Operation
  • C. Changelog
  • D. Component Event

Answer: A

 

NEW QUESTION 144
The Contact object has a custom field called "Zone." Its data type is "Text" and field length is 3.
What is the outcome after executing the following code snippet in the org?
List<Contact> contactsToBeInserted=new List<Contact>(); Contact
contactInstance= new Contact(LastName='Smith', Department='Tech',
Zone_c='IAD'); contactsToBeInserted.add(contactInstance); contactInstance= new Contact(LastName='Sm1th', Department='Tech', Zone_c='PITT'); contactsToBeInserted.add(contactInstance); Database.insert (contactsToBeInserted,true);

  • A. Both inserts succeed and the contact record that has the Zone value of 'PITT' is truncated
  • B. Both inserts succeed and the contact record that has the Zone value of 'PI'I'I' is set to NULL
  • C. A partial insert succeeds and the contact record that has the Zone value 'IAD' is inserted
  • D. An unhandled DML exception is thrown and no contact records are inserted

Answer: D

 

NEW QUESTION 145
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 this requirement?

  • A. Dynamic Record Choice
  • B. Visualforce and Apex
  • C. Lightning Process Builder
  • D. Custom Lightning Application

Answer: A

 

NEW QUESTION 146
The SOAP API...

  • A. Provides a powerful, convenient, and simple REST-based web services interface for interacting with Salesforce. Its advantages include ease of integration and development, and it's an excellent choice of technology for use with mobile applications and web projects
  • B. Is used to to retrieve, deploy, create, update, or delete customizations for your org. The most common use is to migrate changes from a sandbox or testing org to your production environment
  • C. Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAll, insert, update, upsert, or delete many records asynchronously by submitting batches
  • D. Is used to to create, retrieve, update or delete records, such as accounts, leads, and custom objects, and allows you to allows you to maintain passwords, perform searches, and much more

Answer: D

 

NEW QUESTION 147
Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page and want to include multiple records?

  • A. Controller Extensions
  • B. Standard List/Set Controller
  • C. Standard Controller
  • D. Custom Controller

Answer: B

 

NEW QUESTION 148
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.)

  • A. <apex: actionSupport action="{ ISave} " event=llonchange1' rerender="thePageBlock"/>
  • B. <apex : commandFunction action=?l { ! Save} " value="Save" rendered^"thePageBlock"/>
  • C. <apex:commandButton action="{!Save}" value="Save" redraw="thePageBlock"/>
  • D. <apex: actionFunction action=" { ! Save} " name=!,Save" rerender=l,thePageBlock1'/>

Answer: A,D

 

NEW QUESTION 149
What is the correct order of execution for Visualforce Page "get" requests (initial page visit)

  • A. 1) Evaluate constructors on controller and extensions
    2) If there's a <apex:form> element, create the view state
    3) Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page
    4) Evaluate constructors, extensions, and expression on attribute definitions on any custom components present
    5) Send HTML to Browser
  • B. 1) Evaluate constructors on controller and extensions
    2) Evaluate constructors, extensions, and expression on attribute definitions on any custom components present
    3) Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page
    4) If there's a <apex:form> element, create the view state
    5) Send HTML to Browser
  • C. 1) Evaluate constructors, extensions, and expression on attribute definitions on any custom components present
    2) Evaluate constructors on controller and extensions
    3) Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page
    4) If there's a <apex:form> element, create the view state
    5) Send HTML to Browser

Answer: B

 

NEW QUESTION 150
What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?

  • A. Use a static resource
  • B. Use the Schema namespace.
  • C. performs a SOQL Query.
  • D. Perform a callout to the Metadata API.

Answer: B

 

NEW QUESTION 151
Which is a valid Apex REST Annotation? (Choose two.)

  • A. @Http Patch
  • B. @HttpAction
  • C. @HttpDelete
  • D. ©HttpUpsert

Answer: A,C

 

NEW QUESTION 152
What is the transaction limit on the number of Apex jobs added to the queue?

  • A. 0
  • B. 1
  • C. There is no limit
  • D. 2
  • E. 3

Answer: D

 

NEW QUESTION 153
Which tag should a developer use to display different text while an <apex:commandButton> is executing versus not executing?

  • A. <ApexpageMessages>
  • B. <ApexactionStatus>
  • C. <apexactionPoller>
  • D. <ApexactionSupper>

Answer: C

 

NEW QUESTION 154
Which three Visualforce components can be used to initiate Ajax behavior to perform partial page updates? Choose 3 answers

  • A. D
  • B. A
  • C. B
  • D. E
  • E. C

Answer: C,D,E

 

NEW QUESTION 155
A developer has created a solution using the SOAP API for authenticating Communities users. What is needed when issuing the login() Call? (Choose two.)

  • A. Session Id
  • B. Organization Id
  • C. Username and Password
  • D. Security Token

Answer: B,C

 

NEW QUESTION 156
The Contact object has a custom field called "Zone." Its data type is "Text" and field length is 3. What is the outcome after executing the following code snippet in the org?

  • A. A partial insert succeeds and the contact record that has the Zone value 'IAD1 is inserted
  • B. Both inserts succeed and the contact record that has the Zone value of 'PI'IT is set to NULL
  • C. Both inserts succeed and the contact record that has the Zone value of PITT is truncated
  • D. An unhandled DML exception is thrown and no contact records are inserted

Answer: D

 

NEW QUESTION 157
What is a potential design issue with the following code?

  • A. SOQL could be avoided by creating a formula field for StageName in Account from the related Opportunity
  • B. The code will result in a System.DmException:Entity_is_Deleted error
  • C. The code will result in a System.LimitException: Apex CPU time limit exceeded error
  • D. The code will result in a System.LimitException : Too many script statements error

Answer: C

 

NEW QUESTION 158
A developer has requirement to query three fields (id, name, Type) from an Account and first and last names for all Contacts associated with the Account.
Which option is the preferred optimized method to achieve this for the Account named 'Ozene Electronics'?

  • A. List 1Contacts = new list ( );
    for(Contact c ; 1Select firstname, lastname Account, Name Account,ID Account, Type from Contact where Account: Name=' electronics')) ( iContacts.add(c);)
  • B. Account a = (SELECT ID, Name, Type from Account where name= Ozone Electronics;) list 1contacts = (SELECT firstname, lastname from Contacts where accountid=: a -ID0;
  • C. List 1Accounts = (Select ID, Name, Type from Account Join (Select ID, firstname, lastname form Contact where contact account , name 'ozone electronics));
  • D. Account a = (SELECT ID, Name, Type, (select contat,firstName, Contact,LastName from Account, Contacts) from Account where name; Ozone Electronic' Limit 1 );

Answer: D

 

NEW QUESTION 159
Choose the correct definition for <apex:actionPoller>.

  • A. Allows for controller methods to be called directly from Javascript. Must be encapsulated in <apex:form> tags. Unlike actionSupport, these function<apex:actionPoller>s can be called directly from Javascript code
  • B. Can be associated with an AJAX request (actionFunction/actionSupport/actionPoller) and shows content conditionally depending on the status of the request (in progress/complete). Use the "id" field to specify name; use "status" field on related components to connect them
  • C. Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.)
  • D. Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets
  • E. Signifies which components should be processed by the server when an AJAX request is generated

Answer: D

 

NEW QUESTION 160
Which is a valid Apex REST Annotation? (Choose two.)

  • A. @Http Patch
  • B. @HttpUpsert
  • C. @HttpAction
  • D. @HttpDelete

Answer: A,D

 

NEW QUESTION 161
......

Latest PDII Study Guides 2021 - With Test Engine PDF: https://www.actualtestsquiz.com/PDII-test-torrent.html

Easily To Pass New Salesforce PDII Dumps with 325 Questions: https://drive.google.com/open?id=1MtWJsO8n-ZpnFr5ZVvE4ilmWTE-IxN_P