リリースSalesforce PDII更新された問題PDF [Q49-Q67]

Share

リリースSalesforce PDII更新された問題PDF

PDII問題集と練習テスト(333試験問題)


Salesforce PDII 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • VisualforceとLightningコンポーネントの両方で静的リソースの目的と利点を説明し、Apex管理共有を使用する場所を正当化します
トピック 2
  • 一連の要件を考慮して、適切な統合手法を選択します
  • シナリオを前提として、展開プロセス、サポートツール、およびメカニズムを策定します
トピック 3
  • ユーザーインターフェイスにエラーを表示する際のメッセージング手法とベストプラクティスを説明する
  • DMLステートメントとデータベースイベントの種類を区別する
トピック 4
  • VisualforceコントローラーとApexコントローラーの使用法を比較対照します
  • 外部IDの使用例と利点を説明します
トピック 5
  • Apexトリガーを作成するためのベストプラクティスに関する知識を示します
  • SOQLクエリで使用されているキーワードを特定し、クエリの構造のどこで使用されているかを説明します
トピック 6
  • 期待どおりに機能しないApexコードまたはトリガー
  • さまざまなタイプのカスタムメタデータとカスタム設定のユースケースを特定する
トピック 7
  • Visualforceコントローラーとコントローラー拡張機能をテストするための手法とツールを適用する
  • Salesforceでローコードアプローチを採用する利点の概要
トピック 8
  • LightningWebコンポーネントでApexメソッドを使用できるようにする方法を特定する
  • 宣言型ソリューションまたはカスタムコード化ソリューションを実装する必要があるかどうかを判断する

 

質問 49
A developer is integrating with a legacy on-premise SQL database.
What should the developer use to ensure the data being integrated is matched to the right records in Salesforce?

  • A. External Id field
  • B. Formula field
  • C. External Object
  • D. Lookup field

正解: C

 

質問 50
A lead developer for a Salesforce organization needs to develop a page-centric application that allows the user to interact with multiple objects related to a Contact The application needs to implement a third-party JavaScript framework such as Angular, and must be made available in both Classic and Lightning Experience.
Given these requirements, what is the recommended solution to develop the application?

  • A. Visualforce
  • B. Aura Components
  • C. Lightning Experience Builder
  • D. Lightning Web Components

正解: A

 

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

  • A. Get[typeOfLimit] --> (Ex. getDMLStatements())
  • B. GetLimit[typeOfLimit] --> (Ex. getLimitDMLStatements())

正解: A

 

質問 52
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?

  • A. A workflow rule is firing with a Create Task action
  • B. A workflow rule is firing with a Field Update action
  • C. A user is editing the record multiple times
  • D. A user is creating the record as Closed

正解: C

 

質問 53
A developer writes the following code:

While testing the code, the developer receives the following error message: System.CalloutException : You have uncommitted work pending What should the developer do? (Choose two.)

  • A. Ensure all callouts are completed prior to executing DML statements
  • B. Move the web service callout into an Cfuture method
  • C. Use Database.insert (order, true) to immediately commit any database changes
  • D. Use the asyncSend() method of the HTTP class to send the request in async context

正解: A,B

 

質問 54
Which use case is an appropriate fit for the Cfuture asynchronous Apex method? (Choose two.)

  • A. A developer has long-running jobs with large data volumes that need to be performed in batches
  • B. A developer needs to segregate DML operations and bypass the mixed save DML error
  • C. A developer has jobs that need larger query results than regular transactions allow
  • D. A developer has long-running methods and needs to prevent delaying an Apex transaction

正解: B,D

 

質問 55
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

  • A. Page Layouts should never be deployed via Change Sets, as this causes Workflows and Field-level Security to be reset and fields to disappear.
  • B. A sandbox should be created to use as a unified testing environment instead of deploying Change Sets directly to production.
  • C. The administrators are deploying their own Change Sets, thus deleting each other's fields from the objects in production.
  • D. The administrators are deploying their own Change Sets over each other, thus replacing entire Page Layouts and Workflows in Production

正解: B,D

 

