DEX-450試験問題集、DEX-450練習テスト問題 [Q97-Q112]

Share

DEX-450試験問題集、DEX-450練習テスト問題

PDF問題(2022年最新)実際のSalesforce DEX-450試験問題


Salesforce DEX-450 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • Write tests for action methods, getters, setters, and properties
  • List the differences between the ways you can invoke DML operations
トピック 2
  • Process the result of a query in Apex
  • Understanding Record Types
  • Use trigger context variables
トピック 3
  • Describe how triggers fit into and can be impacted by the Order of Execution
  • Building a Data Model on the Salesforce Platform
トピック 4
  • Describe common limit issues and security concerns
  • Launch a Visualforce page using a custom button
トピック 5
  • Describe strategies for Testing Visualforce controllers
  • Use SOQL to Query Parent-Child Relationships
トピック 6
  • Describe practices for writing code that is easy to maintain and extend
  • Write triggers and classes that assume batches of data as input
トピック 7
  • Describe the syntax of a trigger definition
  • Display data from a record in a Visualforce page
トピック 8
  • Write a basic query using Salesforce’s query language, SOQL
  • Write Apex to invoke DML operations and handle DML errors
トピック 9
  • Write a query that traverses a child-to-parent and parent-to-child relationship
  • Creating Roll-Up Summary Fields

 

質問 97
What is the value of x after the code segment executes?String x = 'A';Integer i = 10;if ( i < 15 ) {i = 15;x = 'B';} else if ( i < 20 ) {x = 'C';} else {x = 'D'; }

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

正解: C

 

質問 98
How can a developer retrieve all Opportunity record type labels to populate a list collection?Choose 2 answers

  • A. Use the global variable $RecordType and extract a list from the map.
  • B. Obtain describe object results for the Opportunity objct.
  • C. Write a for loop that extracts values from the Opportunity.RecordType.Name field.
  • D. Write a SOQL for loop that iterates on the RecordType object.

正解: B,D

 

質問 99
What are two testing consideration when deploying code from a sandbox to production? Choose 2 answers

  • A. Apex code requires 75% coverage
  • B. 100% of test must execute without failure
  • C. 75% of test must execute without failure
  • D. Apex code requires 100% coverage

正解: A,B

 

質問 100
An apex trigger fails because it exceeds governor limits. Which two techniques should a developer use to resolve the problem? Choose 2 answers

  • A. Use the database class to handle DML operations
  • B. Use lists for all DML operations
  • C. Use maps to reference related records
  • D. Use SOQL aggregate queries to retrieve child records

正解: B,C

 

質問 101
How should a custom user interface be provided when a user edits an Account in Lightning Experience?

  • A. Override the Account's Edit button with Lightning component.
  • B. Override the Account's Edit button with Lightning Flow
  • C. Override the Account's Edit button with Lightning page.
  • D. Override the Account's Edit button with Lightning Action

正解: A

 

質問 102
What si the debug output of the following apex code? Decimal thevalue; system.debug(thevalue);

  • A. Null
  • B. Undefined
  • C. 0
  • D. 0.0

正解: A

 

質問 103
What is a good practice for a developer to follow when writing a trigger? (Choose 2)

  • A. Using @future methods to perform DML operations.
  • B. Using synchronous callouts to call external systems.
  • C. Using the Map data structure to hold query results by ID.
  • D. Using the Set data structure to ensure distinct records.

正解: C,D

 

質問 104
A developer writes the following code:

What is the result of the debug statement?

  • A. 1, 100
  • B. 2, 200
  • C. 1, 150
  • D. 2, 150

正解: D

 

質問 105
A company wants to create an employee rating program that allows employees to rate each other. An employees average rating must be displayed on the employee record. Employees must be able to create rating records, but are not allowed to create employee records. Which two actions should a developer take to accomplish this task?

  • A. Create a lookup relationship between the Rating and Employee object.
  • B. Create a trigger on the Rating object than updates a field on the Employee object.
  • C. Create a roll-up summary field on the Employee and use AVG to calculate the average rating score.
  • D. Create a master-detail relationship between the Rating and Employee objects.

正解: C

 

質問 106
What is a capability of the Force.com IDE? Choose 2 answers

  • A. Run Apex tests.
  • B. Download debug logs.
  • C. Roll back deployments.
  • D. Edit metadata components.

正解: A,D

 

質問 107
A candidate may apply to multiple jobs at the company Universal Containers by submitting a single application per job posting, that application cannot be modified to be resubmitted to a different job posting.What can the administrator do to associate an application with each job posting in the schema for the organization?

  • A. Create a master-detail relationship in the Application custom object to the Job Postings custom object.
  • B. Create a lookup relationship on both objects to a junction object called Job Posting Applications.
  • C. Create a lookup relationship in the Applications custom object to the Job Postings custom object.
  • D. Create a master-detail relationship in the Job Postings custom object to the Applications custom object.

正解: A

 

質問 108
What is the result when a Visualforce page calls an Apex controller, which calls another Apex class, which then results in hitting a governor limit?

  • A. All changes are saved in the first Apex class.
  • B. Any changes up to the error are saved.
  • C. All changes before a savepoint are saved.
  • D. Any changes up to the error are rolled back.

正解: D

 

質問 109
When creating unit tests in Apex, which statement is accurate?Choose 2

  • A. Increased test coverage requires large test classes with many lines of code in one method.
  • B. System Assert statements that do not Increase code coverage contribute important feedback in unit tests
  • C. Triggers do not require any unit tests in order to deploy them from sandbox to production.
  • D. Unit tests with multiple methods result in all methods failing every time one method fails.

正解: A,B

 

質問 110
When are code coverage calculations updated?

  • A. When a deployment is validated.
  • B. When unit tests are run on an organization.
  • C. When changes are made to an organization's configuration.
  • D. When Apex code is saved.

正解: B

 

質問 111
To which primitive data type in Apex is a currency field atomically assigned?

  • A. Currency
  • B. Decimal
  • C. Integer
  • D. Double

正解: B

 

質問 112
......

更新された2022年02月合格させるDEX-450試験リアル練習テスト問題:https://www.passtest.jp/Salesforce/DEX-450-shiken.html

問題集返金保証付きのDEX-450問題集には90%オフ:https://drive.google.com/open?id=1XJzV_Nmwmt1ldtnLMyn-Bjcl6TfhEoUX