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

PDII Exam Dumps - Salesforce Certified Platform Developer II ( Plat-Dev-301 )

Searching for workable clues to ace the Salesforce PDII Exam? You’re on the right place! ExamCert has realistic, trusted and authentic exam prep tools to help you achieve your desired credential. ExamCert’s PDII PDF Study Guide, Testing Engine and Exam Dumps follow a reliable exam preparation strategy, providing you the most relevant and updated study material that is crafted in an easy to learn format of questions and answers. ExamCert’s study tools aim at simplifying all complex and confusing concepts of the exam and introduce you to the real exam scenario and practice it with the help of its testing engine and real exam dumps

Go to page:
Question # 25

Refer to the markup below:

HTML

<template>

record-id={recordId}

object-api-name="Account"

layout-type="Full">

</template>

A Lightning web component displays the Account name and two custom fields out of 275 that exist on the object. The custom fields are correctly declared and populated. However, the developer receives complain2223ts that the component performs slowly. What can the developer d2425o to improve the performance?

A.

Replace layout-type="Full" with fields={fields}.

B.

Add density="compact" to the component.

C.

Replace layout-type="Full" with layout-type="Partial".

D.

Add cache="true" to the component.

Full Access
Question # 26

Which tag should a developer use to display different text while an <apex:commandButton> is processing an action?

A.

<apex:actionStatus>

B.

<apex:actionPoller>

C.

<apex:pageMessages>

D.

<apex:actionSupport>

Full Access
Question # 27

Which select statement should be inserted to retrieve Tasks ranging from 12 to 24 months old, including archived tasks, and excluding deleted ones?

Java

Date initialDate = System.Today().addMonths(-24);

Date endDate = System.Today().addMonths(-12);

A.

[SELECT ... FROM Task WHERE What.Type = 'Account' AND isArchived=true AND CreatedDate => :initialDate ...]

B.

[SELECT ... FROM Task WHERE What.Type = 'Account' AND CreatedDate => :initialDate ... ALL ROWS]

C.

[SELECT ... FROM Task WHERE What.Type = 'Account' AND isDeleted=false AND CreatedDate => :initialDate ... ALL ROWS]

D.

[SELECT ... FROM Task WHERE What.Type = 'Account' AND isArchived=true AND CreatedDate => :initialDate ... ALL ROWS]

Full Access
Question # 28

A company wants to incorporate a third-party web service to set the Address fields when an Account is inserted, if they have not already been set. What is the optimal way to achieve this?

A.

Create a Before Save Flow, execute a Queueable job from it, and make a callout from the Queueable job.

B.

Create an Apex class, execute a Batch Apex job from it, and make a callout from the Batch Apex job.

C.

Create an Apex trigger, execute a Queueable job from it, and make a callout from the Queueable job.

D.

Create an Apex class, execute a Future method from it, and make a callout from the Future method.

Full Access
Question # 29

A developer is responsible for formulating the deployment process for a Salesforce project. The project follows a source-driven development approach, and the developer wants to ensure efficient deployment and version control of the metadata changes. Which tool or mechanism should be utilized for managing the source-driven deployment process?78

A.

Data Loader910

B.

Change Sets1112

C.

Salesforce CLI with Salesforce DX1314

D.

Unmanaged Packages1516

Full Access
Question # 30

After a platform event is defined in a Salesforce org, events can be published via which mechanism?

A.

External Apps require the standard Streaming API.

B.

Internal Apps can use outbound messages.

C.

External Apps use an API to publish event messages.

D.

Internal Apps can use entitlement processes.

Full Access
Question # 31

A company's support process dictates that any time a case is closed with a status of 'Could not fix,' an Engineering Review custom object record should be created and populated with information from the case, the contact, and any of the products associated with the case. What is the correct way to automate this using an Apex trigger?12

A.

A before update trigger on Case that creates the Engineering Review record and inserts it3456

B.

An after upset trigger on Case that creates the Engineering Review record and ins7erts it8910

C.

11 A before upset trigger on Case that creates the Engineering Review record and inserts it1213

D.

An after update trigger14 on Ca15se that creates the Engineering Review record and inserts it

Full Access
Question # 32

Universal Containers is leading a development team that follows the source-driven development approach in Salesforce. As part of their continuous integration and delivery (CI/CD) process, they need to automatically deploy changes to multiple environments, including sandbox and production. Which mechanism or tool would best support their CI/CD pipeline in source-driven development?

A.

Salesforce CLI with Salesforce DX

B.

Change Sets

C.

Salesforce Extensions for Visual Studio Code

D.

Ant Migration Tool

Full Access
Go to page: