[Q30-Q53] テスト資料DEX-450テストエンジン試験問題はここにある[2025年05月]

Share

テスト資料DEX-450テストエンジン試験問題はここにある[2025年05月]

合格突破受験者シミュレーションされたDEX-450試験PDF問題を試そう


Salesforce DEX-450 認定は、世界的に認められ、業界で高く評価されています。この認定は、認定されたプロフェッショナルが、ApexおよびVisualforceを使用してSalesforceプラットフォーム上でカスタムアプリケーションを構築するために必要な知識とスキルを持っていることを示しています。この認定は、プロフェッショナルがSalesforceプラットフォームの最新の開発に常に更新されていることも示しています。


SalesforceのDEX-450試験は、Salesforceが実施する認定試験です。この試験は60問の多肢選択問題から構成され、受験者には105分の時間が与えられます。試験は複数の言語で利用可能で、テストセンターでオンラインまたは対面で受験することができます。試験料は200米ドルで、試験に合格した受験者はSalesforceから認定書を受け取ります。

 

質問 # 30
While working in a sandbox, an Apex test fails when run in the Test Runner. However, executing the Apex logic in the Execute Anonymous window succeeds with no exceptions or errors. Why did the method fail in the sandbox test framework but succeed in the Developer Console?

  • A. The test method relies on existing data in the sandbox.
  • B. The test method is calling an @future method.
  • C. The test method does not use Sysetem.runas= to execute as a specific user.
  • D. The test method has a syntax error in the code.

正解:A

解説:
The Apex test fails in the Test Runner but succeeds in the Execute Anonymous window because the test method relies on existing data in the sandbox.
Isolation of Test Data: By default, Apex tests do not have access to pre-existing data in the organization. Tests are executed in an isolated context to ensure they are not dependent on external data, promoting reliability and repeatability.
"Apex test methods don't have access to pre-existing data in the organization. The test methods have access to all data that they create and to changes made by other test methods (unless the @IsTest(Isolated=true) annotation is used)."
- Apex Developer Guide: Isolation of Test Data from Organization Data in Unit Tests Execute Anonymous Window: When code is run in the Execute Anonymous window, it executes in the current user's context and has access to all organization data, including existing records.
"All Apex code runs in system mode. The only exception is anonymous blocks, such as code executed using the Execute Anonymous window or the SOAP API."
- Apex Developer Guide: Enforcing Object and Field Permissions
Solution: To fix the failing test, the developer should create the necessary test data within the test method or use the @IsTest(SeeAllData=true) annotation if access to existing data is absolutely necessary (though this is generally discouraged).
"If you specify @IsTest(SeeAllData=true), the test method has access to all data in the organization, but the test can be slower and less reliable because it might depend on data that changes."
- Apex Developer Guide: Using the SeeAllData Annotation
Why Other Options Are Incorrect:
Option A: While calling an @future method requires special handling in tests, it would not cause the method to pass in Execute Anonymous and fail in tests.
Option C: A syntax error would prevent the code from compiling, so it wouldn't run in either context.
Option D: Using System.runAs is only necessary when testing code that behaves differently for users with different profiles or permissions.
Conclusion: The discrepancy arises because the test method is attempting to access data that isn't available in the test context, leading to its failure in the Test Runner but success in the Execute Anonymous window.


質問 # 31
In the following example, which sharing context will myMethod execute when it is invoked?

  • A. Sharing rules will be Inherited from the calling context.
  • B. Sharing rules will be enforced by the instantiating class.
  • C. Sharing rules will not be enforced for the running user.
  • D. Sharing rules will be enforced for the running user.

正解:A


質問 # 32
A developer needs an Apex method that can process Account or Contact records. Which method signature should the developer use?

  • A. Public void doWork(Account || Contatc)
  • B. Public void doWork(Account Contact)
  • C. Public void doWork(sObject theRecord)
  • D. Public void doWork(Record theRecord)

正解:C


