Salesforce PDII Exam Dumps - PDF Questions and Testing Engine [Q215-Q238]

Share

Salesforce PDII Exam Dumps - PDF Questions and Testing Engine

Latest PDII Exam Dumps for Pass Guaranteed


Certification Path

Salesforce Platform Developer I, Superbadge Apex Specialist, Superbadge Data Integration Specialist, Superbadge Aura Components Specialist and Superbadge Advance Apex Specialist Certification can act as a prerequisite for this exam.

 

NEW QUESTION 215
A company uses a custom-built enterprise resource planning (ERP) system to handle order management. The company wants Sales Reps to know the status of orders so that if a customer calls to ask about their shipment, the Sales Rep can advise the customer about the order's status and tracking number if it is already shipped.
Which two methods can make this ERP order data visible in Salesforce? Choose 2 answers

  • A. Ensure real-time order data is in Salesforce using the Streaming API.
  • B. Write a cron job In Salesforce to poll the ERP system for order updates.
  • C. Use Salesforce Connect to view real-time Order data in the ERP system.
  • D. Have the ERP system push the data into Salesforce using the SOAP API.

Answer: C,D

 

NEW QUESTION 216
A developer must perform a complex SOQL query that joins two objects in a Lightning component. how can the Lightning component execute the query?

  • A. Create a Process Builder to execute the query and invoke from the Lightning component.
  • B. Invoke an Apex dass with the method annotated as @AiraEnabled to perform the query.
  • C. Use the SaJesforce Streaming API to perform the SOQL query.
  • D. Write the query in a custom Lightning web component wrapper and invoke from the Lightning component.

Answer: B

 

NEW QUESTION 217
A developer needs to create a service that will process an email sent to it and create an account and contact using the contents of the email as data for the records.
How might a developer accomplish this requirement?

  • A. Use Heroku Data Clips to Process Email
  • B. Use the Fuel API with Email Data Extensions
  • C. Use Auto-launched Flow and Process Builder
  • D. Use the Apex Inbound Email Handler

Answer: D

 

NEW QUESTION 218
Universal Containers (UC) currently does not development in its full copy sandbox.
Recently, UC has projects that require multiple developers to develop concurrently. UC is running into issues with developers making changes that cause errors In work done by other developers.
Additionally, when they are ready to deploy, many unit tests fail which prevents the deployment.
which three types of orgs should be recommended to UC to eliminate these problems?
Choose 3 answers

  • A. Continuous Integration (CI) Org
  • B. Staging org
  • C. Data Migration org
  • D. Development org
  • E. Systems Integration org

Answer: A,B,C

 

NEW QUESTION 219
What is the transaction limit on the recursive trigger depth?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. There is no limit

Answer: A

 

NEW QUESTION 220
Universal Containers (UC) wants to develop a customer community to help their customers log issues with their containers. The community needs to function for their German- and Spanish-speaking customers also.
UC heard that it's easy to create an international community using Salesforce, and hired a developer to build out the site.
What should the developer use to ensure the site is multilingual?

  • A. Use Custom Metadata to translate custom picklist values.
  • B. Use Custom Objects to translate custom picklist values.
  • C. Use Custom Labels to ensure custom messages are translated property.
  • D. Use Custom Settings to ensure custom messages are translated properly.

Answer: C

 

NEW QUESTION 221
A developer must create a custom pagination solution. While users navigate through pages, if the data is changed from elsewhere, users should still see the cached results first accessed. How can the developer meet these requirements?

  • A. Use a StandardSetController.
  • B. Use OFFSET WITH CACHE in SOQL queries
  • C. Use OFFSET in SOQL queries.
  • D. Use @Cache annotation.

Answer: A

 

NEW QUESTION 222
Which is a valid Apex REST Annotation? (Choose two.)

  • A. ©HttpUpsert
  • B. @HttpDelete
  • C. @Http Patch
  • D. @HttpAction

Answer: B,C

 

NEW QUESTION 223
A developer wants to retrieve and deploy metadata, perform a simple CSV export of query results, and debug APEX Rest calls by viewing the JSON responses. Which tool should the developer use?

  • A. Force.com IDE
  • B. Force.com Migration Tool
  • C. Developer Console
  • D. Workbench

Answer: D

 

NEW QUESTION 224
What is the transaction limit on the recursive trigger depth?

  • A. 0
  • B. 1
  • C. 2
  • D. 3
  • E. There is no limit

Answer: A

Explanation:
Explanation

 

NEW QUESTION 225

What should be added to the setup, in the location indicated, for the unit test above to create the controller extension for the test?
A)

B)

C)

D)

  • A. Option D
  • B. Option C
  • C. Option B
  • D. Option A

Answer: B

 

