Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

[Nov 26, 2021] PDII PDF Recently Updated Questions Dumps to Improve Exam Score [Q188-Q213]

Share

[Nov 26, 2021] PDII PDF Recently Updated Questions Dumps to Improve Exam Score

PDII Dumps Full Questions with Free PDF Questions to Pass


The benefit in Obtaining the PDII Exam Certification

  • A candidate might have incredible IT skills. Employers that do the hiring need to make decisions based on limited information and as it always. When they view the official Salesforce Certified Platform Developer II certification, they can be guaranteed that a candidate has achieved a certain level of competence.
  • If the Candidate has the desire to move up to a higher-paying position in an organization. This certification will help as always.
  • After completing the Salesforce Certified Platform Developer II certification Candidate becomes a solid, well-rounded Salesforce Certified Platform Developer II.
  • When an organization hiring or promotion an employee, then the decision is made by human resources. Now while Candidate may have an IT background, they do their decisions in a way that takes into record many different factors. One thing is candidates have formal credentials, such as the Salesforce Certified Platform Developer II.

Who should take the PDII exam

Salesforce Certified Platform Developer II Exam certification is an internationally-recognized validation that identifies persons who earn it as possessing skilled as a Salesforce Certified Platform Developer II. If a candidate wants significant improvement in career growth needs enhanced knowledge, skills, and talents. The Salesforce PDII Exam provides proof of this advanced knowledge and skill. If a candidate has knowledge of associated technologies and skills that are required to pass the Salesforce PDII Exam then he should take this exam.

 

NEW QUESTION 188
What is the recommended approach to create test data when testing Apex that involves Pricebooks, PricebookEntries, and Products?

  • A. Use the Test.getStandardPricebookId() method to get theId of the standard Pricebook so that it can be used with other test records.
  • B. Use the isTest (SeeAllData=true) annotation on the entire Test Class to allow your Test Methods access to the standard Pricebook.
  • C. Use the isTest (SeeAllData=true) annotation on Test Methods that require access to the standard Pricebook.
  • D. Insert a new standard Pricebook record within your Test Method so that it can be used with other test records.

Answer: A

 

NEW QUESTION 189
A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller's account number before proceeding with the rest of their call script.
Following best practices, what should a developer use to meet this requirement?

  • A. Process Builder
  • B. Approvals
  • C. Flow Builder
  • D. Apex Trigger

Answer: C

 

NEW QUESTION 190
When should a developer use the transient keyword? Choose 2 answers

  • A. To declare an Apex variable as type-less when developing with dynamic Apex.
  • B. To exclude Apex class variables from getting serialized if they are in a serializable class
  • C. To prevent Apex interface definitions being included in the Apex-based partner WSDL.
  • D. To prevent Apex controller variables being sent to the Visualforce page as view state.

Answer: B,D

 

