Salesforce PDII最新問題集[2025]高得点を掴み取れ
PDII問題集Fast2test100%合格率保証
Salesforce PDII 認定試験の出題範囲:
| トピック | 出題範囲 |
|---|---|
| トピック 1 |
|
| トピック 2 |
|
| トピック 3 |
|
| トピック 4 |
|
| トピック 5 |
|
| トピック 6 |
|
| トピック 7 |
|
| トピック 8 |
|
| トピック 9 |
|
| トピック 10 |
|
| トピック 11 |
|
質問 # 118
What should a developer use to query all Account fields for the Acme account in their sandbox?
- A. SELECT FIELDS FROM Account WHERE Name = 'Acme' LIMIT 1
- B. SELECT FIELDS (ALL) FROM Account WHERE Name = 'Acme' LIMIT 1
- C. SELECT * FROM ACCOUNT WHERE Name = 'Acme' LIMIT 1
- D. SELECT ALL FROM Account WHERE Name = 'Acme' LIMIT 1
正解:B
質問 # 119
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. Upload a third-party data table library as a static resource.
- B. Use JavaScript remoting to query the accounts.
- C. Use the transient keyword in the Apex code when querying the Account records.
- D. Use the standard Account List controller and implement pagination.
正解:D
質問 # 120
What should a developer use to query all Account fields for the Acme account in their sandbox?
- A. SELECT ALL FROM Account WHERE Name = "Acme' LIMIT 1
- B. SELECT FIELDS FAOM Account WHERE Name = 'Acme' LIMIT 1
- C. SELECT FIELDS (ALL) FROM Account WHERE Name = 'Acme' LIMIT 1
- D. SELECT * FROM Recount WHERE Names = 'Aeme' LIMIT 1
正解:C
解説:
The correct way to query all Account fields for the Acme account in their sandbox is to use the SELECT FIELDS (ALL) FROM Account WHERE Name = 'Acme' LIMIT 1 statement. This statement uses the FIELDS (ALL) clause, which is a special syntax that allows the developer to query all the fields of an object without specifying them individually. This is useful when the developer does not know the exact field names or wants to avoid hard-coding them. The statement also uses the WHERE clause to filter the records by the Name field, and the LIMIT clause to return only one record. The other options are incorrect, as they use invalid syntax or keywords, such as FAOM, ALL, or *. Reference: [SOQL SELECT Syntax], [SOQL and SOSL Reference]
質問 # 121
Which technique can run custom logic when a Lightning web component is loaded?
- A. Use the renderedCallback ( ) method.
- B. Use an aura:handler "init" event to call a function.
- C. Use the connectedCallback () method.
- D. Call SA.enqueueAction passing in the method to call.
正解:B
質問 # 122
A developer wrote a Visualforce page for Sales Reps to add products to an order. The page takes a URL query parameter, productFamily, which filters the product results. The test method for the filter behavior has an assertion failing due to an incorrect number of results.
Why could the test be failing? (Choose two.)
- A. The test does not set the current page reference
- B. The test is not run by a System Administrator
- C. The test does not call Test.startTest()
- D. The test does not create product data
正解:A、D
質問 # 123
When the sales team views an individual customer record, they need to see recent interactions for the customer. These interactions can be sales orders, phone calls, or Cases. The date range for recent interactions will be different for every customer record type.
How can this be accomplished?
- A. Use a dynamic form on the customer record page to display recent interactions.
- B. Use batch Apex to query for the most recent interactions when the customer view screen is loaded.
- C. Use Lightning Flow to read the customer's record type, and then do a dynamic query for recent interactions and display on the View page.
- D. Use a Lightning component to Query and display interactions based on record type that is passed in using a design:attribute from the Lightning page.
正解:C
質問 # 124
Just prior to a new deployment the Salesforce administrator, who configured a new order fulfillment process feature in a developer sandbox, suddenly left the company.
Ag part of the UAT cycle, the users had fully tested all of the changes in the sandbox and signed off on them; making the Order fulfillment feature ready for its go-live in the production environment.
Unfortunately, although a Change Set was started, it was not completed by the former administrator.
A developer is brought in to finish the deployment.
What should the developer do to identify the configuration changes that need to be moved into production?
- A. Set up Continuous Integration and a Git repository to automatically merge all changes from the sandbox metadata with the production metadata.
- B. Leverage the Setup Audit Trail to review the changes made by the departed Administrator and identify which changes should be added to the Change Set.
- C. Use the Metadata API and a supported development IDE to push all of the configuration from the sandbox into production to ensure no changes are lost.
- D. In Salesforce setup, look at the last modified date for every object to determine which should be added to the Change Set.
正解:B
解説:
The best way to identify the configuration changes that need to be moved into production is to leverage the Setup Audit Trail to review the changes made by the departed Administrator and identify which changes should be added to the Change Set. The Setup Audit Trail is a feature that tracks the recent setup changes that you and other administrators have made to your org. The Setup Audit Trail can show up to 180 days of history and can be downloaded as a CSV file. The Setup Audit Trail can help the developer to find out what configuration changes were made by the former administrator, such as creating or modifying objects, fields, workflows, processes, flows, etc. The developer can then use this information to complete the Change Set and deploy it to production . Reference: [View Setup Audit Trail], [Change Sets]
質問 # 125
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?
- A. Instances of Apex classes such as MyDataWrapper cannot be returned to a Lightning component.
- B. The member's Name and Option of the class MyDataWrapper should be annotated with @AuraEnabled also.
- C. The member's Name and Option should not have getter and setter.
- D. The member's Name and Option should not be declared public.
正解:B
質問 # 126
If the "PageReference.setRedirect" Apex function is set to True, what type of request is made?
- A. If PageReference points to the same controller and subset of extensions, postback request, otherwise get request
- B. Postback request
- C. Get request
正解:C
質問 # 127
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?
- A. [Select NewValue, Oldvalue FROM Opportunity FieldHistory WHERE Opportunityld = :oppId AND Field IN
- B. [Select Amount, CloseDate, StageName, Probability FROM OpportunityHistory WHERE Opportunityld = :oppId];
- C. [Select Amount CloseDate. StageName, Probability FROM Opportunity_History WHERE Opportunityld - :oppId];
- D. ('StageName', Probability',Amount /CloseDate')];
- E. [Select Newvalue, Oldvalue From OpportunityField_History Where Oppportunity = oppid AND Field IN
正解:A
質問 # 128
A company wants to incorporate a third-party web service to set the Address fields when an Account is inserted, if they have not already been set.
What is the optimal way to achieve this?
- A. Create an Apex trigger, execute a Queueable job from it, and make a callout from the Queueable job.
- B. Create a Before Save Flow, execute a Queueable job from it, and make a callout from the Queueable job.
- C. Create a Workflow Rule, execute a Queueable job from it, and make a callout from the Queueable job.
- D. Create a Process, execute a Queueable job from it, and make a callout from the Queueable job.
正解:A
質問 # 129
What type of request and payload format can be received by a static method in a global Apex class that uses the webService keyword?
- A. SOAP/XML
- B. SOAP/XML and SOAP/JSON
- C. REST/JSON
- D. SOAP/XML and REST/JSON
正解:A
質問 # 130
What is the optimal syntax for adding a link to a case in a Visualforce page? (Choose two.)
<apex:outputLink value="{$URLFOR($Action.Case.Open, case)}" target="blank">
- A. {Icase.Name} </apex:outputLink>
<apex:outputLink value="/{!case.Id}" target="blank"> {Icase.Name}</ - B. apex:outputLink>
<apex:outputLink value="{!URLFOR($Action.Case.View,case.Id)}" target="blank"> - C. apex:outputLink>
- D. (LIE{!case.Name}</apex:outputLink>
<apex:outputLink value="!viewCase(case.Id)}" target="_blank">{Icase.Name} </
正解:B、D
質問 # 131
Which statement is considered a best practice for writing bulk safe Apex triggers?
- A. Use the Database methods with allorNone set to £21s= instead of DML statements.
- B. Add LIMIT 50000 to every SOQL statement.
- C. Perform all DML operations from within a future method.
- D. Add records to collections and perform DML operations against these collections.
正解:D
質問 # 132
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. Create a new variable to store the result and annotate it with @track.
- B. Add the @track decorator to the data variable.
- C. Call rafrasnApex() ON this.dazta.
- D. Create a variable to store the result and call refreshpex().
正解:D
質問 # 133
A developer has a test class that creates test data before making a mock call-out, but now receives a 'You have uncommitted work pending. Please commit or rollback before calling out' error.
What step should be taken to resolve the error?
- A. Ensure both the insertion and mock callout occur after the Test.stopTest()
- B. Ensure both the insertion and mock callout occur after the Test.startTest()
- C. Ensure the records are inserted before the Test.startTest() statement and the mock callout after the Test.startTest()
- D. Ensure the records are inserted before the Test.startTest() statement and the mock callout occurs within a method annotated with @testSetup
正解:C
質問 # 134
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. Does the screen need to be rendered as a PDF?
- B. Will the screen be accessed via a mobile app?
- C. Will the screen make use of a JavaScript framework?
- D. Does the screen need to be accessible from the Lightning Experience UI?
正解:D
質問 # 135
Ursa Major Solar has a custom object, serviceJcb__c, with an optional Lookup field to Account called Partr,er_service_Provider__c.
The TocaUobs__c field on Account tracks the total number of serviceJcb__o records to which a partner service provider Account is related.
What should be done to ensure that the TotalJobs_c field is kept up to date?
- A. Create an Apex trigger on serviceJob__c
- B. Change TotalJobi__a to a roll-up summary field.
- C. Implement a workflow cross-object field update.
- D. Build a Process Builder with an invocable action.
正解:A
質問 # 136
......
100%合格率リアルPDII試験成功を掴み取れ:https://jp.fast2test.com/PDII-premium-file.html
プレミアム良質なSalesforce PDIIオンライン問題集:https://drive.google.com/open?id=1ngJ6NHXFIRw9yarLe62415wPjx57iti-