100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
PD1 exam with correct answers 2024 $14.99   Add to cart

Exam (elaborations)

PD1 exam with correct answers 2024

 5 views  0 purchase
  • Course
  • PD1
  • Institution
  • PD1

A developer wants to import 500 Opportunity records into a sandbox. Why should the developer choose to use Data Loader instead of Data Import Wizard? A. Data Loader runs from the developer's browser. B. Data Loader automatically relates Opportunities to Accounts. C. Data Import Wizard does not s...

[Show more]

Preview 4 out of 44  pages

  • October 12, 2024
  • 44
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • PD1
  • PD1
avatar-seller
HopeJewels
PD1

A developer wants to import 500 Opportunity records into a sandbox. Why should the
developer choose to use Data Loader instead of Data Import Wizard?
A. Data Loader runs from the developer's browser.
B. Data Loader automatically relates Opportunities to Accounts.
C. Data Import Wizard does not support Opportunities.
D. Data Import Wizard can not import all 500 records. correct answers C. Data Import
Wizard does not support Opportunities.

A company has been adding data to Salesforce and has not done a good Job of limiting
the creation of duplicate Lead records. The developer is considering writing an Apex
process to identify duplicates and merge the records together. Which two statements
are valid considerations when using merged?
Choose 2 answers

A. Merge is supported with accounts, contacts, cases, and leads.

B. External ID fields can be used with the merge method.

C. The merge method allows up to three records, including the master and two
additional records with the same sObject type, to be merged into the master record.

D. The field values on the master record are overwritten by the records being merged.
correct answers A. Merge is supported with accounts, contacts, cases, and leads.
C. The merge method allows up to three records, including the master and two
additional records with the same sObject type, to be merged into the master record.

Which three Salesforce resources can be accessed from a Lightning web component ?
Choose 3 answers

A. Third-party web components
B. Content asset files
C. All external libraries
D. SVG resources
E. Static resources correct answers C. All external libraries
D. SVG resources
E. Static resources

Universal Containers wants Opportunities to no longer be editable when reaching the
Closed/Won stage. Which two strategies can a developer use to accomplish this?
(Choose two.)

,A. Use an after-save flow.
B. Use a validation rule.
C. Use the Process Automation Settings.
D. Use a trigger. correct answers B. Use a validation rule.
D. Use a trigger.

A developer must create a Lightning component that allows user to input Contact record
information to create a Contact record, including a Salary__c custom field. What should
the developer use, along with a lightning-record-edit-form, so that Salary__c field
functions as a currency input and is only viewable and editable by users that have the
correct field level permissions on Salary__c?

A. <lightning-input-currency value="Salary__c"></lightning-input-currency>

B. <ligthning-input-field field-name="Salary__c"></lightning-input-field>

C. <lightning-input type="number" value="Salary__c" formatter="currency"></lightning-
input>

D. <lightning-formatted-number value="Salary__c" format-style="currency"></lightning-
formatted-number> correct answers B. <ligthning-input-field
field-name="Salary__c"></lightning-input-field>

*?* Universal Containers decides to use exclusively declarative development to build
out a new Salesforce application. Which three options should be used to build out the
database layer for the application?
(Choose three.)

A. Flows
B. Roll-up summaries
C. Triggers
D. Relationships
E. Custom objects and fields correct answers B. Roll-up summaries
D. Relationships
E. Custom objects and fields

What are three characteristics of change set deployments?
Choose 3 answers

A . Change sets can only be used between related organizations.
B . Change sets can be used to transfer records.
C . Sending a change set between two orgs requires a deployment connection.
D . Change sets can deploy custom settings data.
E . Deployment is done in a one-way, single transaction. correct answers A . Change
sets can only be used between related organizations.
B . Change sets can be used to transfer records.

,E . Deployment is done in a one-way, single transaction.

If Apex code executes inside the execute() method of an Apex class when implementing
the Batchable interface, which two statements are true regarding governor limits?
(Choose two.)

A. The Apex governor limits are reset for each iteration of the execute() method.
B. The Apex governor limits cannot be exceeded due to the asynchronous nature of the
transaction.
C. The Apex governor limits might be higher due to the asynchronous nature of the
transaction.
D. The Apex governor limits are relaxed while calling the constructor of the Apex class.
correct answers A. The Apex governor limits are reset for each iteration of the execute()
method.

C. The Apex governor limits might be higher due to the asynchronous nature of the
transaction.

Which action causes a before trigger to fire by default for Accounts?

A. Updating addresses using the Mass Address update tool
B. Importing data using the Data Loader and the Bulk API
C. Renaming or replacing picklist
D. Converting Leads to Contact accounts correct answers B. Importing data using the
Data Loader and the Bulk API

What should a developer use to script the deployment and unit test execution as part of
continuous integration?
A. Developer Console
B. Salesforce CLI
C. VS Code
D. Execute Anonymous correct answers B. Salesforce CLI

A developer considers the following snippet of code:

Boolean isOK;
integer x;
String theString = 'Hello';
if (isOK == false && theString == 'Hello') {
x = 1;
} else if (isOK == true && theString =='Hello') {
x = 2;
} else if (isOK != null && theString == 'Hello') {
x = 3;
} else {
x = 4;

, }

Based on this code, what is the value of x?
A. 4
B. 2
C. 3
D. 1 correct answers A. 4

How should a developer write unit tests for a private method in an Apex class?

A. Add a test method in the Apex class.
B. Mark the Apex class as global.
C. Use the SeeAllData annotation.
D. Use the TestVisible annotation. correct answers D. Use the TestVisible annotation.

A developer must create a DrawList class that provides capabilities defined in the
Sortable and Drawable interfaces.
public interface Sortable {
void sort();
}
public interface Drawable {
void draw();
}
Which is the correct implementation?

A. Public class DrawList implements Sortable, Implements Drawable {
public void sort() { /*implementation*/}
public void draw() { /*implementation*/}
}

B. Public class DrawList extends Sortable, Drawable {
public void sort() { /*implementation*/}
public void draw() { /*implementation*/}
}

C. Public class DrawList extends Sortable, extends Sortable, extends Drawable {
public void sort() { /*implementation*/ }
public void draw() { /* implementation */}
}

D. Public class DrawList implements Sortable, Drawable {
public void sort() { /*implementation*/}
public void draw() { /*implementation*/}
} correct answers D. Public class DrawList implements Sortable, Drawable {
public void sort() { /*implementation*/}
public void draw() { /*implementation*/}

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller HopeJewels. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $14.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

83637 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$14.99
  • (0)
  Add to cart