Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Pass the Salesforce Developers PDI Questions and answers with ValidTests

Exam PDI All Questions
Exam PDI Premium Access

View all detail and faqs for the PDI exam

Viewing page 2 out of 7 pages
Viewing questions 11-20 out of questions
Questions # 11:

What are two considerations for deploying from a sandbox to production?

Choose 2 answers

Options:

A.

At least 75% of Apex code must be covered by unit tests.

B.

Unit tests must have calls to the System.assert method.

C.

Should deploy during business hours to ensure feedback can be quickly addressed.

D.

All triggers must have at least one line of test coverage.

Expert Solution
Questions # 12:

A developer must troubleshoot to pinpoint the causes of performance issues when a custom page loads in their org.

Which tool should the developer use to troubleshoot query performance?

Options:

A.

Setup Menu

B.

Visual Studio Code IDE

C.

AppExchange

D.

Developer Console

Expert Solution
Questions # 13:

Developers at Universal Containers (UC) use version control to share their code changes, but they notice that when they deploy their code to different environments they often have failures. They decide to set up Continuous Integration (CI).

What should the UC development team use to automatically run tests as part of their CI process?

Options:

A.

Salesforce CLI

B.

Visual Studio Code

C.

Force.com Toolkit

D.

Developer Console

Expert Solution
Questions # 14:

Which code statement includes an Apex method named updateAccounts in the class AccountController for use in a Lightning web component?

Options:

A.

import updateAccounts from "AccountControlles';

B.

import updateAccounts from "Salesforce/apex/AccountController:';

C.

import updateAccounts from "Account@ontroller.updateAccounts';

D.

import updateAccounts from "@salesforce/apex/AccountController.updateAccounts";

Expert Solution
Questions # 15:

A team of developers is working on a source-driven project that allows them to work independently, with many different org configurations.

Which type of Salesforce orgs should they use for their development?

Options:

A.

Developer sandboxes.

B.

Full Copy sandboxes

C.

Developer orgs

D.

Scratch orgs

Expert Solution
Questions # 16:

What should a developer use to fix a Lightning web component bug in a sandbox?

Options:

A.

Developer Console

B.

Force.com IDE

C.

Execute Anonymous

D.

VS Code

Expert Solution
Questions # 17:

Refer to the component code requirements below:

{!v.account.Name}

{!v.account.AccountNumber}

{!v.account.Industry}

Requirements:

    For mobile devices, the information should display in three rows.

    For desktops and tablets, the information should display in a single row.

Requirement 2 is not displaying as desired.

Which option has the correct component code to meet the requirements for desktops and tablets?

Options:

A.

{!v.account.Name}

{!v.account.AccountNumber}

{!v.account.Industry}

B.

{!v.account.Name}

{!v.account.AccountNumber}

{!v.account.Industry}

C.

{!v.account.Name}

{!v.account.AccountNumber}

{!v.account.Industry}

D.

{!v.account.Name}

{!v.account.AccountNumber}

{!v.account.Industry}

Expert Solution
Questions # 18:

(Full question statement)

A developer must create a CreditCardPayment class that provides an implementation of an existing Payment class.

public virtual class Payment {

public virtual void makePayment(Decimal amount) {

// implementation

}

}

Which is the correct implementation?

Options:

A.

public class CreditCardPayment extends Payment { public virtual void makePayment(Decimal amount) { /* implementation */ } }

B.

public class CreditCardPayment implements Payment { public virtual void makePayment(Decimal amount) { /* implementation */ } }

C.

public class CreditCardPayment implements Payment { public override void makePayment(Decimal amount) { /* implementation */ } }

D.

public class CreditCardPayment extends Payment { public override void makePayment(Decimal amount) { /* implementation */ } }

Expert Solution
Questions # 19:

For which three items can a trace flag be configured?

Choose 3 answers

Options:

A.

Apex Class

B.

Flow

C.

User

D.

Visualforce

E.

Apex Trigger

Expert Solution
Questions # 20:

The following code snippet is executed by a Lightning web component in an environment with more than 2,000 lead records:

Question # 20

Which governor limit will likely be exceeded within the Apex transaction?

Options:

A.

Total number of SOOL quires issued

B.

Total number of DML statements issued

C.

Total number of records processed as a result of DML statements

Expert Solution
Viewing page 2 out of 7 pages
Viewing questions 11-20 out of questions