[2025年更新]合格できるSalesforce PDIプレミアム資料テストエンジンPDFの無料問題集お試しセット
2025年最新のリアルPDI問題集テストエンジン試験問題はここにある
Salesforce PDI認定試験は、Salesforce開発のスキルと専門知識を紹介したい開発者にとって不可欠です。この試験では、Salesforceプラットフォームでカスタムアプリケーションを構築し、カスタムユーザーインターフェイスを設計し、APEXとVisualForceを使用してビジネスプロセスを自動化する開発者の機能をテストします。また、開発者がSalesforce開発のベストプラクティスと設計パターンに関する知識を検証する優れた方法でもあります。
Salesforce PDI試験は、60問の択一問題で構成され、制限時間は110分間です。この試験は、候補者のSalesforceプラットフォームに関する知識と、その知識を実際のシナリオに適用する能力を評価するために設計されています。この試験は、Apex、Visualforce、データモデリング、他のシステムとの統合など、幅広いトピックをカバーしています。
質問 # 53
A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or update. The field update in the workflow rule is configured to not re-evaluate workflow rules. What is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on the Account?
- A. 0
- B. 1
- C. 2
- D. 3
正解:D
質問 # 54
A developer needs to join data received from an integration with an external system with parent records inSalesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent.
Which action will allow the developer to relate records in the data model without knowingthe Salesforce ID?
- A. Create a custom field on the child object of type Foreign Key
- B. Create acustom field on the child object of type External Relationship.
- C. Create and populate a custom field on the parent object marked as Unique
- D. Create and populate a custom field on the parent object marked as an External ID.
正解:D
質問 # 55
How can a developer check the test coverage of active Process Builder and Flows deploying them in a Changing Set?
- A. Use SOQL and the Tooling API
- B. Use the Apex testresult class
- C. Use the Flow properties page.
- D. Use the code Coverage Setup page
正解:B
質問 # 56
A developer needs to test an Invoicing system integration. After reviewing the number of transactions required for the test, the developer estimates that the test data will total about 2 GB of data storage. Production data is not required for the integration testing.
Which two environments meet the requirements for testing? (Choose two.)
- A. Developer Sandbox
- B. Partial Sandbox
- C. Developer Pro Sandbox
- D. Developer Edition
- E. Full Sandbox
正解:B、E
質問 # 57
A developer needs to create a baseline set of data (Accounts, Contacts, Products, Assets) for an entire suite of Apex tests allowing them to test isolated requirements for various types of Salesforce cases.
Which approach can efficiently generate the required data for each unit test?
- A. Use @TestSetup with a void method.
- B. Create a mock using the HttpcalloutMock interface.
- C. Add @IsTest (seeAllData=true) at the start of the unit test class.
- D. Create test data before Test .startTest() in the unit test.
正解:A
質問 # 58
When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?
- A. Sandbox
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs.htm - B. Environment Hub
- C. Production
- D. Dev Hub
正解:D
質問 # 59
A developer considers the following snippet of code:
Based on this code, what is the value of x?
- A. 0
- B. 1
- C. 2
- D. 3
正解:C
質問 # 60
A developer creates a custom exception as shown below:
What are two ways the developer can fire the exception in Apex? Choose 2 answers
- A. New ParityException (parity does not match);
- B. New ParityException( );
- C. Throw new ParityException (parity does not match);
- D. Throw new parityException ( );
正解:C、D
質問 # 61
A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified. The developer team decided that the trigger should be tested with 200 account records with unique names.
What two things should be done to create the test data within the unit test with the least amount of code?
Choose 2 answers
- A. Use the @isTest (seeAllData=true) annotation in the test class.
- B. Create a static resource containing test data.
- C. Use the @isTest (isParallel=true) annotation in the test class.
- D. Use Test, loadData to populate data in your test methods.
正解:B、D
解説:
* Why Use Static Resources and Test.loadData?
* C: Static resources allow you to define reusable test data (e.g., in a CSV file).
* D: Test.loadData simplifies loading bulk test data into test classes from static resources.
* Why Not Other Options?
* A: Using @isTest(seeAllData=true) violates test isolation principles and is discouraged.
* B: @isTest(isParallel=true) is used for parallel execution, not for creating test data.
* Test.loadData: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode
/apex_testing_tools_load_data.htm
References:
質問 # 62
A developer wants to store a description of a product that can be entered on separate lines by a user during product setup and later displayed on a Visualforce page for shoppers. Which field type should the developer choose to ensure that the description will be searchable in the custom Apex SOQL queries that are written?
- A. Text Area
- B. Text Area (Rich)
- C. Text Area (Long)
- D. Text
正解:A
質問 # 63
An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship.
How can this be achieved?
- A. Write a trigger on the Opportunity object and use tree sorting to sum the amount for all related child objects under the Opportunity.
- B. Write a trigger on the child object and use an aggregate function to sum the amount for all related child objects under the Opportunity.
- C. Use the Streaming API to create real-time roll-up summaries.
- D. Use the Metadata API to create real-time roll-up summaries.
正解:B
解説:
* Why a Trigger on the Child Object?
* Since the relationship is not master-detail, a trigger on the child object can perform aggregate calculations and update the parent Opportunity.
* Why Not Other Options?
* A: Tree sorting is unnecessary and unrelated to roll-up summaries.
* B and D: Neither Streaming API nor Metadata API is suitable for real-time roll-up calculations.
* Custom Roll-Up Summaries: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode
/apex_triggers_best_practices.htm
References:
質問 # 64
Where can debug log filter settings be set?Choose 2 answers
- A. The Show More link on the debug log's record.
- B. The Filters link by the monitored user's name within the web UI.
- C. On the monitored user's name.
- D. The Log Filters tab on a class or trigger detail page.
正解:B、D
質問 # 65
While writing an Apex class, a developer wants to make sure that all functionality being developed is handled as specified by the requirements.
Which approach should the developer use to be sure that the Apex class is working according to specifications?
- A. Create a test class to execute the business logic and run the test in the Developer Console.
- B. Include a try/catch block to the Apex class.
- C. Include a savepoint and pacabase.rollback().
- D. Run the code in an Execute Anonymous block in the Developer Console.
正解:A
解説:
Creating test classes ensures that the Apex class works according to specifications by validating the functionality under various scenarios and edge cases. Running tests in the Developer Console provides detailed feedback on whether the class meets requirements.
Reference:Testing Apex
Incorrect Options:
A:Savepoints and rollbacks are used to manage transactions, not for validation.
B:Try/catch blocks handle exceptions but do not ensure the code adheres to specifications.
C:Execute Anonymous only tests small portions of code interactively, not comprehensive functionality.
Below is the formatted response for the provided question, adhering to the specified format and requirements.
The question falls under the Salesforce Platform and Declarative Features topic, as it involves Visualforce page components and their security implications, which is a key focus of the Salesforce Platform Developer I certification. The answer is based on official Salesforce Platform Developer I documentation, with a comprehensive explanation and references to relevant Salesforce documentation.
質問 # 66
Which code segment can be used to control when the dowork() method is called?
- A. If(Trigger.isRunning) dowork();
- B. For (Trigger.isRunning t: Trigger.new) { dowork(); }
- C. If(Trigger.isInsert) dowork();
- D. For (Trigger.isInsert t: Trigger.new) { dowork(); }
正解:C
質問 # 67
A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple sObjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the initial URL.
Which three statements are useful inside the unit test to effectively test the custom controller?
Choose 3 answers
- A. Test. setCurrentPage (pageRef) ;
- B. public Extendedcontroller (ApexPages.Standardcontraller entrl) { }
- C. insert pageret;
- D. ApexPages.currentPage ().getParametera(}.put{'input', "TeatValue');
- E. String nextPage = controller.save().getUrl ();
正解:A、D、E
質問 # 68
......
最新オフィシャル資料はPDI認証されたPDI問題集PDF:https://www.jpntest.com/shiken/PDI-mondaishu
最新推薦するPDI問題集はSalesforce PDI認証された:https://drive.google.com/open?id=16MndDXVsBTLs3l1xBj4I1g5pmnRB4eZP