function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
FighterneversetbackFighterneversetback 

Hi...I am preparing for PD1 exam and I am confused with some of the practice questions. Can some one please help??

1. Universal Containers (UC) has an integration with its Accounting system that creates tens of thousands of orders inside
Salesforce in a nightly batch. UC wants to add automation that can attempt to match Leads and contact to these orders.
Using the Email Address field on the insert. UC is concerned about the performance of the automation with large data volume.
 
Which tool should UC use to automate this process?
A.      Apex ( Ans )
B.      Process Builder with an Autolaunched Flow ( Ans )
C.      Workflow Rules
D.     Process Builder

2. Which type of controller should a developer use to include a list of related records for a Custom Object record on a Visualforce page without needing additional test coverage?
A.      List Controller
B.      Standard Controller ( Ans )
C.      Controller Extension ( Ans )
D.      Custom Controller

3.  A lead record that has a single related CampaignMember object is converted into a new account, contact, and Opportunity.
Which object will the CampaignMember reference using a lookup field after conversion?
A.      The Account
B.      The Opportunity  ( Ans )
C.      The Contact ( Ans )
D.     The Product2
 
4.  Which three declarative fields are correctly mapped to variable types in Apex?
Choose 3 answers
A.      TextArea maps to List of type String ( Ans )
B.      Number maps to Integer ( Ans )
C.      Checkbox maps to Boolean ( Ans )
D.     Date/Time maps to Datetime ( Ans )
E.      Number maps to Decimal ( Ans )
 
5.  A developer is asked to write negative tests as part of the unit testing for a method that calculates a person’s age based on birth date.
What should the negative test include?
A.      Asset that a null value is accepted by the method.
B.      Assert that past dates are accepted by the method.
C.      Throwing a custom exception in the unit test. ( Ans )
D.     Assert that future dates are rejected by the method. ( Ans )

6.  What are two considerations for deciding to use a roll-up summary field?
Choose 2 answers
A.      Roll-up summary fields do not cause validation rules on the parent object unless that object is edited separately. ( Ans )
B.      Roll-up summary can be performed on formula fields, but if their formula contains an #Error result, it may affect the summary value. ( Ans )
C.      Roll-up cannot be performed on formula fields that use cross-object references or on-the-fly calculations such as NOW(). ( Ans )
D.     Roll-up cannot be performed on formula fields.

7.  A developer needs to display all of the available fields for an object.
In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object?
Choose 2 answers
A.      Use getGlobalDescribe().get(myObject).getDescribe().fields.getMap() to return a map of fields. ( Ans )
B.      Use myObject.sObjectType.getDescribe().fieldSet() to return a set of fileds.
C.      Use SObjectType.myObject.fields.getMap() to return a map of fields. ( Ans )
D.     Use Schema.describeSObjects(new String[]{myObject})[0].fields.getMap() to return a map of fields. ( Ans )

8.  What are two features of Heroku Connect?
Choose 2 answers
A.      Displaying data from an external data store via External Objects
B.      Bidirectional syncs, allowing data to be written into SFDC ( Ans )
C.      Near Real Time Sync between Heroku Postgres and Salesforce ( Ans )
D.     Real Time Sync between Salesforce and Postgres ( Ans )

9. 
  1. A visualforce page is written with the following controller and extensions:
<apex.page standardController=”Account” extensions =”myExtension”>
                            <apex:inputField vaue=”(!Account.name)”/><p/>
<Apex:commandButton value=”Save” action=”(!save)”/>
</apex:page>
The extension class myExtension has a public save()method.
Which save method or methods will be used by the visualforce page?
  1. The save method from the controller extension ( Ans )
  2. Both – the standardController first, then myExtension ( Ans )
  3. Both – the myExtension first, the standardController
  4. The save method from the standardController


10. A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes.How should the developer design the Apex classes?
  1. Have each class implement an interface that defines method getTextSummary() that returns the summary( Ans )
  2. Have each class define method getTextSummary() that returns the summary.
  3. Have each class define method getObject() that returns the sObject that returns the sObject that Is controlled by the Apex class.
  4. Extend each class from the same base class that has a method getSummary() that returns the summary. ( Ans )




 
 
Rex MillerRex Miller
Prepare for Salesforce Certification  from website : https://www.ebsose.com. Available 24*7 Support . Immediate Delivery. 
Project support and Salesforce training is also provided for Admin , Development , Integration , CPQ and QA at www.ebsose.com . 
For all latest salesforce certification SU20 materials mail us at ebsosedotcom@gmail.com
If you need help on any superbadge or salesforce certification mail us at ebsosedotcom@gmail.com
Summer 20 Dumps all Available
We have Following latest certification of 
0. B2B Commerce Admin
1. Admin 201
2. App Builder
3. Platform developer 1
4. Platform Developer 2
5. Sales Cloud
6. Service Cloud
7. Community Cloud
8. Marketing cloud Email Specialist
9. Marketing cloud Cloud Consultant
10. CPQ
11. FSL
12. Data Management Architecture
13. Integration architecture
14. Identity Access management
15. Development Lifecycle
16. Pardot Specialist
17. Advance Admin
18. Sharing Visibilty Designer 
19. Einstein Analytics
20. Non- Profit Cloud
21. Marketing cloud developer 1
 
Emperor GramEmperor Gram
Now Salesforce All latest Updated every week dumps available at https://www.allrecentdumps.com
For all latest salesforce certification dumps mail us at allrecentdumps@gmail.com
If you need help on any superbadge or salesforce certification mail us at allrecentdumps@gmail.com
24*7 AND IMMEDIATE DELIVERY OF DUMPS.
All Summer 20 Dumps are available. We have Following latest certification of 
•    Copado Admin
•    Copado Developer
•    Vlocity Platform Essential
•    B2B Commerce Admin    
•    Javascript Developer 1 Dumps
•    Admin 201
•    App Builder
•    Platform developer 1
•    Platform Developer 2
•    Sales Cloud
•    Service Cloud
•    Community Cloud
•    Marketing cloud Email Specialist
•    Marketing cloud Cloud Consultant
•    Marketing Cloud Admin
•    Marketing Cloud Developer
•    CPQ Specialist
•    Field Service Lightning
•    Data Management Architecture
•    Integration architecture
•    Identity Access management
•    Development Lifecycle
•    Pardot Specialist
•    Advance Admin
•    Sharing Visibilty Designer 
•    Einstein Analytics
 
Thomas JohThomas Joh
You can contact me for any help and exact questions and answers for the latest Winter 21 certifications at salesforcecertguide2018[at]gmail.com. 100% pass rate. All exact screenshots and 100% accuracy. Trusted by many for passing all their exams.