質問 56
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?

  • A. Change the CalloutUtil.makeRestCallout to an @future method
  • B. Change the CalloutUtil.makeRestCallout to an @InvocableMethod method.
  • C. Remove the Database.setSavepoint and Database.rollback.
  • D. Move the CalloutUtil.makeRestCallout method call below the catch block.

正解: A

 

質問 57
Which three Visualforce components can be used to initiate Ajax behavior to perform partial page updates? Choose 3 answers

  • A. Use Salesforce Connect to view real-time Order data in the ERP system.
  • B. Ensure real-time order data is in Salesforce using the Streaming API.
  • C. Write a cron job In Salesforce to poll the ERP system for order updates.
  • D. Have the ERP system push the data into Salesforce using the SOAP API.

正解: C,D

 

質問 58
Which of the following exceptions cannot be caught and will force an error? (Choose three.)

  • A. DMLException
  • B. License exceptions
  • C. LimitException
  • D. SObjectExceptions
  • E. ListException
  • F. AssertException

正解: B,C,F

解説:
SObjectException occurs when accessing a field not queried, or you try to change a field during the wrong dml statement (i.e. an edit-only field being set on insert) Custom exceptions must extend the "Exception" class

 

質問 59
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 call Test.startTest()
  • B. The test is not run by a System Administrator
  • C. The test does not set the current page reference
  • D. The test does not create product data

正解: C,D

 

質問 60
A developer needs test data for Apex test classes.
What can the developer use to provide test data to the test methods? (Choose two.)

  • A. Database.createTestRecords (10)
  • B. myDataFactory.createTestRecords (10)
  • C. List<sObject> Is = Test.loadData (Lead.sObjectType, fmyTestLeads f);
  • D. List<sObject> Is = Test.loadDat (Lead.sObjectType, $Resource + 'myTestLeads f);

正解: B,C

 

質問 61

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 accountMap instead of List accountList.
  • B. Move the Region__c query to outside the loop.
  • C. Use a Map to cache the results of the Region__c query by Id.
  • D. Remove the last line updating accountList as it is not needed.

正解: A,C

 

質問 62
When developing a Lightning web component, which setting displays lightning-layout-items in one column on small devices, such as mobile phones, and in two columns on tablet-size and desktop-size screens?

  • A. Set size=M6" mobile-device-size="12"
  • B. Set size-"6" small-device-size="12"
  • C. Set size-"12" medium-device-size="6"
  • D. Set size-"12" tablet-device-size="6"

正解: C

 

質問 63
What is the transaction limit for the number of records using QueryLocator?

  • A. 100,000
  • B. 50,000,000
  • C. 50,000
  • D. 5,000,000
  • E. There is no limit

正解: B

 

質問 64
Customer billing data must be added and updated into Salesforce from a remote system on a weekly basis. Additionally, customer activity information must be extracted from Salesforce and put it into an on-premises data warehouse on a weekly basis.
Which approach should be used to import data into Salesforce and export data out of Salesforce, taking into consideration that these imports and exports can interfere with end-user operations during business hours and involve large amounts of data?

  • A. Batch Apex, where Salesforce pushes data to and pulls data from the remote systems
  • B. Salesforce Connect to push data to and pull data from the remote systems
  • C. Replication via third-party ETL to push data into Salesforce and pull data out in batches
  • D. Call-in directly from each remote system to Salesforce APIs to push and pull the data

正解: B

 

質問 65
Which annotation exposes an Apex class as a RESTful neb service?

  • A. @RemoteAction
  • B. @HttpInvocabte
  • C. @RestRtsoorct
  • D. @AuraEnaWed

正解: C

 

質問 66
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. Fightning:quickAction

正解: D

 

質問 67
......

PDII試験問題集合格させるのは更新されたのは2022年年最新の認証済み試験問題:https://www.goshiken.com/Salesforce/PDII-mondaishu.html

ガイド(2022年最新)実際のSalesforce PDII試験問題:https://drive.google.com/open?id=13_CnaUQ4Ukv87qUqAnJpEDs47zUQAEBH