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

認定概要認定の目的:
Salesforceプラットフォーム上でのカスタムアプリケーション開発に関する高度な知識と経験を証明するための資格です。
対象者:
2〜4年の開発経験を持つプロフェッショナルを対象としています。特に、Lightningプラットフォームでの設計、実装、展開に関する経験が求められます。
必要なスキル:
Salesforceのデータモデル、インターフェースデザイン、プログラム開発、テスト原則に関する深い理解が必要です。
試験内容:
複数選択式の試験で、実際の開発環境での知識を適用する能力が問われます。試験ガイドを確認し、関連するスーパーバッジをTrailheadで完了することが推奨されます。
準備方法:
実務経験、コース受講、自習を組み合わせて準備することが推奨されます。Trailheadには、試験準備のための学習パスも用意されています。
資格維持:
認定保持者は、プラットフォームのアップデートに対応するためにメンテナンスモジュールを完了する必要があります。

Salesforce Basic

◐01.UC has enabled the translation workbench and has translated picklist values. UC has a custom multi-select picklist field, Products__c. on the Account object that allows sales reps to specify which of UC's products an Account already has. A developer is tasked with writing an Apex method that retrieves Account records, including the Products__c field. What should the developer do to ensure the value of Products__c is in the current user's language?

Options:

  • A. Set the locale on each record in the SOQL result list.

  • B. Use the locale clause in the SOQL query.

  • C. Use toLabel(Products__c) in the fields list of the SOQL query.

  • D.   Call the translate() method on each record in the SOQL result list.

Correct Answer: C

Explanation:


◐02.An org records customer order information in a custom object, Order__c, that has fields for the shipping address. A developer is tasked with adding code to calculate shipping changes on an order, based on a flat percentage rate associated with the region of the shipping address. What should the developer use to store the rates by region, so that when the changes are deployed to production no additional steps are needed for the calculation to work?

Options:

  • A. Custom object

  • B. Custom metadata type

  • C. Custom list setting

  • D. Custom hierarchy setting

Correct Answer: B

Explanation:


◐03.A software company uses a custom object, Defect__c, to track defects in their software. Defect__c has organization-wide defaults set to private. Each Defect__c has a related list of Reviewer__c records, each with a lookup field to User that is used to indicate that the User will review the Defect__c. What should be used to give the User on the Reviewer__c record read only access to the Defect__c record on the Reviewer__c record?

Options:

  • A. Apex managed sharing

  • B. View All on Defect__c

  • C. Criteria-based sharing

  • D. Lightning web component

Correct Answer: A

Explanation:


◐04.A developer is asked to develop a new AppExchange application. A feature of the program creates Survey records when a Case reaches a certain stage and is of a certain Record Type. This feature needs to be configurable, as different Salesforce instances require Survets at different times. Additionally, the out-of-the-box AppExchange app needs to come with a set of best practice settings that apply to most customers. What should the developer use to store and package the custom configuration settings for the app?

Options:

  • A. Custom metadata

  • B. Custom settings

  • C. Custom objects

  • D. Custom labels

Correct Answer: A

Explanation:


◐05.A developer used custom settings to store some configuration data that changes occasionally. However, tests are now failing in some of the sandboxes that were recently refreshed. What should be done to eliminate this issue going forward?

Options:

  • A. Set the setting type on the custom setting to Hierarchy.

  • B. Set the setting type on the custom setting to List.

  • C. Replace custom settings with static resources.

  • D. Replace custom settings with custom metadata.

Correct Answer: D

Explanation:


◐06.A developer needs to store variables to control the style and behavior of a Lightning Web Component. Which feature should be used to ensure that the variables are testable in both Production and all Sandboxes?

Options:

  • A. Custom variable

  • B. Custom object

  • C. Custom metadata

  • D. Custom setting

Correct Answer: C

Explanation:


◐07.Which method should be used to convert a Date to a String in the current user's locale?

Options:

  • A. Date.parse

  • B. Date.format

  • C. String.format

  • D. String.valueOf

Correct Answer: B

Explanation:
https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_date.htm#apex_System_Date_format


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

Options:

  • A. Use a custom metadata type to store key/value pairs.

  • B. Query the FirstDayofweek field from the Locale for the current user.

  • C. Use UerInfo.getLocale() in the component.

  • D. Import the firstDayofweek property in the component.

Correct Answer: C

Explanation:


◐09.Universal Containers decided to use Salesforce to manage a new hire interview process. A custom object called Candidate was created with organization-wide defaults set to Private A lookup on the Candidate object sets an employee as an Interviewer. What should be used to automatically give Read access to the record when the lookup field is set to the Interviewer user?

Options:

  • A. The record can be shared using a sharing rule.

  • B. The record can be shared using a permission set.

  • C. The record cannot be shared with the current setup.

  • D. The record can be shared using an Apex class.

Correct Answer: D

Explanation:


◐10.A developer is asked to find a way to store secret data with an ability to specify which profiles and users can access which secrets. What should be used to store this data?

Options:

  • A. Static resources

  • B. Custom settings

  • C. Custom metadata

  • D. System.Cookie class

Correct Answer: B

Explanation:


ここから先は

61,247字

¥ 500

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