NEW QUESTION 226
Which one do you like?

  • A. Option 2
  • B. Option 1
  • C. Option 3
  • D. Option 4

Answer: A

 

NEW QUESTION 227
A business requires that every parent record must have a child record. A developer writes an Apex method with two DML statements to insert a parent record and a child record.
A validation rule blocks child records from being created. The method uses a try/catch block to handle the DML exception.
What should the developer do to ensure the parent always has a child record?

  • A. Use addError () on the parent record if an error occurs on the child record.
  • B. Delete the parent record in the catch statement when an error occurs on the child record DML operation.
  • C. Set a database savepoint to rollback if there are errors.
  • D. Use Database.insert () and set the allorNone parameter to true.

Answer: C

 

NEW QUESTION 228
Exhibit:

What should be added to the setup, in the location indicated, for the unit test above to create the controller extension for the test?
A)

B)

C)

D)

  • A. Option D
  • B. Option C
  • C. Option B
  • D. Option A

Answer: B

 

NEW QUESTION 229
When developing a Lightning web component, which setting displays lightning-layout-items in one column on small devices, such as mobile phones, and in two columns on tablet-size and desktop-size screens?

  • A. Set size="12" tablet-device-size="6"
  • B. Set size="6" small-device-size="12"
  • C. Set size="12" medium-device-size="6"
  • D. Set size="6" mobile-device-size="12"

Answer: C

 

NEW QUESTION 230
An org has a requirement that the Shipping Address on the Account must be validated by a third-party web service, before the Account is allowed to be inserted.
What is the optimal way to meet this requirement?

  • A. Make a callout to the web service from an after insert trigger.
  • B. Make a callout to the web service from a standard Visualforce controller.
  • C. Make a callout to the web service from a before insert trigger.
  • D. Make a callout to the web service from a custom Visualforce controller.

Answer: B

 

NEW QUESTION 231
A developer is trying to decide between creating a Visualforce component or a Lightning component for a custom screen. Which functionality consideration impacts the final decision?

  • A. Does the screen need to be rendered as a PDF?
  • B. Does the screen need to be accessible from the Lightning Experience UI?
  • C. Will the screen make use of a JavaScript framework?
  • D. Will the screen be accessed via a mobile app?

Answer: D

 

NEW QUESTION 232
The maximum view state size of a visualforce page is______________.

  • A. 256kb
  • B. 165kb
  • C. 65kb
  • D. 135kb
  • E. 1mb

Answer: D

 

NEW QUESTION 233
Universal Containers implements a private sharing model for the Convention_Attendence_c 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 Read/write 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?

  • A. Create a Before Insert trigger on the Convention Attendee custom object, and use Apex Sharing Reasons and Apex Managed Sharing.
  • B. Create criteria-based sharing rules on the Convention Attendee custom object to share the records with the Event Reviewers.
  • C. Create a criteria-based sharing rule on the Convention Attendee custom object to share the records the a group of Event Reviewers.
  • D. Create an After Insert trigger on the Convention Attendee custom object, and use Apex Sharing Reasons and Apex Managed Sharing.

Answer: A

 

NEW QUESTION 234
A developer has been asked to create code that will meet the following requirements:
Receives input of: Map<Id, Project_c), List<Account>
Performs a potentially long-running callout to an outside web service
Provides a way to confirm that the process executed successfully
Which asynchronous feature should be used?

  • A. Queueable interface
  • B. @future (callout=true)
  • C. Database.AllowCallouts interface
  • D. Schedulable interface

Answer: A

 

NEW QUESTION 235
An org has a requirement that addresses on Contacts and Accounts should be normalized to a company standard by Apex code any time that they are saved.
What is the optimal way to implement this?

  • A. Apex trigger on Account that calls the Contact trigger to normalize the address
  • B. Apex trigger on Account and Account that call a helper class to normalize the address
  • C. Apex trigger on Contact that calls the Account trigger to normalize the address
  • D. Apex trigger on Account that and Account that normalized the address

Answer: B

 

NEW QUESTION 236
When testing batch classes, what must a developer do? (Choose two.)

  • A. Encapsulate code in Test.startTestQ and Test.stopTestQ
  • B. Use seeAIIData=true
  • C. Call the class* "execute" method
  • D. Limit the amount of records you test to < 200

Answer: A,D

Explanation:
If you use "seeAIIData=true," you are a bad person

 

NEW QUESTION 237
How long is field history retained?

  • A. 18 months
  • B. 36 months
  • C. 24 months
  • D. 6 months
  • E. 12 months

Answer: A

 

NEW QUESTION 238
......

Reliable Salesforce Developers PDII Dumps PDF Jul 31, 2022 Recently Updated Questions: https://examcollection.dumpsvalid.com/PDII-brain-dumps.html