20:00

Free Test
/ 10

Quiz

1/10
Instead of waiting to send emails to support personnel directly from the finish
method of a batch Apex process, Universal Containers wants to notify an external
system in the event that an unhandled exception occurs.
What is the appropriate publish/subscribe logic to meet this requirement?
Select the answer
1 correct answer
A.
Publish the error event using the Eventbus. publish () method.
B.
No publishing is necessary. Have the external system subscribe to the BatchapexErrorEvent.
C.
Publish the error event using the addError method.
D.
Publish the error event with a Flow.

Quiz

2/10
A developer is asked to develop a new AppFxchange 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?
Select the answer
1 correct answer
A.
Custom objects
B.
Custom settings
C.
Custom metadata
D.
Custom labels

Quiz

3/10
A user receives the generic "An internal server error has occurred” while interacting
with a custom Lightning component.
What should the developer do to ensure a more meaningful message?
Select the answer
1 correct answer
A.
Add an onerror event handler to the tag.
B.
Add an error-view component to the markup.
C.
Use platform events to process the error
D.
Use an AuraHandledexception in a try-catch block.

Quiz

4/10
Universal Containers develops a Visualforce page that requires the inclusion of external JavaScript
and C55 files. They want to ensure efficient loading and caching of the page.
Which feature should be utilized to achieve this goal?
Select the answer
1 correct answer
A.
ActionFunction
B.
PageBlockTable
C.
Static resources
D.
RemoteAction

Quiz

5/10
A company manages information about their product offerings in custom objects named Catalog and
Catalog Item. Catalog Item has a master-detail field to Catalog, and each Catalog may have as many
as 100,000 Catalog Items.
Both custom objects have a CurrencylsoCode text field that contains the currency
code they should use. If a Catalog's CurrencylsoCode changes, all of its Catalog
Items’ CurrencylsoCodes should be changed as well.
What should a developer use to update the CurrencylsoCodes on the Catalog Items
when the Catalog's CurrencylsoCode changes?
Select the answer
1 correct answer
A.
A Database.Schedulable and Database.Batchacle class that queries the Catalog Item object and updates the Catalog Items if the Catalog CurrencylSoCode is different
B.
An after insert trigger on Catalog that updates the Catalog Items if the Catalogs CurrencylsoCode is different
C.
An after insert trigger on Catalog Item that updates the Catalog Items if the Catalog’s CurrencylsoCode is different
D.
A Database. schedulable and Dazabase.Bazchacle class that queries the Catalog object and updates the Catalog Items if the Catalog CurrencylSoCode is different

Quiz

6/10
How should a developer assert that a trigger with an asynchronous process has successfully run?
Select the answer
1 correct answer
A.
Create all test data in the test class, use system. runs {} to invoke the trigger, then perform assertions.
B.
Insert records into Salesforce, use seeAllData=true, then perform assertions.
C.
Create all test data, use future in the rest class, then perform assertions.
D.
Create all test data in the test class, invoke Test.startTest{} and Test.etopTaat {} and then perform assertions.

Quiz

7/10
A company notices that their unit tests in a test class with many methods to create many records for
prerequisite reference data are slow.
What can a developer to do address the issue?
Select the answer
1 correct answer
A.
Turn off triggers, flows, and validations when running tests.
B.
Move the prerequisite reference data setup to a TestDataFactory and call that from each test method.
C.
Move the prerequisite reference data setup to a @testSetup method in the test class.
D.
Move the prerequisite reference data setup to the constructor for the test class.

Quiz

8/10
Universal Containers implements a private sharing model for the Convention Attendee co custom
object. As part of a new quality assurance effort, the company created an Event_Reviewer_c user
lookup field on the object.
Management wants the event reviewer to automatically gain ReadWrite access to
every record they are assigned to.
What is the best approach to ensure the assigned reviewer obtains Read/Write access to the record?
Select the answer
1 correct answer
A.
Create a before insert trigger on the Convention Attendee custom object, and use Apex Sharing Reasons and Apex Managed Sharing.
B.
Create an after insert trigger on the Convention Attendee custom object, and use Apex Sharing Reasons and Apex Managed Sharing.
C.
Create criteria-based sharing rules on the Convention Attendee custom object to share the records with the Event Reviewers,
D.
Create a criteria-based sharing rule on the Convention Attendee custom object to share the records with a group of Event Reviewers.

