[2023年06月] 検証済み Salesforce PDII リアル豪華お試しセット試験問題集 PDF [Q63-Q87]

Share

[2023年06月] 検証済みSalesforce PDIIリアル豪華お試しセット試験問題集でPDF

PDII問題集PDF最新 [2023年最新] 究極の学習ガイド

質問 # 63
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?

  • A. force:lightningQuickAction
  • B. force:lightningEditAction
  • C. lightning:editAction
  • D. lightning:quickAction

正解:D


質問 # 64
A developer has created a solution using the SOAP API for authenticating Communities users. What is needed when issuing the login()Call? Choose 2 answers

  • A. Session Id
  • B. Username and Password
  • C. Organization Id
  • D. Security Token

正解:B、D


質問 # 65
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. internal Apps can use Outbound Messages
  • C. Internal Apps can use Process Builder.
  • D. External Apps require a custom Apex web service.

正解:B、C


質問 # 66
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?

  • A. There will be no error, since the limit on the number of records processed by DML statements is 50,000.
  • B. The mass update will fail, since the two triggers fire in the same context, thus exceeding the number of records processed by DML statements.
  • C. The mass update of Account address will succeed, but the Contact address updates will fail due to exceeding number of records processed by DML statements.
  • D. There will be no error, since each trigger fires within its own context and each trigger does not exceed the limit of the number of records processed by DML| statements.

正解:D


質問 # 67
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 String*+ 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?

  • A. Line 8: method must first serialize the list to JSON before returning
  • B. Lines 1 and 6: class and method must be global
  • C. Line 6: method must be static
  • D. Line 1: class must be global

正解:C


質問 # 68
A Developer wishes to improve runtime performance of Apex calls by caching results on the client. What is the best way to implement this?

  • A. Set a cookie in the browser for use upon return to the page.
  • B. Decorate the server-side method with @AuraEnabled(storable=true).
  • C. Decorate the server-side method with @AuraEnabled(cacheable=true).
  • D. Call the setStorable() method on the action in the JavaScript client-side code.

正解:D


質問 # 69
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?

  • A. Use an ID in the WHERE clause of the SOQL query
  • B. Perform the SOQL query via a call to the REST API
  • C. Perform the SOQL query as part of a FOR loop
  • D. Move the SOQL query to within an asynchronous process

正解:A

解説:
Explanation/Reference: https://salesforce.stackexchange.com/questions/194897/system-queryexception-non-selective- query-against-large-object-type-more-than


質問 # 70
A developer creates a Lightning web component to allow a Contact to be quickly entered- However, error messages are not displayed.

Which component should the developer add to the form to display error messages?

  • A. aura:messages
  • B. apex:messages
  • C. lightning-error
  • D. lightning-messages

正解:D


質問 # 71
What tool in the Developer Console contains information on SOQL query Cardinality?

  • A. Query Editor
  • B. View State Tab
  • C. Checkpoints tab
  • D. Log Inspector
  • E. Query Plan Tool

正解:E

解説:
Explanation/Reference:


質問 # 72
Consider the following code snippet:

As part of the deployment cycle, a developer creates the following test class:
When the test class runs, the assertion fails.
Which charge should the developer implement in the Apex test method to ensure the test method execute successfully?

  • A. Add @IsTest(seeAllData=True) to line 12 and enclose lines 14 and 15 within Test.startTest () and test.stopTest()
  • B. Query the Standard User into memory and enclose lines 14 and 15 within the System.runAs (user) method.
  • C. Add System.runAs (User) to line 14 and enclose line 14 within Test.startTest() and Test.stoptest ().
  • D. Query the Administrator user into memory and enclose lines 14 and 15 within the System,runAs (user) method.

正解:C


質問 # 73
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 Cfuture 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. Split the trigger logic into two separate triggers.
  • D. Modify the trigger to use the isMultiThread=true annotation.

正解:B


質問 # 74
Refer to the code snippet below:

A custom object called Credit_Memo_c exist in a Salesforce environment. As part of a new feature development that retrieves and manipulates this type of record, the developer needs to ensure race conditions are prevented when a set of records are modified within an Apex transaction.
In the preceding Apex code, how can the developer alter the query statement to use SOQL features to prevent race condition within a transaction?
A)

B)

C)

D)

  • A. Option A
  • B. Option B
  • C. Option D
  • D. Option C

正解:D


質問 # 75
A developer must perform a complex SOQL query that joins two objects in a Lightning component. how can the Lightning component execute the query?

  • A. Write the query in a custom Lightning web component wrapper and invoke from the Lightning component.
  • B. Use the SaJesforce Streaming API to perform the SOQL query.
  • C. Create a Process Builder to execute the query and invoke from the Lightning component.
  • D. Invoke an Apex dass with the method annotated as AiraEnabled to perform the query.

正解:A


質問 # 76
A developer has been asked to create code that will meet the following requirements: Receives input of:
Map<Id, 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. Database.AllowsCallouts interface
  • B. Queueable interface
  • C. Schedulable interface
  • D. @future (callout=true)

正解:D


質問 # 77
A company exposes a REST web service and wants to establish two-way SSL between Salesforce and the REST web service. A certificate signed by an appropriate certificate authority has been provided to the developer.
What modification is necessary on the Salesforce side? (Choose two.)

  • A. Update the code to use HttpRequest.setHeader() to set an Authorization header
  • B. Create an entry for the certificate in Certificate and Key Management
  • C. Configure two-factor authentication with the provided certificate
  • D. Update the code to use HttpRequest.setClientCertificateName()

