更新されたPDF(2025年最新)実際にあるSalesforce PDI試験問題 [Q80-Q95]

Share

更新されたPDF(2025年最新)実際にあるSalesforce PDI試験問題

検証済みのPDI試験問題集PDF[2025年最新] 成功の秘訣はFast2test


Salesforce PDI認定試験では、Apexプログラミング、VisualForceページ、カスタムユーザーインターフェイスなどの幅広いトピックをカバーしています。また、データモデリング、データベース設計、展開戦略などのトピックもカバーしています。候補者は、Salesforceプラットフォームでアプリケーションを開発し、開発ライフサイクルに精通していることで実践的な経験を持つことが期待されています。


Salesforce Platform Developer I(PDI)試験は、Salesforceプラットフォームの開発者の知識をテストするために設計された認定試験です。この試験は、Salesforceプラットフォーム上でカスタムアプリケーションを構築し、プラットフォームの機能について確固たる理解を持つ開発者を対象としています。PDI試験は、Apex、Visualforce、データモデリング、セキュリティなど、さまざまなトピックをカバーしています。

 

質問 # 80
A developer created a custom order management app that uses an Apex class. The order is represented by an Order object and an Orderltem object that has a master-detail relationship to Order. During order processing, an order may be split into multiple orders.
What should a developer do to allow their code to move some existing Orderltem records to a new Order record?

  • A. Add without sharing to the Apex class declaration.
  • B. Change the master-detail relationship to an external lookup relationship.
  • C. Create a junction object between OrderItem and Order.
  • D. Select the Allow reparenting option on the master-detail relationship.

正解:D

解説:
To allow moving existing OrderItem records to a new Order record in a master-detail relationship:
Option B: Select the Allow reparenting option on the master-detail relationship.
Steps:
Go to the master-detail field on OrderItem.
Edit the field and select "Allow reparenting".
Reference:
"To allow reparenting of the detail records, select 'Allow reparenting' in the master-detail relationship field definition."
- Salesforce Help: Define Master-Detail Relationships
Why Other Options Are Incorrect:
Option A: A junction object is unnecessary since the relationship already exists.
Option C: Changing to an external lookup would not solve the problem and may introduce issues.
Option D: Adding without sharing does not affect the ability to reparent records in a master-detail relationship.


質問 # 81
Given the following Anonymous Block:

Which one do you like?
What should a developer consider for an environment that has over 10,000 Case records?

  • A. The try/catch block will handle exceptions thrown by governor limits.
  • B. The transaction will succeed and changes will be committed.
  • C. The try/catch block will handle any DML exceptions thrown.
  • D. The transaction will fail due to exceeding the governor limit.

正解:D


質問 # 82
Which set of roll-up types are available when creating a roll-up summary field?

  • A. AVRAGE, COUNT, SUM, MIN, MAX
  • B. SUM, MIN, MAX
  • C. COUNT, SUM, MIN, MAX
  • D. AVERAGE, SUM, MIN, MAX

正解:C


質問 # 83
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 Flow properties page.
  • C. Use the Apex testresult class
  • D. Use the code Coverage Setup page

正解:A


質問 # 84
The Review_c object have a lookup relationship to the job_Application_c object. The job_Application_c object has a master detail relationship up to the position_c object. The relationship is based on the auto populated defaults?
What is the recommended way to display field data from the related Review _C records a Visualforce page for a single Position_c record? Select one of the following:

  • A. Utilize the Standard Controller for Position_c and cross-object Formula Fields on the Review_c object to display Review_c data.
  • B. Utilize the Standard Controller for Position_c and a Controller Extension to query for Review_c data.
  • C. Utilize the Standard Controller for Position_c and cross-object Formula Fields on the Job_Application_c object to display Review_c data.
  • D. Utilize the Standard Controller for Position_c and expression syntax in the Page to display related Review_c through the Job_Applicacion_c inject.

正解:B


質問 # 85
Which scenario is valid for execution by unit tests?

  • A. Generate a Visualforce PDF with geccontentAsPDF ().
  • B. Load data from a remote site with a callout.
    5. Set the created date of a record using a system method.
    Cc: Execute anonymous Apex as a different user.

正解:A