質問 # 33
Which tool can deploy destructive changes to apex classes in production?

  • A. Workbench
  • B. Salesforce setup
  • C. Developer Console
  • D. Change sets

正解:A


質問 # 34
Which option should a developer use to create 500 Accounts and make sure that duplicates are not created for existing Account Sites?

  • A. Data Loader
  • B. Salesforce-to-Salesforce
  • C. Data Import Wizard
  • D. Sandbox template

正解:C


質問 # 35
A company that uses a Custom object to track candidates would like to send candidate information automatically to a third -party human resource system when a candidate is hired. What can a developer do to accomplish this task?

  • A. Create a workflow rule with an outbound message action.
  • B. Create an auto response rule to the candidate.
  • C. Create a Process Builder with an outbound message action.
  • D. Create an escalation rule to the hiring manager.

正解:A


質問 # 36
Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own.
What should the developer use to enforce sharing permissions for the currently logged in user while using the custom search tool?

  • A. Use the with sharing keyword on the class declaration.
  • B. Use the without sharing keyword on the class declaration.
  • C. Use the schema describe calls to determine if the logged-in user has access to the Account object.
  • D. Use the userInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user.

正解:A


質問 # 37
Which two statements are acceptable for a developer to use inside procedural loops?

  • A. Delete contactList;
  • B. Contact con = new Contact();
  • C. ContactList.remove(i);
  • D. Account a = [SELECT id, Name FROM account WHERE id = : con.AccountId LIMIT 1];

正解:B、C


質問 # 38
What must the Controller for a Visulforce page utilized to override the standard Opportunity view button?

  • A. A constructor that initialized a private Opportunity variable.
  • B. A callback constructor to reference the StandardController
  • C. The StandardSetController to support related lists for pagination
  • D. The Opportunity StandardController for pre-built functionality

正解:D


質問 # 39
Which two statements are true about Apex code executed in Anonymous Blocks? Choose 2 answers

  • A. The code runs with the permissions of the logged user.
  • B. The code runs with the permissions of the user specified in the runAs() statement
  • C. All DML operations are automatically rolled back
  • D. Successful DML operations are automatically committed
  • E. The code runs in system mode having access to all objects and fields.

正解:A、D


質問 # 40
Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own. What should the developer use to enforce sharing permission for the currently logged-in user while using the custom search tool?23wa

  • A. Use the with sharing keyword on the class declaration.
  • B. Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user.
  • C. Use the without sharing keyword on the class declaration.
  • D. Use the schema describe calls to determine if the logged-in users has access to the Account object.

正解:D


質問 # 41
What is a benefit of developing applications in a multi-tenant environment?

  • A. Default out-of-the-box configuration
  • B. Unlimited processing power and memory
  • C. Enforced best practices for development
  • D. Access to predefined computing resources

正解:A


質問 # 42
A developer needs to make a custom Lightning Web Component available in the Salesforce Classic user interface Which approach can be used to accomplish this?

  • A. Use the Lightning Out JavaScript library to embed the Lightning Web Component in a Visualforce page and add to the page layout.
  • B. Use a Visualforce page with a custom controller to invoke the Lightning Web Component using a call to an Apex method.
  • C. Embed the Lightning Web Component is a Visualforce Component and add directly to the page layout.
  • D. Wrap the Lightning Web Component in an Aura Component and surface the Aura Component as a Visualforce tab.

正解:A


質問 # 43
Which three process automations can immediately send an email notification to the owner of an Opportunity when its Amount is changed to be greater than $10,000? Choose 3 answers

  • A. Flow Builder
  • B. Workflow Rule
  • C. Escalation Rule
  • D. Approval Process
  • E. Process Builder

正解:B、D、E


質問 # 44
Assuming that name is a String obtained by an tag on a Visualforce page, which two SOQL queries performed are safe from SOQL injection? Choose 2 answers

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

正解:A、C


質問 # 45
What are two ways a developer can get the status of an enquered job for a class that queueable interface? Choose 2 answers

  • A. View the apex status Page
  • B. View the apex Jobs page
  • C. Query the AsyncApexJobe object
  • D. View the apex flex Queue

