2023 Realistic Verified PDII exam dumps Q&As - PDII Free Update
Use Real PDII Dumps - 100% Free PDII Exam Dumps
To earn the PDII certification, candidates must have a solid understanding of the Salesforce platform and be able to develop custom solutions that meet the business requirements of their organization. Salesforce Certified Platform Developer II (PDII) certification exam consists of multiple-choice questions and performance-based scenarios that test the candidate's ability to design, develop, and implement solutions on the Salesforce platform. PDII exam is designed to assess the candidate's ability to apply their knowledge of Apex and Visualforce to real-world scenarios. The PDII certification is a valuable asset for developers who want to showcase their skills and knowledge to potential employers and advance their careers in the Salesforce ecosystem.
NEW QUESTION # 26
A company has an Apex process that makes multiple extensive database operations and web service callouts.
The database processes and web services can take a long time to run and must be run sequentially.
How should the developer write this Apex code without running into running into governor limits and system limitations?
- A. Use Limits class to stop entire process once governor limits are reached
- B. Use Apex Scheduler to schedule each process
- C. Use multiple @future methods for each process and callout
- D. Use Queueable Apex to chain the jobs to run sequentially
Answer: D
NEW QUESTION # 27
A developer wants to call an Apex Server-side Controller from a Lightning Aura Component. What are two limitations to the data being returned by the Controller? Choose 2 answers
- A. Only Basic data types and sObjects are supported as return types for Apex Controllers called by Lightning Aura Components.
- B. A Lists of Custom Apex Classes cannot be returned by Apex Controllers called by Lightning Aura Components.
- C. Basic data types are supported, but defaults, such as maximum size for a number, are defined by the objects that they map to.
- D. A custom Apex Class can be returned, but only the values of public instance properties and methods annotated with @AuraEnabled are serialized and returned.
Answer: C,D
NEW QUESTION # 28
What is a consideration when using bind variables with dynamic SOQL? Choose 2 answers
- A. Bind variables must be public or global.
- B. Dynamic SOQL cannot use bind variables.
- C. Bind variables must be in local scope.
- D. Dynamic SOQL cannot reference fields on bind variables.
Answer: C,D
NEW QUESTION # 29
An org has a custom object, Registeration_c that has a lookup relationship to the Opportunity object.
What should a developer use to create a stand-alone Vlsualforce page that displays the Registration__c records related to an Opportunity.
- A. A standard controller
- B. A custom controler
- C. A controler extension
- D. A standard controller with a controller extension
Answer: A
NEW QUESTION # 30
A company exposes a REST web service and wants to establish two-way SSL between Salesforce and the REST web service. A certificate signed by an appropriate certificate authority has been provided to the developer. What modification is necessary on the Salesforce side? Choose 2 answers
- A. Update the code to use HttpRequest .setClientCertificateName
- B. Configure two-factor authentication with the provided certificate.
- C. Create an entry for the certificate in Certificate and Key Management.
- D. Update the code to use HttpRequest.setHeader() to set an Authorization header.
Answer: A,C
NEW QUESTION # 31
A developer is creating a page in App Builder that will be used in the Salesforce mobile app.
Which two practices should the developer follow to ensure the page operates with optimal performance?
Choose 2 answers
- A. Analyze the page with Performance Analysis for App Builder.
- B. Limit the number of Tabs and Accordion components.
- C. Limit five visible components on the page.
- D. Limit 25 fields on the record detail page.
Answer: A,D
NEW QUESTION # 32
Universal Containers has an Apex trigger on Account that creates an Account Plan record when an Account is marked as a Customer. Recently a workflow rule was added so that whenever an Account is marked as a Customer, a 'Customer Since' date field is updated with today's date.
Since the addition of the workflow rule, two Account Plan records are created whenever the Account is marked as a Customer.
What might cause this to happen?
- A. The Apex trigger does not use a static variable to ensure it only fires once.
- B. The workflow rule field update is marked as 'Re-evaluate Workflow Rules After Field Change."
- C. The workflow rule is configured to evaluate when a record is created and every time it is edited.
- D. The Apex trigger is not bulk safe and calls insert inside of a for loop.
Answer: B
NEW QUESTION # 33
Recently a Salesforce org's integration failed because it exceeded the number of allowed API calls in a 24- hour period. The integration handles a near real-time, complex insertion of data into Salesforce.
The flow of data is as follows:
* The integration looks up Contact records with a given email address and, if found, the integration adds a Task to the first matching Contact it finds.
* If a match is not found, the integration looks up Lead records with a given email address and, if found, the integration adds a Task to the first matching Lead it finds.
* If a match is not found, the integration will create a Lead and a Task for that newly created Lead.
What is one way in which the integration can stay near real-time, but not exceed the number of allowed API calls in a 24-hour period?
- A. Write a custom Apex web service that, given an email address, does all of the logic the integration code was doing.
- B. Create an Inbound Message that, using Flow, can do all of the logic the integration code was doing.
- C. Use the REST API as well as the SOAP API to effectively double the API calls allowed in a 24-hour period.
- D. Create several Apex InboundEmailHandlers to accept calls from the third-party system, thus bypassing the API limits.
Answer: D
Explanation:
Explanation
NEW QUESTION # 34
A lead developer for a Salesforce organization needs to develop a page-centric application that allows the user to interact with multiple objects related to a Contact The application needs to implement a third-party JavaScript framework such as Angular, and must be made available in both Classic and Lightning Experience.
Given these requirements, what is the recommended solution to develop the application?
- A. Visualforce
- B. Lightning Web Components
- C. Aura Components
- D. Lightning Experience Builder
Answer: A
NEW QUESTION # 35
Which two relationship queries use the proper syntax? (Choose two.)
- A. SELECT Id, Name, Account.Name FROM Contact WHERE Account.Industry = 'Media'
- B. 'Media'
SELECT Name, (SELECT LastName FROM Contacts__r) FROM Account - C. SELECT Name, (SELECT LastName FROM Contacts) FROM Account
- D. SELECT Id, Name, Account__r.Name FROM Contact WHERE Account__r.Industry
Answer: A,C
NEW QUESTION # 36
Given the following containment hierarchy:
What is the correct way to communicate the new value of a property named ''passthrough'' to my-parent component if the property is defined within my-child-component?
A)
B)
C)
D)
- A. Option A
- B. Option D
- C. Option B
- D. Option C
Answer: C
NEW QUESTION # 37
Which use case can be performed only by using asynchronous Apex?
- A. Querying tens of thousands of records
- B. Updating a record after the completion of an insert
- C. Calling a web service from an Apex trigger
- D. Making a call to schedule a batch process to complete in the future
Answer: C
NEW QUESTION # 38
A developer writes the following code:
While testing the code, the developer receives the following error message: System.CalloutException : You have uncommitted work pending What should the developer do? (Choose two.)
- A. Use the asyncSend() method of the HTTP class to send the request in async context
- B. Move the web service callout into an @future method
- C. Use Database.insert (order, true) to immediately commit any database changes
- D. Ensure all callouts are completed prior to executing DML statements
Answer: B,D
NEW QUESTION # 39
A company uses Salesforce to sell products to customers. They also have an external product information management (PIM) system that is the system of record for products.
A developer received these requirements:
* Whenever a product is created or updated in the PIM, a product must be created or updated as a Product2 record in Salesforce and a PricebookEntry record must be created or updated automatically by Salesforce.
* The PricebookEntry should be created In a Pricebook2 that is specified In a custom setting.
What should the developer use to satisfy these requirements?
- A. Apex REST
- B. Event Monitoring
- C. Invocable Action
- D. SObJect Tree
Answer: A
NEW QUESTION # 40
A developer is creating a Lightning web component that contains a child component. The property stage is being passed from the parent to the child. The public property is changing, but the setOppList function is not being invoked.
What should the developer change to allow this?
- A. Move the logic from connectedCalIback() to constructor().
- B. Move the logic to a getter/setter pair.
- C. Move the logic from connectedCallback() nto renderedCallback().
- D. Create a custom event from the parent component to set the property.
Answer: B
NEW QUESTION # 41
How can a developer efficiently incorporate multiple JavaScript libraries, such as JQuery and MomenUS, in a Lightning Component?
- A. Join multiple assets from a static resource.
- B. Implement the libraries in separate helper files.
- C. Use JavaScript remoting and script tags.
- D. Use CONs with script attributes
Answer: C
NEW QUESTION # 42
A developer created a Lightning web component that uses a Lightning-record-edit-form to collect information about Leads. Users complain that they only see one error message at a time when they save a Lead record.
Which best practice should the developer use to perform the validations, and allow more than one error message to be displayed simultaneously?
- A. Custom validation rules
- B. Client-side validation
- C. Process Builder
- D. Apex REST
Answer: B
NEW QUESTION # 43
A developer needs to design a custom object that will be integrated into a back-end system.
What should the developer do to ensure good data quality and to ensure that data imports, integrations, and searches perform well? (Choose two.)
- A. Configure a custom field as Salesforce ID
- B. Configure a custom field as external ID
- C. Configure a custom field as unique
- D. Configure a custom field as indexed
Answer: B,C
NEW QUESTION # 44
A developer creates an application event that has triggered an infinite loop. What may have caused this problem?
- A. The event Is fired from a custom renderer.
- B. The event handler calls a trigger.
- C. The event has multiple handlers registered in the project.
- D. An event is fired ontouchend" and is unhandled.
Answer: B
NEW QUESTION # 45
......
Pass PDII exam Updated 177 Questions: https://www.realvce.com/PDII_free-dumps.html
PDII Exam Dumps, Test Engine Practice Test Questions: https://drive.google.com/open?id=1-_JLTdqvEvc10W2aDvV_fJOT2nH8gA0y