This page was exported from Exams Labs Braindumps [ http://blog.examslabs.com ]
Export date: Sat Nov 23 12:20:18 2024 / +0000 GMT

Go to PDII Questions - Try PDII dumps pdf [Q44-Q64]




Go to PDII Questions - Try PDII dumps pdf

Dumps Practice Exam Questions Study Guide for the PDII Exam

Q44. A Salesforce developer created a Contact validation rule so that the Email field cannot contain “abc.com.” There is an active workflow rule that updates the Email field of a contact record to “[email protected]” if the contact’s First Name field contains the word “Test.” A customer tries to create a Contact record with the first name “Test Contact” and the email “[email protected].” What behavior will be observed?

 
 
 
 

Q45. Assuming the CreateOneAccount class creates one account and implements the Queuetable interface, which syntax tests the Apex code?
A)

B)

C)

D)

 
 
 
 

Q46. Universal Containers wants to use an external Web Service provided by a third-party vendor to validate that shipping and billing addresses are correct. The current vendor uses basic password authentication, but Universal Containers might switch to a different vendor who uses OAuth. What would allow Universal Containers to switch vendors without updating the code to handle authentication?

 
 
 
 

Q47. 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?

 
 
 
 

Q48. An Apex trigger and Apex class increment a counter, Edit_Count_c, any time that the Case is changed.

A new process on the case object was just created in production for when a Case is created or updated< since the process was created, they are reports that the Count is being incremented by more than one on Case edit.
Which change in the Apex code will fix the problem?
A)

B)

C)

D)

 
 
 
 

Q49. Within the System.Limit class, what would you call to get the number of calls made in your transaction?

 
 

Q50. A Lightning Component has a section that displays some information about an Account and it works well on the desktop, but users have to scroll horizontally to see the Description field output on their mobile devices and tablets.

Which option has the changes to make the component responsive for mobile and tablet devices?

 
 
 
 

Q51. There is an Apex controller and a Visualforce page in an org that displays records with a custom filter consisting of a combination of picklist values selected by the user.
The page takes too long to display results for some of the input combinations, while for other input choices it throws the exception, *Maximum view state size limit exceeded.
What step should the developer take to resolve this issue?

 
 
 
 

Q52. A developer needs test data for Apex test classes.
What can the developer use to provide test data to the test methods? (Choose two.)

 
 
 
 

Q53. After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms? Choose 2 answers

 
 
 
 

Q54. Line 1 public class AttributeTypes Line 2 { Line 3 private final String[] arrayItems; Line 4 Line 5 @AuraEnabled Line 6 public List<String> getStringArray() { Line 7 Strings+ arrayItems = new String*+, ‘red’, ‘green’, ‘blue’ -; Line 8 return arrayItems; Line 9 } Line 10 } Consider the Apex controller above that is called from a Lightning Aura Component. What is wrong with it?

 
 
 
 

Q55. A developer Is tasked with ensuring that email addresses entered into the system for Contacts and for a Custom Object called Survey_Response__c do not belong to a list of blacklisted domains. The list of blacklisted domains will be stored In a custom object for ease of maintenance by users. Note that the Survey_Response__c object is populated via a custom visualforce page.
What is the optimal way to implement this?

 
 
 
 

Q56. A company needs to automatically delete sensitive information after 7 years. This could delete almost a million records every day.
How can this be achieved?

 
 
 
 

Q57. A developer has created a Visualforce page for inputting data and needs to display errors at the field level.
What tag should the developer use?

 
 
 
 

Q58. Consider the controller code above that is called from a Lightning component and returns data wrapped in a class.

Consider the controller code above that is called from a Lightning component and returns data wrapped in a class.
The developer verified that the Queries return a single record each and there is error handing in the Lightning component, but the component is not getting anything back when calling the controller getSomeData().
What is wrong?

 
 
 
 

Q59. A company has a custom object. Request__c. that has a field, Completed__c. and a Lookup to Opportunity, Opportunity__c.
Which SOQL query will get a unique list of all of the Opportunity records that have a Completed Request?

 
 
 
 

Q60. What is the transaction limit for the number of records using QueryLocator?

 
 
 
 
 

Q61. When calling a RESTful web service, the developer must implement two-way SSL authentication to enhance security. The Salesforce admin has generated a self-sign certificate within Salesforce with a unique name of “ERPSecCertificate”.
Consider the following code snippet:
Which method must the developer implement in order to sign the HTTP request with the certificate?

 
 
 
 

Q62. What Visualforce tag can be used to display custom messages in pages using the Salesforce UI styling for errors, warnings, and other types of messages?

 
 
 
 

Q63. A developer is building a Lightning web component to get data from an Apex method called getData that takes a parameter, name. The data should be retrieved when the user clicks the Load Data button.
Exhibit.

What must be added to get the data?

 
 
 
 

Q64. What is a valid request for the following REST method? (Choose two.)
@HttpPost global static void myPostMethod(String sl, Integer il, Boolean bl, String 52)

 
 
 
 

Free Salesforce Developers PDII Exam Question: https://www.examslabs.com/Salesforce/Salesforce-Developers/best-PDII-exam-dumps.html

Post date: 2022-11-06 15:29:35
Post date GMT: 2022-11-06 15:29:35
Post modified date: 2022-11-06 15:29:35
Post modified date GMT: 2022-11-06 15:29:35