[2024年最新] 高合格率な最新無料PDII試験問題集アンサーを使おう
PDII知能問題集PDF!Salesforce PDII試験問セット
PDII認定を獲得することは、Salesforce開発者にとって重要な成果です。これは、世界で最も人気のあるCRMプラットフォームの1つでカスタムアプリケーションの開発に関する専門知識を示しているためです。 PDII認定開発者は需要が高く、より高い給与とより良い雇用機会を命じることができます。さらに、PDII認定は、Salesforce Certified Technical Architect(CTA)など、他の高度な認定の前提条件です。
Salesforce PDII認定は、開発者がSalesforceプラットフォームにカスタムアプリケーションを構築する上で高度なスキルと知識を実証する素晴らしい方法です。この認定により、開発者はキャリアを前進させ、Salesforceエコシステムで新しい雇用機会を開く機会があります。
質問 # 39
There are user complaints about slow render times of a custom data table within a Visualforce page that loads thousands of Account records at once.
What can a developer do to help alleviate such issues?
- A. Use the transient keyword in the Apex code when querying the Account records.
- B. Upload a third-party data table library as a static resource.
- C. Use JavaScript remoting to query the accounts.
- D. Use the standard Account List controller and implement pagination.
正解:D
解説:
Implementing pagination using the standard Account List controller in Visualforce is a proven method to improve performance when displaying large sets of data. Pagination allows only a subset of records to be fetched and displayed at a time, thereby reducing the load time of the page.References: Visualforce Developer Guide - Implementing Pagination
質問 # 40
Choose the correct definition for <apex:actionPoller>.
- A. Can be associated with an AJAX request (actionFunction/actionSupport/actionPoller) and shows content conditionally depending on the status of the request (in progress/complete). Use the "id" field to specify name; use "status" field on related components to connect them
- B. Sends an AJAX request according to the time interval you specify. If this ever gets re-rendered, it resets
- C. Adds AJAX support to another component (e.g. onClick, onMouseUp, onFocus, etc.)
- D. Signifies which components should be processed by the server when an AJAX request is generated
- E. Allows for controller methods to be called directly from Javascript. Must be encapsulated in <apex:form> tags. Unlike actionSupport, these function<apex:actionPoller>s can be called directly from Javascript code
正解:B
質問 # 41
A developer is creating a Lightning web component to display a calendar. The component will be used in multiple countries. In some locales, the first day of the week is a Monday, or a Saturday, or a Sunday. 'What should the developer do to ensure the calendar displays accurately for users in every locale?
- A. Use UserInfo.getLocale() in the component.
- B. Query the FirstDayofweek field from the Locale for the current user.
- C. Import the @salesforce/i18n module and use
the firstdayofweek internationalization property. - D. Use a custom metadata type to store key/value pairs.
正解:A
質問 # 42
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 2 answers
- A. Configure a custom field as Salesforce ID.
- B. Configure a custom field as unique.
- C. Configure a custom field as indexed.
- D. Configure a custom field as external ID.
正解:B、D
質問 # 43
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)
- A. Option A
- B. Option C
- C. Option B
- D. Option D
正解:A
質問 # 44
Account object has a field, Audit_Code__, that is used to specify what type of auditing the Account needs and a Lookup to user, Auditor__ that is the assigned auditor.
When an Account is initially created, the user specifies the Audit_Code__. Each User in the org has a unique text field, that is used to automatically assign the correct user to the Account Auditor__ field.
What should be changed to most optimize the code's efficiency?
Choose 2 answers
- A. Build a Map <Id, List<String>> of Account Id to audit codes.
- B. Add a WHERE clause to the SOQL query to filter On audit codes.
- C. Build a Map<String, List<Account>> of audit code to accounts.
- D. Add an initial SOQL query to get all distinct audit codes.
正解:B、C
質問 # 45
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?
- A. Queueable
- B. @future
- C. workflow
- D. Process Builder
正解:D
質問 # 46
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 blocked domains.
The list of blocked domains is stored in a custom object for ease of maintenance by users. The survey Response c object is populated via a custom Visualforce page.
What is the optimal way to implement this?
- A. Implement the logic in validation rules on the Contact and the Burvey Response_c Objects.
- B. Implement the logic in an Apex trigger on Contact and also implement the logic within the custom Visualforce page controller.
- C. Implement the logic in the custom Visualforce page controller and call "that method from an Apex trigger on Contact.
- D. Implement the logic in a helper class that is called by an Apex trigger on Contact and from the custom Visualforce page controller.
正解:D
質問 # 47
A developer wrote a trigger on Opportunity that will update a custom Last Sold Date field on the Opportunity's Account whenever an Opportunity is closed. In the test class for the trigger, the assertion to validate the Last Sold Date field fails.
What might be causing the failed assertion?
- A. The test class has not defined an Account owner when inserting the test data
- B. The test class has not implemented seeAllData=true in the test method
- C. The test class is not using System.runAs() to run tests as a Salesforce administrator
- D. The test class has not re-queried the Account record after updating the Opportunity
正解:D
質問 # 48
A developer is building a Lightning web component that searches
for Contacts. The component must communicate the search
results to other unrelated Lightning web components, that are in
different DOM trees, when the search completes.
What should the developer do to implement the communication?
- A. Fire a custom component event.
- B. Publish a message on a message channel.
- C. Publish an event on an event channel.
- D. Fire an application event.
正解:B
解説:
For communication between unrelated Lightning web components that are in different DOM trees, the most suitable approach is to use the Lightning Message Service (LMS). This service allows components to communicate with each other using a message channel, which is particularly useful when the components are not in the same containment hierarchy. By publishing and subscribing to messages on a message channel, components can exchange data and notifications, which is ideal for the scenario described.
References:
Lightning Web Components Developer Guide - Communicate Across the DOM with Lightning Message Service
質問 # 49
Universal Containers is implementing a new approval process for expense reimbursements. The process requires complex logic to determine the appropriate approver based on factors such as expense amount, employee role, and project type. The solution should allow for flexibility and future changes in the approval rules.
Which approach would be the most suitable for implementing this logic?
- A. Develop a custom Lightning component to handle the approval logic and integrate it into the expense reimbursement record page.
- B. Create a custom Apex class with a method to determine the appropriate approver based on the given criteria.
- C. Implement a custom formula field to calculate and determine the appropriate approver based on the given criteria.
- D. Use the Salesforce Approval Process feature and define multiple approval steps with entry criteria and approval assignments.
正解:B
解説:
Creating a custom Apex class with methods to determine the appropriate approver is the most suitable approach when dealing with complex logic and the need for flexibility. This approach allows for centralized logic that can be easily maintained and updated as business requirements change.References: Apex Developer Guide - Apex Classes
質問 # 50
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?
- A. future (callout=true)
- B. Database.AllowCallouts interface
- C. Queueable interface
- D. Schedulable interface
正解:C
質問 # 51
A developer is building a Lightning web component that searches
for Contacts. The component must communicate the search
results to other unrelated Lightning web components, that are in
different DOM trees, when the search completes.
What should the developer do to implement the communication?
- A. Fire a custom component event.
- B. Publish a message on a message channel.
- C. Publish an event on an event channel.
- D. Fire an application event.
正解:B
解説:
The developer should publish a message on a message channel to implement the communication between the Lightning web components. A message channel is a Lightning web component feature that allows the developer to communicate across the DOM between any components that are listening on the channel. The developer can use the @wire decorator to subscribe to a message channel, and use the publish() function to publish a message on the channel. The message can contain any data that the components need to share, such as the search results. The components that are subscribed to the channel will receive the message and handle it accordingly. Firing an application event will not work, as application events are a Lightning Aura component feature, not a Lightning web component feature, and they are used to communicate across the entire Lightning Experience application, not across the DOM. Publishing an event on an event channel will not work, as event channels are used to publish and subscribe to platform events, which are events that represent changes in Salesforce data or processes, not custom events that represent changes in component data. Firing a custom component event will not work, as custom component events are used to communicate between a parent and a child component in the same DOM tree, not between unrelated components in different DOM trees. Reference: [Communicate Across the DOM], [Lightning Web Components Developer Guide]
質問 # 52
A developer is creating a Lightning web component that displays a list of records in a lightning-datatable.
After saving a new record to the database, the list is not updating.
What should the developer change in the code above for this to
happen?
- A. Add the @track decorator to the data variable.
- B. Call rafrasnApex() ON this.dazta.
- C. Create a new variable to store the result and annotate it with @track.
- D. Create a variable to store the result and call refreshpex().
正解:D
解説:
In Lightning Web Components (LWC), the data displayed in a component is not automatically refreshed when a new record is saved to the database. To refresh the displayed list of records in a lightning-datatable after a save operation, developers should use the refreshApex() function. This function is imported from the
@salesforce/apex module and is used to refresh the cache and re-execute the Apex wire method to fetch the latest data from the server. The @track decorator is no longer necessary in most cases due to reactive properties being the default behavior in LWC as of Spring '20 release. Also, calling refreshApex() on this.data directly or creating a new tracked variable will not initiate a refresh of the cached data.
References:
Get Updated Data with refreshApex()
Lightning Web Components and Salesforce Data
質問 # 53
During the Visualforce Page execution, what step follows immediately after "Evaluate constructors on controller and extensions"?
- A. Evaluate expressions, <apex:page> attribute actions, and other method calls (getters/setters) on main page
- B. Create the view state
- C. Send HTML to Browser
- D. Evaluate constructors, extensions, and expression on attribute definitions on any custom components present
正解:D
質問 # 54
Consider the above trigger intended to assign the Account to the manager of the Account''s region. Which two changes should a developer make in this trigger to adhere to best practices? Choose 2 answers
- A. Use a Map to cache the results of the Region__c query by Id.
- B. Move the Region__c query to outside the loop.
- C. Remove the last line updating accountList as it is not needed.
- D. Use a Map accountMap instead of List accountList.
正解:A、D
質問 # 55
After a Platform Event is defined in a Salesforce org, events can be published via which two mechanisms? Choose 2 answers
- A. External Apps can use the standard Streaming API.
- B. External Apps require a custom Apex web service.
- C. Internal Apps can use Process Builder.
- D. internal Apps can use Outbound Messages
正解:B、C
質問 # 56
The Bulk API...
- A. Provides a powerful, convenient, and simple REST-based web services interface for interacting with Salesforce. Its advantages include ease of integration and development, and it's an excellent choice of technology for use with mobile applications and web projects
- B. Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAll, insert, update, upsert, or delete many records asynchronously by submitting batches
- C. Is used to to retrieve, deploy, create, update, or delete customizations for your org. The most common use is to migrate changes from a sandbox or testing org to your production environment
- D. Is used to to create, retrieve, update or delete records, such as accounts, leads, and custom objects, and allows you to allows you to maintain passwords, perform searches, and much more
正解:B
質問 # 57
......
PDII試験の準備をするために、開発者はApex、Visualforce、およびLightningコンポーネントに堅固な理解を持つ必要があります。また、Salesforceの開発ベストプラクティスに精通しており、複雑なビジネスロジックの設計と実装の経験がある必要があります。開発者は、SalesforceのTrailheadプラットフォームを含むオンラインで利用可能なさまざまなリソースを活用することができます。Trailheadには、PDII試験の準備を支援するために設計されたさまざまなコースやモジュールがあります。さらに、開発者は、Salesforceパートナーが提供するトレーニングコースに参加したり、Salesforceのイベントやカンファレンスに参加して、Salesforce開発の最新動向について学ぶことができます。
Salesforce PDII問題集PDFを使ってベストオプションを目指そう:https://www.goshiken.com/Salesforce/PDII-mondaishu.html
2024年最新のPDIIサンプル問題は頼もしいPDIIテストエンジン:https://drive.google.com/open?id=1-CoGywi3Uf72atUqnZj1_OgyV5wOlzi6