PDIIトレーニング最新認定問題をゲットSalesforce Developers合格目指せ2025年12月19日
認定トレーニングPDII試験問題集テストエンジン
Salesforce Certified Platform Developer II(PDII)は、Salesforceプラットフォームでカスタムアプリケーションを構築するスキルを向上させようとする開発者向けの一般的な認定試験です。この試験は、APEXとVisualForceを使用して、高度なアプリケーションの開発における開発者の知識と能力をテストするように設計されています。この認定は、複雑なビジネスロジック、統合、およびデータ管理プロセスの設計と実装における開発者のスキルと専門知識も評価します。
Salesforce PDII(Salesforce Certified Platform Developer II)認定試験は、Salesforceプラットフォームで高度なアプリケーションを開発するスキルと知識を持っている専門家を認識する資格情報です。この認定は、Salesforce開発者として少なくとも2年以上の経験を持ち、Salesforce Certified Platform Developer I Examの完了に成功した専門家向けに設計されています。 PDII認定試験は、Salesforceプラットフォームで複雑なソリューションを設計および開発する候補者の能力を評価する挑戦的で包括的なテストです。
質問 # 99
Salesforce users consistently receive a "Maximum trigger depth exceeded" error when saving m Account.
How can a developer fix this error?
- A. Convert trigger to use the future annotation, and chain any subsequent trigger invocations to the Account object.
- B. Use a helper class to set a Boolean to TRUE the first time a trigger is fired, and then; modify the trigger to only fire when modify the trigger to only fire when the Boolean is FALSE.
- C. Modify the trigger to use the isMultiThread=true annotation.
- D. Split the trigger logic into two separate triggers.
正解:B
質問 # 100
A developer needs to implement a system audit feature that allows users, assigned to a custom profile named "Auditors", to perform searches against the historical records in the Account object. The developer must ensure the search is able to return history records that are between 12 and 24 months old.
Given the code below, which select statement should be inserted below as a valid way to retrieve the Account History records ranging from 12 to 24 month old?
A)
B)
C)
D)
- A. Option B
- B. Option D
- C. Option A
- D. Option C
正解:C
質問 # 101
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?
- A. Use the ui:outputText tag to display errors
- B. Use the apex:message tag to display errors
- C. Use the aura:component tag to display errors
- D. Use the ui:inputDefaultError tag to display errors
正解:D
質問 # 102
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. Will the screen be accessed via a mobile app?
- B. Will the screen make use of a JavaScript framework?
- C. Does the screen need to be rendered as a PDF without using a third-party application?
- D. Does the screen need to be accessible from the lightning Experience UI?
正解:C
質問 # 103
Salesforce users consistently receive a "Maximum trigger depth exceeded" error when saving an Account. How can a developer fix this error?
- A. Convert the trigger to use the 3suzure annotation, and chain any subsequent trigger invocations to the Account object.
- B. Modify the trigger to use the L=MultiThread=true annotation,
- C. Split the trigger logic into two separate triggers.
- D. Use a helper class to set a Boolean to TRUE the first time a trigger 1s fired, and then modify the trigger ta only fire when the Boolean is FALSE.
正解:D
質問 # 104
A company has reference data stored in multiple custom metadata records that represent default information and delete behavior for certain geographic regions.
When a contact is inserted, the default information should be set on the contact from the custom metadata records based on the contact's address information.
Additionally, if a user attempts to delete a contact that belongs to a flagged region, the user must get an error message.
Depending on company personnel resources, what are two ways to automate this?
Choose 2 answers
- A. Flow Builder
- B. Apex invocable method
- C. Apex trigger
- D. Remote action
正解:A、C
質問 # 105
How can a developer efficiently incorporate multiple JavaScript libraries in an Aura component?
- A. Use CDNs with script attributes.
- B. Join multiple assets from a static resource.
- C. Implement the libraries in separate helper files.
- D. Use JavaScript remoting and script tags.
正解:B
解説:
The developer can efficiently incorporate multiple JavaScript libraries in an Aura component by joining multiple assets from a static resource. A static resource is a file or a collection of files that can be used in a Lightning component, such as images, style sheets, JavaScript libraries, or fonts. The developer can create a zip file that contains multiple JavaScript libraries and upload it as a static resource. Then, the developer can use the ltng:require tag in the Aura component to reference the static resource and specify the scripts attribute with a comma-separated list of the JavaScript library names. This way, the developer can load multiple JavaScript libraries in one request and reduce the network traffic and loading time. Using JavaScript remoting and script tags would not be efficient, as JavaScript remoting is a technique that allows the component to invoke Apex methods asynchronously, not to load JavaScript libraries. Using CDNs with script attributes would not be efficient, as CDNs are external sources that require additional network requests and may not be reliable or secure. Implementing the libraries in separate helper files would not be efficient, as helper files are meant to contain reusable JavaScript functions for the component, not to load external JavaScript libraries. Reference: [Static Resources], [ltng:require]
質問 # 106
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?
- A. Use JavaScript remoting with SOQL Offset.
- B. Use lazy loading and a transient List variable.
- C. Implement pagination with a StandardSetController.
- D. Implement pagination with an OffsetController.
正解:D
質問 # 107
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.)
- A. Use the <apex:pageMessages> tag to display the error message
- B. Use the (apex: information) tag to display the error message
- C. Use the ApexPages.addMessage() method to add the error message
- D. Use the account.addError() method to add the error message
正解:A、C
解説:
Explanation/Reference:
質問 # 108
Universal Containers (UC) has an CRP system that stores customer information.
When an Account is created in Salesforce, the FRP system's REST endpoint for creating new customers must automatically be called with the Account information, If the call to the ERP system fails, the Account should still be created. Accounts in UC org are only created, one at a time, by users in the customer on-boarding department.
What should a developer to make the call to the CRP system's REST endpoint7
- A. call a Queueable from a Trigger
- B. REST call from JavaScript
- C. Headless Quick Action
- D. apex Continuation
正解:B
解説:
Explanation
According to 1, REST API provides you with programmatic access to your data in Salesforce. You can use REST API to make HTTP requests to Salesforce endpoints and perform operations on your data. However, you also need to authenticate your requests using OAuth endpoints According to 3, you can use Queueable Apex to schedule batch send the data from Salesforce to another system using REST API. Queueable Apex allows you to run asynchronous jobs that can be chained and monitored. You can call a Queueable class from a trigger to enqueue the job after an Account is created.
Therefore, using a Queueable from a Trigger seems to be the best way to make the call to the ERP system's REST endpoint.
質問 # 109
A company accepts orders for customers in their enterprise resource planning (ERP) system that must be integrated into Salesforce as order_ c records with a lookup field to Account. The Account object has an external ID field, ENF_Customer_ID_c.
What should the Integration use to create new Oder_c records that will automatically be related to the correct Account?
- A.