質問 # 86
A developer is tasked to perform a security review of the ContactSearch Apex class that exists in the system.
Whithin the class, the developer identifies the following method as a security threat: List<Contact> performSearch(String lastName){ return Database.query('Select Id, FirstName, LastName FROM Contact WHERE LastName Like %'+lastName+'%); } What are two ways the developer can update the method to prevent a SOQL injection attack? Choose 2 answers

  • A. Use variable binding and replace the dynamic query with a static SOQL. (Missed)
  • B. Use the escapeSingleQuote method to sanitize the parameter before its use. (Missed)
  • C. Use a regular expression expression on the parameter to remove special characters.
  • D. Use the @Readonly annotation and the with sharing keyword on the class.

正解:C、D


質問 # 87
An Apex method, getAccounts, that returns a list of Accounts given a searchTerm, is available for Lightning Web Components to use.
What is the correct definition of a Lightning Web Component property that uses the getAccounts method?

  • A.
  • B.
  • C.
  • D.

正解:C

解説:
Option D correctly defines a property that uses the getAccounts Apex method. It uses the @wire decorator with a parameterized method reference.
@wire(getAccounts, { searchTerm: '$searchTerm' }) accountList;


質問 # 88
Which three tools can deploy metadata to production? (Choose three.)

  • A. Force.com IDE
  • B. Change Set from Sandbox
  • C. Metadata API
  • D. Data Loader
  • E. Change Set from Developer Org

正解:B、C、E


質問 # 89
Universal Container(UC) wants to lower its shipping cost while making the shipping process more efficient. The Distribution Officer advises UC to implement global addresses to allow multiple Accounts to share a default pickup address. The Developer is tasked to create the supporting object and relationship for this business requirement and uses the Setup Menu to create a custom object called "Global Address". Which field should the developer ad to create the most efficient model that supports the business need?

  • A. Add a Master-Detail field on the Account object to the Global Address object
  • B. Add a Master-Detail field on the Global Address object to the Account object.
  • C. Add a Lookup field on the Global Address object to the Account object
  • D. Add a Lookup field on the Account object to the Global Address object.

正解:B


質問 # 90
A developer has a Apex controller for a Visualforce page that takes an ID as a URL parameter. How should the developer prevent a cross site scripting vulnerability?

  • A. ApexPages.currentPage() .getParameters() .get('url_param')
  • B. String.ValueOf(ApexPages.currentPage() .getParameters() .get('url_param'))
  • C. String.escapeSingleQuotes(ApexPages.currentPage() .getParameters(). get('url_param'))
  • D. ApexPages.currentPage() .getParameters() .get('url_param') .escapeHtml4()

正解:C


質問 # 91
A developer needs to confirm that an Account trigger is working correctly without changing the organization's data.What would the developer do to test the Account trigger?

  • A. Use Deply from the Force.com IDE to deploy an 'insert Account' Apex class.
  • B. Use the New button on the Salesforce Accounts Tab to create a new Account record.
  • C. Use the Test menu on the developer Console to run all test classes for the account trigger.
  • D. Use the Open Execute Anonymous feature on the Developer Console to run an 'insert Account' DML statement.

正解:C


質問 # 92
A company has a custom object, Sales, }_Help_Request__c, that has a Lookup relationship to Opportunity. The Seles Help Request__c has a mumber field, Number_ct_Hours__c, that represents the amount of time spent on the Sales_Help Request__C.
A developer is tasked with creating a field, total_Hour2__c, on Opportunity that should be the sum of all of the Number_of_Hours_c values for the Sales_Help_Request__c records related to that Opportunity.
What should the developer use to implement this?

  • A. A trigger on the Opportunity object
  • B. A roll-up summary field on the sales Help_Request__c object
  • C. A roll-up summary field on the Opportunity object
  • D. A record-triggered flow on the Sales Help Request__c object

正解:D


質問 # 93
A developer needs to implement the functionality for a service agent to gather multiple pieces of information from a customer in order to send a replacement credit card.
Which automation tool meets these requirements?

正解:

解説:
Flow Builder


質問 # 94
Requirements state that a child record be to deleted when its parent is deleted, and a child can be moved to a different parent when necessary. Which type of relationship should be built between the parent and child objects in Schema Builder to support these requirements?

  • A. Lookup Relathionship from to parent to the child
  • B. Lookup Relathionship from to child to the parent
  • C. Master-Detail relationship
  • D. Child relationship

正解:C


質問 # 95
......


Salesforce PDI認定試験は、60の複数選択の質問で構成されるコンピューターベースのテストです。候補者は試験を完了するために105分を与えられ、合格するには少なくとも65%を獲得する必要があります。試験料は200ドルで、候補者はSalesforce Webサイトを通じてオンラインで試験に登録できます。

 

ベストを体験せよ!PDI試験問題トレーニングを提供しています:https://jp.fast2test.com/PDI-premium-file.html

練習サンプルと問題集と秘訣には2025年最新のPDI有効なテスト問題集:https://drive.google.com/open?id=157kcR1LNrObqpD_n5BoeqKdXBabLQEs1


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어