Quiz

9/10
Consider the following code snippet:

Certification Exam PDII: Salesforce Platform Developer II Salesforce Salesforce-PDII 1-877779629

How should the <e-orders> component communicate to the <c-selected-orders
component that an order has been selected by the user?
Select the answer
1 correct answer
A.
Create and fire a component event.
B.
Create and fire an application event.
C.
Create and fire a standard DOM event.
D.
Create and dispatch a custom event,

Quiz

10/10
A developer is creating a Lightning web component to display a calendar. The component will be
used in multiple countries. In some locales, the first day of the week is a Monday, or a Saturday, or a
Sunday. ‘What should the developer do to ensure the calendar displays accurately for users in every
locale?
Select the answer
1 correct answer
A.
Query the FirstDayofweek field from the Locale for the current user.
B.
Import the @salesforce/i18n module and use the firstdayofweek internationalization property.
C.
Use a custom metadata type to store key/value pairs.
D.
Use UserInfo.getLocale() in the component.
Looking for more questions?Buy now

PDII: Salesforce Platform Developer II Practice test unlocks all online simulator questions

Thank you for choosing the free version of the PDII: Salesforce Platform Developer II practice test! Further deepen your knowledge on Salesforce Simulator; by unlocking the full version of our PDII: Salesforce Platform Developer II Simulator you will be able to take tests with over 201 constantly updated questions and easily pass your exam. 98% of people pass the exam in the first attempt after preparing with our 201 questions.

BUY NOW

What to expect from our PDII: Salesforce Platform Developer II practice tests and how to prepare for any exam?

The PDII: Salesforce Platform Developer II Simulator Practice Tests are part of the Salesforce Database and are the best way to prepare for any PDII: Salesforce Platform Developer II exam. The PDII: Salesforce Platform Developer II practice tests consist of 201 questions and are written by experts to help you and prepare you to pass the exam on the first attempt. The PDII: Salesforce Platform Developer II database includes questions from previous and other exams, which means you will be able to practice simulating past and future questions. Preparation with PDII: Salesforce Platform Developer II Simulator will also give you an idea of the time it will take to complete each section of the PDII: Salesforce Platform Developer II practice test . It is important to note that the PDII: Salesforce Platform Developer II Simulator does not replace the classic PDII: Salesforce Platform Developer II study guides; however, the Simulator provides valuable insights into what to expect and how much work needs to be done to prepare for the PDII: Salesforce Platform Developer II exam.

BUY NOW

PDII: Salesforce Platform Developer II Practice test therefore represents an excellent tool to prepare for the actual exam together with our Salesforce practice test . Our PDII: Salesforce Platform Developer II Simulator will help you assess your level of preparation and understand your strengths and weaknesses. Below you can read all the quizzes you will find in our PDII: Salesforce Platform Developer II Simulator and how our unique PDII: Salesforce Platform Developer II Database made up of real questions:

Info quiz:

  • Quiz name:PDII: Salesforce Platform Developer II
  • Total number of questions:201
  • Number of questions for the test:50
  • Pass score:80%

You can prepare for the PDII: Salesforce Platform Developer II exams with our mobile app. It is very easy to use and even works offline in case of network failure, with all the functions you need to study and practice with our PDII: Salesforce Platform Developer II Simulator.

Use our Mobile App, available for both Android and iOS devices, with our PDII: Salesforce Platform Developer II Simulator . You can use it anywhere and always remember that our mobile app is free and available on all stores.

Our Mobile App contains all PDII: Salesforce Platform Developer II practice tests which consist of 201 questions and also provide study material to pass the final PDII: Salesforce Platform Developer II exam with guaranteed success. Our PDII: Salesforce Platform Developer II database contain hundreds of questions and Salesforce Tests related to PDII: Salesforce Platform Developer II Exam. This way you can practice anywhere you want, even offline without the internet.

BUY NOW