Updated Salesforce PDII Exam Dumps To Be A Platform Developer II Certified

It is great that updated Salesforce PDII exam dumps are available at DumpsBase to help you be a Platform Developer II certified. The correct path of earning Platform Developer II (PDII) certification can refer to the diagram below:

It is required to have three Superbadges including Apex Specialist, Data Integration Specialist, and Advanced Apex Specialist, and pass PDII exam successfully. The most updated PDII exam dumps containing actual questions and answers to ensure that you can prepare for Salesforce Certified Platform Developer II exam well. 

Read Salesforce PDII Free Exam Dumps Below

1. A large company uses Salesforce across several departments. Each department has its own Salesforce Administrator. It was agreed that each Administrator would have their own sandbox in which to test changes. Recently, users notice that fields that were recently added for one department suddenly disappear without warning. Also, Workflows that once sent emails and created tasks no longer do so .

Which two statements are true regarding these issues and resolution? Choose 2 answers

2. Roll-up summary calculations

In what order do the following operations execute?

3. An integration user makes a successful login() call via the SOAP API.

What can be used in the SOAP header to provide server authorization for subsequent API requests?

4. How long is field history retained?

5. Where in a query can you use Geolocation and Distance? (Choose two.)

6. Universal Containers has a Visualforce page that displays a table every Container_ c being rented by a gives Account. failing because some of the customers rent over 100,000 containers.

What should a developer change about the Visualforce page to help with the page load errors?

7. A customer has a single Visualforce page that allows each user to input up to 1500 sales forecasts and instantly view pivoted forecast calculations. Users are complaining that the page is loading slowly, and they are seeing error messages regarding heap and view state limits.

What are three recommendations to optimize page performance? (Choose three.)

8. Within the System.Limit class, what would you call to get the total limit you can call in a

single transaction?

9. A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller's account number before proceeding with the rest of their call script.

Following best practices, what should a developer use to meet this requirement?

10. A developer has a page with two extensions overriding the Standard controller for Case.

What will happen when a user clicks the command button?

11. What is the best practice to initialize a Visualforce page in a test class?

12. A developer receives a LimitException: Too many query rows: 50001 error when running code.

What debugging approach using the Developer Console provides the fastest and most accurate mechanism to identify a specific component that may be returning an unexpected number of rows?

13. A managed package uses a list of country ISO codes and country names as references data in many different places. managed package Apex code.

What is the optimal way to store and retrieve the list?

14. Consider the following code snippet, depicting an Azure component:

Which two interfaces can the developer implement to make the component available as a quick action?

Choose 2 answers

15. How should a developer assert that a trigger with an asynchronous process has successfully run?

16. 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)

17. A developer needs to create a Lightning page for entering Order Information. An error message should be displayed if the zip code entered as part of the Order's shipping address is not numeric.

What is a recommended way for the error message be displayed to the end user?

18. Of Universal Containers uses Big Objects to store almost a billion customer transactions called Customer_Transaction__b. These are the fields on Customer_Transaction__b: Account__c Program__¢ Points_Earned__c Location__c Transaction_Date__c The following fields have been identified as Index Fields for the Customer_Transaction__b object: Account__c, Program__c, and Transaction_Date__c .

Which SOQL query is valid on the Customer_Transaction__b Big Object?

19. A developer is working on code that requires a call to an external web service from a batch .

How should the developer enable this functionality?

20. A company has a native iOS app for placing orders that needs to connect to Salesforce to retrieve consolidated information from many different objects in a JSON format .

Which is the optimal method to implement this in Salesforce?

21. A developer has generated Apex code from a WSDL for an external web service. The web service requires Basic authentication.

What code should the developer use to authenticate?

22. What tool in the Developer Console contains information on SOQL query Cardinality?

23. What is a recommended practice with regard to the Apex CPU limit? (Choose two.)

24. REST uses___________.

25. A developer has been asked to create code that will meet the following requirements:

Receives input of: Map<ld, 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?

26. .A developer is asked to update data in an org based on new business rules. The new rules state that Accounts with the type set to 'Customer' should have a status of 'Active,' and Accounts with the type set to 'Prospect' should have a status of 'Pending.' No other changes to data should be made .

Which code block will accurately meet the business requirements?

A)

B)

C)

D)

27. What is the transaction limit on the number of Apex jobs added to the queue?

28. A developer needs to send Account records to an external system for backup purposes. The process must take a snapshot of Accounts as they are saved and then make a callout to a RESTful web service. The web service can only receive, at most, one record per call .

Which feature should be used to implement these requirements?