正解:B、D


質問 # 78
A developer wrote a class named AccountHistoryManager that relies on field history tracking. The class has a static method called getAccountHistory that takes in an Account as a parameter and returns a list of associated AccountHistroy object records.
The following test falls:

What should be done to make this test pass?

  • A. Use @istest (SeeAll Data=true) to see historical data from the org and query for AccountHistory records.
  • B. Create AccountHistory records manually in the test setup and write a query to get them.
  • C. The test method should be deleted since this code cannot be tested.
  • D. Use test. Is Running test () in getAccountHostory () to conditionally return fake AccountHistory records.

正解:D


質問 # 79
What is the transaction limit on the max execution time?

  • A. There is no limit
  • B. 5 minutes
  • C. 15 minutes
  • D. 10 minutes
  • E. 20 minutes

正解:D


質問 # 80
When developing a Visualforce page that will be used by a global organization that does business in many languages and many currencies, which feature should be used? (Choose three.)

  • A. Global Labels
  • B. Translation Workberic
  • C. Custom Labels
  • D. convertCurrency()
  • E. getLocalCurrency()

正解:B、C、D


質問 # 81
An Apex trigger creates a Contract record every time an Opportunity record is marked as Closed end Won. This trigger is working great, except (due to a recent acquisition) historical Opportunity records need to be loaded into the Salesforce instance.
When a test batch of records are loaded, the Apex trigger creates Contract records. A developer is tasked with preventing Contract records from being created when mass loading the Opportunities, but the daily users still need to have the Contract records created.
What is the most extendable way to update the Apex trigger to accomplish this?

  • A. Use a List Custom Setting to disable the trigger for the user who loads the data.
  • B. Add the Profile ID of the user who loads the data to the trigger so the trigger will not fire for this user.
  • C. Add a Validation Rule to the Contract to prevent Contract creation by the user who loads the data.
  • D. Use a Hierarchy Custom Setting to skip executing the logic inside the trigger for the user who loads the data.

正解:D


質問 # 82
What are three benefits of using static resources in Visualforce and Lightning Components? Choose 3 answers

  • A. Relative paths can be used in files in static resource archives to refer to other content within the archive.
  • B. Static resource files can be referenced by using the $Resource global variable instead of hardcoded IDs.
  • C. Static resource files are automatically minified.
  • D. Static resource files can be packaged into a collection of related files in a zip or jar archive.
  • E. Static resource files do not count against an organization's quota of data storage.

正解:B、D


質問 # 83
How long is field history retained?

  • A. 12 months
  • B. 36 months
  • C. 6 months
  • D. 18 months
  • E. 24 months

正解:D


質問 # 84
Which statement is true regarding the use of user input as part of a dynamic SOQL query?

  • A. Free text input should not be allowed, to avoid SOQL injection.
  • B. Quotes should be escaped to protect against SOQL injection.
  • C. The String.format () method should be used to prevent injection.
  • D. The string should be URL encoded by the input form to prevent errors.

正解:B


質問 # 85
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. apex:outputLink>
  • B. apex:outputLink>
    <apex:outputLink value="{!URLFOR($Action.Case.View,case.Id)}" target="blank">
  • C. {Icase.Name} </apex:outputLink>
    <apex:outputLink value="/{!case.Id}" target="blank"> {Icase.Name}</
  • D. (LIE{!case.Name}</apex:outputLink>
    <apex:outputLink value="!viewCase(case.Id)}" target="_blank">{Icase.Name} </

正解:B、D

解説:
Explanation/Reference:


質問 # 86
Refer to re code segment above.

When following best practices for writing Apex taggers, which two lots are wrong or cause for concern?
Choose 2 answers

  • A. Line 11
  • B. Line 16
  • C. Line 6
  • D. Line 20

正解:C、D


質問 # 87
......


PDII 認定を取得するためには、候補者は Salesforce プラットフォームを熟知し、組織のビジネス要件を満たすカスタムソリューションを開発できる能力が必要です。認定試験は、複数選択肢の問題とパフォーマンスベースのシナリオで構成され、候補者が Salesforce プラットフォーム上でソリューションを設計、開発、実装できる能力を試験します。試験は、Apex と Visualforce の知識を現実のシナリオに適用できる能力を評価するように設計されています。PDII 認定は、開発者がスキルと知識を潜在的な雇用主にアピールし、Salesforce エコシステムでキャリアを進めるための貴重な資産です。


PDII試験は60問の多肢選択問題から構成され、120分間の時間制限があります。試験の合格スコアは63%で、試験料は400ドルです。試験は、Apexプログラミング、データモデリング、統合、テスト、およびデプロイメントなどの幅広いトピックをカバーしています。


Salesforce PDII試験の準備には、多大な時間と努力が必要です。受験者はSalesforce開発に強い基礎を持ち、試験のトピックと目的に精通している必要があります。勉強ガイド、練習問題、およびトレーニングコースなど、受験者が準備するための様々なリソースがあります。

 

あなたを合格させるSalesforce試験でPDII試験問題集:https://www.goshiken.com/Salesforce/PDII-mondaishu.html

PDII試験問題集PDF更新された問題集:https://drive.google.com/open?id=13_CnaUQ4Ukv87qUqAnJpEDs47zUQAEBH