New Year Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65pass65

Good News !!! PDII Salesforce Certified Platform Developer II (SU24) is now Stable and With Pass Result

PDII Practice Exam Questions and Answers

Salesforce Certified Platform Developer II (SU24)

Last Update 1 day ago
Total Questions : 193

Salesforce Certified Platform Developer II (SU24) is stable now with all latest exam questions are added 1 day ago. Incorporating PDII practice exam questions into your study plan is more than just a preparation strategy.

PDII exam questions often include scenarios and problem-solving exercises that mirror real-world challenges. Working through PDII dumps allows you to practice pacing yourself, ensuring that you can complete all Salesforce Certified Platform Developer II (SU24) practice test within the allotted time frame.

PDII PDF

PDII PDF (Printable)
$43.75
$124.99

PDII Testing Engine

PDII PDF (Printable)
$50.75
$144.99

PDII PDF + Testing Engine

PDII PDF (Printable)
$63.7
$181.99
Question # 1

A Salesforce org has more than 50,000 contacts. A new business process requires a calculation that aggregates data from all of these contact records. This calculation needs to run once a day after business hours.

Which two steps should a developer take to accomplish this?

Choose 2 answers

Options:

A.  

Use the @future annotation on the method that performs the aggregate calculation.

B.  

Implement the schedulable Interface In the class that contains the aggregate calculation method.

C.  

Use the areadOnly annotation on the method that performs the aggregate calculation.

D.  

Implement the Queuable Interface in the class that contains the aggregate calculation method.

Discussion 0
Question # 2

There are user complaints about slow render times of a custom data table within a Visualforce page that loads thousands of Account records at once. What can a developer do to help alleviate such issues?

Options:

A.  

Upload a third-party data table library as a static resource.

B.  

Use JavaScript remoting to query the accounts.

C.  

Use the standard Account List controller and implement pagination.

D.  

Use the transient keyword in the Apex code when querying the Account records.

Discussion 0
Question # 3

Which scenario requires a developer to use an Apex callout instead of Outbound Messaging?

Options:

A.  

The callout needs to be asynchronous.

B.  

The callout needs to be invoked from a Workflow Rule.

C.  

The Target system uses a REST API.

D.  

The Target system uses a SOAP API.

Discussion 0
Question # 4

Universal Containers (UC) currently does not development in its full copy sandbox.

Recently, UC has projects that require multiple developers to develop concurrently. UC is running into issues with developers making changes that cause errors In work done by other developers.

Additionally, when they are ready to deploy, many unit tests fail which prevents the deployment.

which three types of orgs should be recommended to UC to eliminate these problems?

Choose 3 answers

Options:

A.  

Data Migration org

B.  

Development org

C.  

Staging org

D.  

Systems Integration org

E.  

Continuous Integration (CI) Org

Discussion 0
Question # 5

Question # 5

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?

Question # 5

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?

Options:

A.  

Add TesLstartTest() before and Test.stop Test() after both Line 7 of the code and Line 20 of the code.

B.  

Change the DataFactory class to create fewer Accounts so that the number of queries in the trigger is reduced.

C.  

Add TeststartTest() before Line 18 of the code and add Test.stopTest() after line 18 of the code.

D.  

Replace most of the Apex Trigger with Process Builder processes to reduce the number of queries in the trigger.

Discussion 0
Question # 6

Consider the following code snippet:

Question # 6

Users of this Visualforce page complain that the page does a full refresh every time the Search button is pressed.

What should the developer do to ensure that a partial refresh is made so that only the section identified with opportunity List Is re-drawn on the screen?

Options:

A.  

Ensure the action method search returns null.

B.  

Implement the tag with immedate _true.

C.  

Implement the reRender attribute on the tag.

D.  

Enclose the DATA table within the tag.

Discussion 0
Question # 7

A developer wrote the following method to find all the test accounts in the org:

Question # 7

What should be used to fix this falling test?

Options:

A.  

Test. loaddata to set up expected data

B.  

Test. fixedSearchResults ( ) method to set up expected data

C.  

@isTest (See AllData=true) to access org data for the test

D.  

@testSetup method to set up expected data

Discussion 0
Question # 8

Consider the following queries. For these queries, assume that there are more than 200,000 Account records. These records include soft-deleted records; that is, deleted records that are still in the Recycle Bin. Note that there are two fields that are marked as External Id on the Account. These fields are Customer_Number__c and ERP_Key__c.

Which two queries are optimized for large data volumes? Choose 2 answers

Options:

A.  

SELECT Id FROM Account WHERE Id IN : aListVariable

B.  

SELECT Id FROM Account WHERE Name != ' ' AND IsDeleted = false

C.  

SELECT Id FROM Account WHERE Name != NULL

D.  

SELECT Id FROM Account WHERE Name != ' ' AND Customer Number c = 'ValueA’

Discussion 0
Question # 9

A developer is writing a Jest for a Lightning web component that conditionally displays child components based on a user’s checkbox selections.

What should the developer do to property test that the correct components display and hide for each scenario?

Options:

A.  

Reset the DOM after each test with the after Each method.

B.  

Add a teardown block to reset the DOM after each test.

C.  

Create a new describe block for each test

D.  

Create a new jsdom instance for each test

Discussion 0
Question # 10

Universal Containers decided to use Salesforce to manage a new hire interview process. A custom object called candidate as created with organization-wide default set to Private. A lookup on the Candidate object sets an employee as an the viewer user

Options:

A.  

The record can be shared using a permission set.

B.  

The record can be shared using a sharing rule.

C.  

The record cannot be shared with the current setup

D.  

The record can be shared an Apex class.

Discussion 0
Get PDII dumps and pass your exam in 24 hours!

Free Exams Sample Questions