29. A Lightning Component functions in preview mode and needs to be used inside a Lightning App Builder page, but it is not available .

What change should be applied to the component?

30. A developer is integrated with a legacy on-premises SQL database.

What should the developer use to ensure the data being integrated is matched to the right records in Salesforce?

31. What is a consideration when testing batch Apex? (Choose two.)

32. A developer wants to retrieve and deploy metadata, perform simple CSV export of query results, and debug Apex REST calls by viewing JSON responses.

Which tool should the developer use?

33. During the Visualforce Page execution, what step follows immediately after "Evaluate constructors on controller and extensions"?

34. messages are rendering on the page .

Which component should be added to the Visualforce page to display the message?

A)

B)

C)

D)

E. Option A

F. Option B

G. Option C

H. Option D

35. What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?

36. What is a benefit of JavaScript remoting over Visualforce Remote Objects?

37. A developer wants to create a Visualforce page that allows a user to search for a given account by Name. If the account is found, the account details should be populated on screen. If no account is found, an error message should be displayed to the user.

How can this be accomplished? (Choose two.)

38. Which of the following elements can be members of a public group? (Choose three.)

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

40. Part of a custom Lightning Component displays the total number of Opportunities in the org, which is in the millions. The Lightning Component uses an Apex Controller to get the data it needs .

What is the optimal way for a developer to get the total number of Opportunities for the Lightning Component?

41. UC Loans is a small company with a part time Salesforce administrator. UC Loans wants to create a Loan__c record whenever an Opportunity is won .

What is the optimal solution for UC Loans to accomplish this?

42. A developer is writing a Visualforce page to display a list of all of the checkbox fields found on a custom object.

What is the recommended mechanism the developer should use to accomplish this?

43. How can the DISTANCE and GEOLOCATION functions be used i|n SOQL queries? (Choose two.)

44. Which of the following object types can be used with a Web Service?

45. Which statement is true regarding both Flow and Lightning Process? (Choose two.)

46. A developer must create a way for external partners to submit millions of leads into Salesforce per day.

How should the developer meet this requirement?

47. What are three benefits of using declarative customizations over code? Choose 3 answers

48. Which type of controller is best suited when you want all of the basic DML functions from an object's normal new/edit page and want to include multiple records?

49. A developer writes the following Apex trigger so that when a Case is closed, a single Survey record is created for that Case.

The issue is that multiple Survey_c records are being created per Case.

What could be the cause of this issue?

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

51. A developer sees test failures in the sandbox but not in production. No code or metadata changes have been actively made to either environment since the sandbox was created.

Which consideration should be checked to resolve the issue?

52. A company has a custom object, Order__c, that has a required, unique, external ID field called Order_Number__c .

Which statement should be used to perform the DML necessary to insert new records and update existing records in a List of Order__c records?

53. 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.)

54. A company has a Lightning Page with many Lightning Components, some that cache reference data. It is reported that the page does not always show the most current reference data .

What can a developer use to analyze and diagnose the problem in the Lightning Page?

55. Which two relationship queries use the proper syntax? Choose 2 answers

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

57. An environment has two Apex Triggers: an after-update trigger on Account and an after-update trigger on Contact. The Account after-update trigger fires whenever an Account's address is updated, and it updates every associated Contact with that address. The Contact after-update trigger fires on every edit, and it updates every Campaign Member record related to the Contact with the Contact's state.

Consider the following: A mass update of 200 Account records' addresses, where each Account has 50 Contacts. Each Contact has 1 Campaign Member. This means there are 10,000 Contact records across the Accounts and 10,000 Campaign Member records across the contacts.

What will happen when the mass update occurs?

58. A company has a custom object. Order__c, that has a custom picklist field. Status__c, with values of New, In Progress," or Fulfilled and a lookup field, Contact_c, to Contact.

Which SOQL query wrii return a unique list of all the Contact records that have no Fulfilled Orders?

59. How should a developer verify that a specific Account record is being tested in a test class for a visualforce controller?

60. The Metadata API___________.

61. A developer receives the exception 'SOQL query not selective enough' when performing a query on an object with a large amount of data .

Which step should be taken to resolve the issue?

62. What is the transaction limit for SOQL queries?

63. A company has a custom object, Sales Demo Request, that has a lookup to an Opportunity. It is required that a Sales Demo Request record be created when an Opportunity's Probability is greater than 50% .

What is the optimal way to automate this?

64. Which interface needs to be implemented by a Lightning Component so that it may be displayed in modal dialog by clicking a button on a Lightning Record page?

