Salesforce Certified Platform Developer II - Multiple Choice 認定 Plat-Dev-301 試験問題:
1. A company uses Salesforce to sell products to customers. They also have an external product information management (PIM) system that is the system of record for products.
A developer received these requirements:
* Whenever a product is created or updated in the PIM, a product must be created or updated as a Product? record in Salesforce and a PricebookEntry record must be created or updated automatically by Salesforce.
= The PricebookEntry should be created in a Priceboek2 that is specified in a custom setting.
What should the developer use to satisfy these requirements?
A) Event Monitoring
B) Invocable Action
C) SObject Tree REST
D) Custom Apex REST
2. Business rules require a Contact ta always be created when a new Account is created.
What can be used when developing a custom screen to ensure an Account is not created if the creation of the Contact fails?
A) Use the Database. Insect method with a11orNone SEL LO alee,
B) Use the Database. Delete method if the Contact insertion fails.
C) Use setSaverpoint (1) and rollback() with a try-catch block.
D) Disable validation rules on Contacts and set default values with a trigger.
3. Assuming the CreateOneAccount class creates one account and implements the Queueable interface, which syntax properly tests the Apex code?
A)
B)
C)
D)
A) Option B
B) Option D
C) Option A
D) Option C
4. A company has many different unit test methods that create Account records as part of their data setup. A new required field was added to the Account and now all of the unit tests fail.
What is the optimal way for a developer to fix the issue?
A) Add a before insert trigger on Account to set the value of the required field,
B) Create a TestDataFactory class that serves as the single place to create Accounts for unit tests and set the required field there.
C) Add the required field to the data setup for all of the unit tests.
D) Change the required field to be a validation rule that excludes the System Administrator profile.
5. What is the optimal way to fix this?
A)
B)
C)
D)
A) Option B
B) Option D
C) Option A
D) Option C
質問と回答:
| 質問 # 1 正解: D | 質問 # 2 正解: C | 質問 # 3 正解: A | 質問 # 4 正解: B | 質問 # 5 正解: D |














960 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