- B.

- C.

- D.

正解:B
解説:
When integrating external systems with Salesforce and creating records that need to be associated with existing Salesforce records based on an external ID, Salesforce provides the ability to reference an external ID field in a related object directly within a create or update call.
Option A is correct because the upsert operation can be used to either insert new records or update existing ones. By specifying the external ID field (ENF_Customer_ID__c) for the Account relationship, the system will automatically link the Order__c record to the correct Account based on the external ID provided by the ERP system.
Options B, C, and D are incorrect because they do not specifically utilize the capability of referencing an external ID to associate records during an integration process.
References:
Salesforce Developer Documentation on Inserting or Updating Records Using an External ID: Inserting or Updating Records Using an External ID
質問 # 110
Which one do you like?
- A. Option 4
- B. Option 3
- C. Option 2
- D. Option 1
正解:C
質問 # 111
Universal Containers wants to notify an external system, in the event that an unhandled exception occurs, by publishing a custom event using Apex.
What is the appropriate publish/subscribe logic to meet this requirement?
- A. Publish the error event using the addError () method and have the external system subscribe to the event using CometD.
- B. Publish the error event using the Eventrus.publish() method and have the external system subscribe to the event using CometD.
- C. Have the external system subscribe to the event channel. No publishing is necessary.
- D. Publish the error event using the addError () method and write a trigger to subscribe to the event and notify the external system.
正解:B
解説:
When an unhandled exception occurs, publishing a custom platform event using EventBus.publish() method is the appropriate way. The external system can then subscribe to this event using technologies like CometD to receive notifications. References: Publish and Subscribe to Platform Events
質問 # 112
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 callousUtil.makeRestCallout fails with a "You have uncommitted work pending. Please commit or rollback before calling cut' error.
What should be done to address the problem?
- A. Change the CallousUtill .makeRestCallout to an @future method.
- B. Remove the Database. setSavepoint and Database. rollback.
- C. Change the callousUtil makeRestCallout to an @InvocsblsMethod method.
正解:A
解説:
The error occurs because DML operations were performed before a callout. To fix this, the callout should be made from an asynchronous method such as one annotated with @future(callout=true), which allows DML operations to be committed separately from the callout.
nces: Apex Developer Guide - Making Asynchronous Callouts
質問 # 113
A Visualforce page loads slowly due to the large amount of data it displays. Which strategy can a developer use to improve the performance
- A. Use the transient keyword for the List variables used in the custom controller.
- B. use lazy loading to load the data on demand, instead of in the controller's constructor.
- C. use an <apex:actionPoller> in the page to load all of the data asynchronously.
- D. use Javascript to move data processing to the browser instead of the controller.
正解:B
質問 # 114
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.

What should be done to address the problem?
- A. Change the CalloutUtil.makeRastCallout to an @InvocableMethed method.
- B. Change the CalloutUtil.makeRestCallout to an @future method.
- C. Move the CalloutUtil.makeRestCallout method call below the catch block.
- D. Remove the Database.setSavepoint and Database.rollback.
正解:B
質問 # 115
Consider the controller code below that is called from an Aura component and returns data wrapped in a class.
The developer verified that the queries return a single record each and there is error handling in the Aura component, but the component is not getting anything back when calling the controller getSemeData.
'What is wrong?
- A. The member's Name and option should not have getter and setter.
- B. The member's Name and option should not be declared public.
- C. Instances of Apex classes, such as MyDatsWrapper, cannot be returned to a Lightning component.
- D. The member's Kame and option of the class MyDataWrapper should be annotated with @AuraEnabled also.
正解:D
解説:
For the data to be passed back to the Aura component, all properties of the Apex class that are intended to be accessed from the component need to be annotated with @AuraEnabled. Without this annotation, the Aura framework cannot serialize the properties to send them to the front end.
References: Aura Components Developer Guide - AuraEnabled Annotation
質問 # 116
......
合格確定、ガイドで準備PDII試験:https://jp.fast2test.com/PDII-premium-file.html
Salesforce Developers PDII無料最新のリアル試験問題と回答:https://drive.google.com/open?id=1QEDRvG94j3DC1q84IEusUtlqOjNwbeqH