NEW QUESTION 191
What is the optimal syntax for adding a link to a case in a Visualforce page? (Choose two.)
<apex:outputLink value="{$URLFOR($Action.Case.Open, case)}" target="blank">

  • A. {Icase.Name} </apex:outputLink>
    <apex:outputLink value="/{!case.Id}" target="blank"> {Icase.Name}</
  • B. apex:outputLink>
  • C. target="blank">(LIE{!case.Name}</apex:outputLink>
    <apex:outputLink value="!viewCase(case.Id)}" target="_blank">{Icase.Name} </
  • D. apex:outputLink>
    <apex:outputLink value="{!URLFOR($Action.Case.View,case.Id)}"

Answer: C,D

 

NEW QUESTION 192
What can the Apex Continuation class be used for?

  • A. Making asynchronous callouts to SOAP or REST Web Services from Visualforce.
  • B. Progressing records to the next stage of an approval process in Apex.
  • C. Chaining multiple Queueable Apex jobs to be processed one after another.
  • D. Maintaining an Apex transaction across multiple DML statements.

Answer: A

 

NEW QUESTION 193
A developer is asked to develop a new AppExchange application. A feature of the program creates Survey records when a Case reaches a certain stage and is of a certain Record Type. This feature needs to be configurable, as different Salesforce instances require Surveys at different times. Additionally, the out-of-the- box AppExchange app needs to come with a set of best practice settings that apply to most customers.
What should the developer use to store and package the custom configuration settings for the app?

  • A. Process Builder
  • B. Custom Settings
  • C. Custom Metadata
  • D. Custom Objects

Answer: C

 

NEW QUESTION 194
Which API can be used to execute unit tests? Choose 3 answers

  • A. Test API
  • B. Streaming API
  • C. Tooling API
  • D. Metadata API
  • E. SOAP API

Answer: C,D,E

 

NEW QUESTION 195
The Contact object in an org is configured with workflow rules that trigger field updates. The fields are not updating, even though the end user expects them to. The developer creates a debug log to troubleshoot the problem.
What should the developer specify in the debug log to see the values of the workflow rule conditions and debug the problem?

  • A. ERROR level for the Workflow log category
  • B. INFO level for the Database log category
  • C. INFO level for the Workflow log category
  • D. ERROR level for the Database log category

Answer: B

 

NEW QUESTION 196
Customer billing data must be added and updated into Salesforce from a remote system on a weekly basis.
Additionally, customer activity information must be extracted from Salesforce and put it into an on-premises data warehouse on a weekly basis.
Which approach should be used to import data into Salesforce and export data out of Salesforce, taking into consideration that these imports and exports can interfere with end-user operations during business hours and involve large amounts of data?

  • A. Replication via third-party ETL to push data into Salesforce and pull data out in batches
  • B. Salesforce Connect to push data to and pull data from the remote systems
  • C. Call-in directly from each remote system to Salesforce APIs to push and pull the data
  • D. Batch Apex, where Salesforce pushes data to and pulls data from the remote systems

Answer: A

 

NEW QUESTION 197
What tool in the Developer Console contains information on SOQL query Cardinality?

  • A. Log Inspector
  • B. Query Editor
  • C. Checkpoints tab
  • D. Query Plan Tool
  • E. View State Tab

Answer: D

 

NEW QUESTION 198
When developing a Lightning web component, which setting displays lightning-layout-items in one column on small devices, such as mobile phones, and in two columns on tablet-size and desktop-size screens?

  • A. Set size=M6" mobile-device-size="12"
  • B. Set size-"12" medium-device-size="6"
  • C. Set size-"12" tablet-device-size="6"
  • D. Set size-"6" small-device-size="12"

Answer: B

 

NEW QUESTION 199

The test method above calls a web service that updates an external system with Account information and sets the Account's Integration_Updated__c checkbox to True when it completes. The test fails to execute and exits with an error: "Methods defined as TestMethod do not support Web service callouts. " What is the optimal way to fix this?

  • A. Add Test.startTest() and Test.setMock before and Test.stopTest() after CalloutUtil.sendAccountUpdate.
  • B. Add if (!Test.isRunningTest()) around CalloutUtil.sendAccountUpdate.
  • C. Add Test.startTest() before and Test.stopTest() after CalloutUtil.sendAccountUpdate.
  • D. Add Test.startTest() before and Test.setMock and Test.stopTest() after CalloutUtil.sendAccountUpdate.

Answer: C

 

NEW QUESTION 200
The test method above tests an Apex trigger that the developer knows will make a lot of queries when a lot of Account are simultaneously updated to be customer.
The test method fails at the Line 20 because of too many SOQL queries
What is the correct way to fix this?

The test method above tests an Apex trigger that the developer knows will make a lot of queries when a lot of Accounts are simultaneously updated to be customers.
The test method fails at the Line 20 because of too many SOQL queries.
What is the correct way to fix this?

  • A. Change the DataFactory class to create fewer Accounts so that the number of queries in the trigger is reduced.
  • B. Add TesLstartTest() before and Test.stop Test() after both Line 7 of the code and Line 20 of the code.
  • C. Replace most of the Apex Trigger with Process Builder processes to reduce the number of queries in the trigger.
  • D. Add TeststartTest() before Line 18 of the code and add Test.stopTest() after line 18 of the code.

Answer: D

 

NEW QUESTION 201
What field type can be used in the WHERE clause to improve SOQL query performance? Choose 3 answers

  • A. Email fields
  • B. Name fields
  • C. Telephone fields
  • D. External Id fields
  • E. Lookup fields

Answer: B,D,E

 

NEW QUESTION 202
In which of the following scenarios would it be acceptable to use programmatic sharing instead of declarative sharing? (Choose three.)

  • A. Team functionality is required on custom objects
  • B. Poor performance when using native sharing components
  • C. Every record created by sales users needs to be visible to their respective manager
  • D. There is an existing, external system of truth for user access assignments which will continue to drive access and be integrated with salesforce
  • E. You need to change record access to read/write for all users utilising a lightning component

Answer: A,B,D

 

NEW QUESTION 203
Consider the code above.

When a user dicks on the Link of a Contact's name, what happens'

  • A. The outputPanel refreshes, showing the Contacts details.
  • B. A new page opens, showing the Contact's details.
  • C. Nothing happens: the commandLink is missing an action attribute.
  • D. The page refreshes, showing the Contact's details.

Answer: A

 

NEW QUESTION 204
Line 1 public class AttributeTypes Line 2 { Line 3 private final String[] arrayItems; Line 4 Line 5
@AuraEnabled Line 6 public List<String> getStringArray() { Line 7 String*+ arrayItems = new String*+,'red', 'green', 'blue' -; Line 8 return arrayItems; Line 9 } Line 10 } Consider the Apex controller above that is called from a Lightning Aura Component. What is wrong with it?

  • A. Line 6: method must be static
  • B. Line 8: method must first serialize the list to JSON before returning
  • C. Lines 1 and 6: class and method must be global
  • D. Line 1: class must be global

Answer: A

 

NEW QUESTION 205
A developer wrote an Apex class to make several callouts to an external system.
If the URLs used in these callouts will change often, which feature should the developer use to minimize changes needed to the Apex class?

  • A. Connected Apps
  • B. Named Credentials
  • C. Remote Site Settings
  • D. Session Id

Answer: B

Explanation:
Explanation
Explanation/Reference: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/ apex_callouts_named_credentials.htm

 

NEW QUESTION 206
A developer has created a Team Member sObject that has a Master-Detail relationship to a Project sObject and a Lookup relationship to the User sObject. The developer must ensure that a User listed on a Team Member record has Read-Write access to the parent Project record. How can the developer accomplish this if the Project sObject has a Private sharing model and thousands of Project records?

  • A. Create a Project Sharing Rule that shares to the Team Member Group
  • B. Create a Controller that uses the Without Sharing keyword.
  • C. Create a Criteria-Based Sharing Rule on the Project sObject.
  • D. Create a Team Member Trigger that inserts Project_Share records.

Answer: D

 

NEW QUESTION 207
Universal Containers stores user preferences in a Hierarchy Custom Setting, User_Prefs_c, with a Checkbox field, Show_Help_c. Company-level defaults are stored at the organizational level, but may be overridden at the user level. If a user has not overridden preferences, then the defaults should be used.
How should the Show_Help_c preference be retrieved for the current user?

  • A. Boolean show = User_Prefs__c.Show_Help__c;
  • B. Boolean show = User_Prefs__c.getInstance().Show_Help__c;
  • C. Boolean show = User_Prefs__c.getValues().Show_Help__c;
  • D. Boolean show = User_Prefs__c.getValues(UserInfo.getUserId()).Show_Help__c;

Answer: D

Explanation:
Explanation/Reference: https://developer.salesforce.com/forums/?id=906F00000008ySqIAI

 

NEW QUESTION 208
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 2 answers

  • A. < apex:commandButton action="{ !Save}" value="Save" redraw="thePageBlock"/>
  • B. < apex: commandFunction action="{ !Save}" value="Save" rendered="thePageBlock"/>
  • C. < apex:actionSupport action="{ !Save} " event="" rerender="thePageBlock"/>
  • D. < apex:actionFunction action="{ !Save}" name="Save" rerender="thePageBlock"/>

Answer: C,D

 

NEW QUESTION 209
After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms?
Choose 2 answers

  • A. External Apps can use the standard Streaming API.
  • B. internal Apps can use Outbound Messages
  • C. External Apps require a custom Apex web service.
  • D. Internal Apps can use Process Builder.

Answer: B,D

 

NEW QUESTION 210
What Salesforce tool lets you deploy/retrieve metadata, check status of apex jobs, and check responses of REST calls?

  • A. Streaming API
  • B. Force.com Migration Tool
  • C. Developer Console
  • D. Workbench

Answer: D

 

NEW QUESTION 211
<lightning:layout multipleRows="true">
<lightning:layoutItem size="12">{!v.account.Name}
</lightning:layoutItem>
<lightning:layoutItem size="12">{!v.account.AccountNumber}
</lightning:layoutItem>
<lightning:layoutItem size="12">{!v.account.Industry}
</lightning:layoutItem>
</lightning:layout>
Refer to the component code above. The information displays as expected (in three rows) on a mobile device.
However, the information is not displaying as desired (in a single row) on a desktop or tablet.
Which option has the correct component changes to display correctly on desktops and tablets?
<lightning:layout multipleRows="true">

  • A. <lightning:layoutItem size="12" mediumDeviceSize="6" largeDeviceSize="4">
    {!v.account.Name}
    </lightning:layoutItem>
    <lightning:layoutItem size="12" mediumDeviceSize="6" largeDeviceSize="4">
    {!v.account.AccountNumber}
    </lightning:layoutItem>
    <lightning:layoutItem size="12" mediumDeviceSize="6" largeDeviceSize="4">
    {!v.account.Industry}
    </lightning:layoutItem>
    </lightning:layout>
    <lightning:layout multipleRows="true">
  • B. <lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.Name}
    </lightning:layoutItem>
    <lightning:layoutItem size="12" mediumDeviceSize="4">
    {!v.account.AccountNumber}
    </lightning:layoutItem>
    <lightning:layoutItem size="12" mediumDeviceSize="4">{!v.account.Industry}
    </lightning:layoutItem>
    </lightning:layout>
    <lightning:layout multipleRows="true">
  • C. <lightning:layoutItem size="12" largeDeviceSize="4">{!v.account.Name}
    </lightning:layoutItem>
    <lightning:layoutItem size="12" largeDeviceSize="4">
    {!v.account.AccountNumber}
    </lightning:layoutItem>
    <lightning:layoutItem size="12" largeDeviceSize="4">{!v.account.Industry}
    </lightning:layoutItem>
    </lightning:layout>
    <lightning:layout multipleRows="true">
  • D. <lightning:layoutItem size="12" mediumDeviceSize="6">{!v.account.Name}
    </lightning:layoutItem>
    <lightning:layoutItem size="12" mediumDeviceSize="6">
    {!v.account.AccountNumber}
    </lightning:layoutItem>
    <lightning:layoutItem size="12" mediumDeviceSize="6">{!v.account.Industry}
    </lightning:layoutItem>
    </lightning:layout>

Answer: D

 

NEW QUESTION 212
Refer to the markup below:
A Lightning web component displays the Account name and two custom fields out of 275 that exist on the object. The developer receives complaints that the component performs slowly.
What can the developer do to improve the performance?
A)

B)

C)

D)

  • A. Option D
  • B. Option B
  • C. Option A
  • D. Option C

Answer: D

 

NEW QUESTION 213
......


PDII Exam topics

Candidates must know the exam topics before they start of preparation. Because it will really help them in hitting the core. Our Salesforce PDII dumps will include the following topics:

  • Logic and Process Automation 33%
  • Debug and Deployment Tools 5%
  • Data Modeling and Management 7%
  • Performance 7%
  • Integration 11%
  • Testing 12%
  • User Interface 20%
  • Salesforce Fundamentals 5%

 

100% Updated Salesforce PDII Enterprise PDF Dumps: https://www.testsimulate.com/PDII-study-materials.html