正解:A、B


質問 # 46
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 child object and use a red-black tree sorting to sum the amount for all related child objects under the Opportunity.
  • B. Write a Process Builder that links the custom object to the Opportunity.
  • C. Write a trigger on the child object and use an aggregate function to sum the amount for all related child objects under the Opportunity
  • D. Use the Streaming API to create real-time roll-up summaries.

正解:C


質問 # 47
Refer to the following code that runs in an Execute Anonymous block:

In an environment where the full result set is returned, what is a possible outcome of this code?

  • A. The transaction will succeed and the first ten thousand records will be committed to the database.
  • B. The total number of DML statements will be exceeded.
  • C. The total number of records processed as a result of DML statements will be exceeded.
  • D. The total number of records processed as a result of DML statements will be exceeded

正解:C


質問 # 48
which statement is true regarding execution order when triggers are associated to the same object and event?

  • A. executed In the order they are modified.
  • B. Triggers are executed in the order they are created.
  • C. Triggers are executed alphabetically by trigger name.
  • D. Trigger execution order cannot be guaranteed.

正解:D


質問 # 49
A business has a proprietary Order Management System (OMS) that creates orders from their website and ... the order. When the order is created in the OMS, an integration also creates an order record in Salesforce ... relates it to the contact as identified by the email on the order. As the order goes through different stages in OMS, the integration also updates it in Salesforce.
It is notified that each update from the OMS creates a new order record in Salesforce.
Which two actions prevent the duplicate order records from being created in Salesforce?
Choose 2 answers

  • A. Write a before trigger on the order object to delete any duplicates.
  • B. Use the order number from the OMS as an external ID.
  • C. Use the email on the contact record as an external ID.
  • D. Ensure that the order number in the OMS is unique.

正解:A、D


質問 # 50
Universal Containers has implemented an order management application. Each Order can have one or more Order Line items. The Order Line object is related to the Order via a master-detail relationship. For each Order Line item, the total price is calculated by multiplying the Order Line item price with the quantity ordered.
What is the best practice to get the sum of all Order Line item totals on the Order record?

  • A. Quick action
  • B. Apex trigger
  • C. Formula field
  • D. Roll-up summary field

正解:D


質問 # 51
A developer created these three Rollup Summary fields in the custom object, Project__c:

The developer is asked to create a new field that shows the ratio between rejected and approved timesheets for a given project.
Which should the developer use to implement the business requirement in order to minimize maintenance overhead?

  • A. Field Update actions
  • B. Apex trigger
  • C. Formula field
  • D. Record-triggered flow

正解:C


質問 # 52
Which two characteristics are true for Lightning Web Component custom events?
Choose 2 answers

  • A. Data may be passed in the payload of a custom event using @wire decorated properties.
  • B. By default a custom event only propagates to its immediate container and to its immediate child component.
  • C. Data may be passed In the payload of a custom event using a property called detail.
  • D. By default a custom event only propagates to it's immediate container.

正解:C、D


質問 # 53
......


Salesforce DEX-450試験は、Lightning ExperienceでApexとVisualforceを使用したプログラム開発の知識とスキルを向上させたいと考えているプロフェッショナルを対象としています。この認定試験は、これらのテクノロジーを使用してカスタムアプリケーションを設計、開発、テスト、および展開する能力を評価します。この試験に合格することで、候補者はSalesforceプラットフォームのプログラム開発環境での熟練度を証明し、この分野の専門家として差別化することができます。

 

正真正銘で最適なDEX-450オンライン練習試験資料:https://jp.fast2test.com/DEX-450-premium-file.html

優良な質を持つDEX-450問題集と解釈が待ってます。 今すぐゲット:https://drive.google.com/open?id=1nSMYpJdWQzAJyxOjUTkxAoKzYu6zEQ45


弊社を連絡する

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

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

サポート: 現在連絡 

English Deutsch 繁体中文 한국어