Part 2【Platform Developer II】Salesforce 認定 Platform デベロッパー II 資格練習問題集と解析

認定概要認定の目的:

Salesforceプラットフォーム上でのカスタムアプリケーション開発に関する高度な知識と経験を証明するための資格です。

対象者:

2〜4年の開発経験を持つプロフェッショナルを対象としています。特に、Lightningプラットフォームでの設計、実装、展開に関する経験が求められます。

必要なスキル:

Salesforceのデータモデル、インターフェースデザイン、プログラム開発、テスト原則に関する深い理解が必要です。

試験内容:

複数選択式の試験で、実際の開発環境での知識を適用する能力が問われます。試験ガイドを確認し、関連するスーパーバッジをTrailheadで完了することが推奨されます。

準備方法:

実務経験、コース受講、自習を組み合わせて準備することが推奨されます。Trailheadには、試験準備のための学習パスも用意されています。

資格維持:

認定保持者は、プラットフォームのアップデートに対応するためにメンテナンスモジュールを完了する必要があります。

◐01.A developer is asked to create a Lightning web component that will be invoked via a button on a record page. The component must be displayed in a modal dialog. Which three steps should the developer take to achieve this? Choose 3 answers

Options:

  • A. Add a targetConfig and set targets to lightning_ RecordAction.

  • B. In tagetConfigs, add lightning_ AppPage as a target.

  • C. Set actionType to ScreenAction.

  • D.   In targets, add lightning RecordAction as a target.

  • D.   Set eventType to Action.

Correct Answer: A,C,D

Explanation:


◐02.How can a developer efficiently incorporate multiple JavaScript libraries, such as JQuery and MomentJS, in a Lightning component?

Options:

  • A. Use JavaScript remoting and script tags.

  • B. Implement the libraries in separate helper files.

  • C. Join multiple assets from a static resource.

  • D. Do Use CDNs with script attributes.

Correct Answer: C

Explanation:


◐03.A Lightning web component exists in the system and displays information about the record in context as a modal. Salesforce administrators need to use this component within the Lightning App Builder. Which two settings should the developer configure within the xml resource file? Choose 2 answers

Options:

  • A. Set the IsVisible attribute to True.

  • B. Set the IsExposed attribute to True.

  • C. Sprcify the target to be lightning__AppPage.

  • D. Specify the target to be lightning__RecordPage.

Correct Answer: B,D

Explanation:
https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.reference_configuration_tags


◐04.A company has a lightning Page with many Lightning Components, some that cache reference data. It Is reported that the page does not always show the most current reference data. What can a developer use to analyze and diagnose the problem In the Lightning Page?

Options:

  • A. Salesforce Lightning Inspector Event Log Tab

  • B. Salesforce Lightning Inspector Transactions Tab

  • C. Salesforce Lightning Inspector Storage Tab

  • D. Salesforce Lightning Inspector Actions Tab

Correct Answer: C

Explanation:


◐05.A developer is writing a Visualforce page that queries accounts in the system and presents a data table with the results. The users want to be able to filter the results based on up to five fields. However, the users want to pick the five fields to use as filter fields when they run the page. Which Apex code feature is required to facilitate this solution?

Options:

  • A. Streaming API

  • B. Dynamic SOQL

  • C. Report API

  • D. Dynamic variable binding

Correct Answer: B

Explanation:


◐06.Which code statement includes an Apex method named updateAccounts in the class AccountController for use in a Lightning web component?

Options:

  • A. import updateAccounts from '@salesforce/apex/AccountController';

  • B. import updateAccounts from 'AccountController';

  • C. import updateAccounts from 'AccountController.updateAccounts';

  • D. import updateAccounts from '@salesforce/apex/AccountController.updateAccounts';

Correct Answer: D

Explanation:
https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.apex_import_method


◐07.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?

Options:

  • A. Aura Components

  • B. Lightning Web Components

  • C. Visualforce

  • D. Lightning Experience Builder

Correct Answer: A

Explanation:


◐08.A Visualforce Page throws an 'Attempt to dereference a null object' error for a Contact, What change in the controller will fix the error?

Options:

  • A. Declare a static final Contact at the top of the controller.

  • B. Use a condition in the getter to return a new Contact if it is null.

  • C. Change the getter's signature to be static Contact.

  • D. Change the setter's signature to return a Contact

Correct Answer: B

Explanation:


◐09.An Aura component functions in preview mode and needs to be used inside a Lightning App Builder page, but itis not available. What change should be applied to the component?

Options:

  • A. Refresh the sandbox and upgrade it to the latest API version.

  • B. Delete the component, metadata, and Apex controller and recreate them.

  • C. Look for errors in the logic in the JavaScript controller.

  • D. Expose it in the markup using the implements and access attributes.

Correct Answer: D

Explanation:


◐10.A developer wants to use an Aura component with a custom action. What should be considered in order to do this?

Options:

  • A. The class "slds-modal__container" must be added to the top-level element of the component.

  • B. The component's JavaScript controller must handle a method on initialization.

  • C. A default value must be provided for each component attribute marked as required.

  • D. The component must implement the flexipage: availableForRecordHome interface.

Correct Answer: C

Explanation:
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_using_lex_s1_config_action.htm


ここから先は

79,777字

¥ 500

この記事が気に入ったらサポートをしてみませんか?