65. Consider the following queries. For these queries, assume that there are more than 200,000 Account records. These records include soft-deleted records; that is, deleted records that are still in the Recycle Bin. Note that there are two fields that are marked as External Id on the Account. These fields are Customer_Number__c and ERP_Key__c.

Which two queries are optimized for large data volumes? Choose 2 answers

66. How would you test a web service?

67. As part of a custom development, a developer creates a Lightning Component to show how a particular opportunity progresses over time.

The component must display the date stamp when any of the following fields change:

• Amount Probability, Stage, or Close Date

What is the most efficient way to Query such information?

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

69. This sales team needs a custom Visualforce page to enter sales orders. When a product is selected on the Visualforce page, a web service is invoked to determine if the product is in stock, and the result is displayed on the page.

How can a developer write this page to display the result of the web service and ensure governor limits for concurrent usage are not exceeded?

70. A Developer wishes to improve runtime performance of Apex calls by caching results on the client .

What is the best way to implement this?

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

72. 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.

73. A developer wrote a test class that successfully asserts a trigger on Account. It fires and updates data correctly in a sandbox environment.

A salesforce admin with a custom profile attempts to deploy this trigger via a change set into the production environment, but the test class fails with an insufficient privileges error.

What should a developer do to fix the problem?

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

75. Given the following code, what value will be output in the logs by line #8?

1 Contact con = new Contact ( LastName =fSmith', Department = fAdminT)

2 insert con;

3 Contact insertedContact=[select Name from Contact where id=icon.Id];

4 Savepoint sp_admin = Database.setSavepoint();

5 con.Department = fHRf;

6 update con;

7 Database.rollback(sp_admin);

8 System.debug(Limits.getDmlStatements 0);

76. Which type of controller is best suited when you want to add custom functionality to a standard controller page, or when you want reusable functionality throughout pages?

77. How many Territories can an instance of salesforce have?

78. A developer is writing code that requires making callouts to an external web service .

Which scenario necessitates that the callout be made in an @future method?

79. Global with sharing class MyRemoter { public String accountName { get; set; } public static Account account { get; set; } public AccountRemoter(} {} @RemoteAction global static Account getAccount (String acccuntName) { account = [SELECT Id, Name, NumberOfEmployees FROM Account WHERE Name = :accountName]; return account; } } Consider the Apex class above that defines a RemoteAction used on a Visualforce search page .

Which code snippet will assert that the remote action returned the correct Account?

80. Business rules require a Contact to always be created when a new Account is created .

What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?

81. A developer has built a multi-page wizard using a single Custom Controller to query and update data. Users are complaining that the pages are loading slowly.

What will improve performance? (Choose three.)

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

83. Choose the correct definition for <apex:actionFunction>.

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

85. In an organization that has multi-currency enabled, a developer is tasked with building a Lighting Component that displays the top ten Opportunities most recently access by the logged in user. The developer must ensure the Amount and LastModifiedDate field values are displayed according to the user's locale.

What is the most effective approach to ensure values displayed respect the user’s locale settings?

86. A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. However, the users want to pick the five fields to use as filter fields when they run the page.

Which feature of Apex code is required to facilitate this solution?

87. Choose the correct definition for <apex:pageMessage>.

88. What is the optimal syntax for adding a link to a case in a Visualforce page? (Choose two.)

89. Universal Containers needs to integrate with a Heroku service that resizes product images submitted by users.

What are two alternatives to implement the integration and protect against malicious calls to Heroku app's endpoint? Choose 2 answers

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

91. A company has code to update a Request and Request Lines and make a callout to their external ERP system's REST endpoint with the updated records.

The CalloutUtil. makeRestCallout fails with a 'You have uncommitted work pending. Please commit or rollback before calling out' error .

What should be done to address the problem?

92. A developer wants to use an Aura Component with a Custom Action.

What should be considered in order to do this?

93. An org has a requirement that an Account must always have one and only one Contact listed as Primary. So selecting one Contact will de-select any others. The client wants a checkbox on the Contact called 'Is Primary' to control this feature. The client also wants to ensure that the last name of every Contact is stored entirely in uppercase characters .

What is the optimal way to implement these requirements?

94. What is the correct syntax for calling a controller action from a Visualforce page and updating part of the page once the action is completed? (Choose two.)


 

New Customer Data Platform Dumps [2022] Are Valid For Salesforce CDP Exam
Top Identity And Access Management Designer Dumps Questions [2022] For Exam Preparation

Add a Comment

Your email address will not be published. Required fields are marked *