2023年最新の100%試験高合格率DEX-450問題集PDF
合格させる試験完全版DEX-450問題集172解答
Salesforce DEX-450は、稲妻の経験においてApexとVisualforceを使用してプログラム開発に熟練している開発者のスキルと知識を評価する試験です。この試験は、開発者が効率的でスケーラブルなプログラムソリューションを設計、開発、テスト、展開する能力を検証するように設計されています。この試験は、Salesforce Platform Developer II認定の一部であり、Salesforceプラットフォームにカスタムアプリケーションを構築する習熟を実証したい経験豊富な開発者を対象としています。
質問 # 34
A developer has identified a method in an Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account. The method also performs a DML statement to save the changes to the datadase.
Which two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits?
Choose 2 answers
- A. Use the System,Limit classto monitor the current CPU governor limit consumption.
- B. Use the Database,Savepoint method to enforce database integrity.
- C. Use partial DML statements to ensure only valid data is committed.
- D. Use the Reedonly annotation to bypass the number of rows returned by a SOQL.
正解:A、B
質問 # 35
Why would a developer consider using a custom controller over a controller extension?
- A. To implement all of the logic for a page and bypass default Salesforce functionality
- B. To leverage built-in functionality of a standard controller
- C. To enforce user sharing settings and permissions
- D. To increase the SOQL query governor limits.
正解:A
質問 # 36
What are two benefits of the Lightning Component framework? (Choose two.)
- A. It simplifies complexity when building pages, but not applications.
- B. It allows faster PDF generation with Lightning components.
- C. It provides an event-driven architecture for better decoupling between components.
- D. It promotes faster development using out-of-box components that are suitable for desktop and mobile devices.
正解:C、D
質問 # 37
A develop created these three roll-up summary fields on the custom object. Project_c:
The developer is asked to create a new field that should the ratio between rejected and approved timesheet for a given project.
What are two benefits of choosing a formula held instead of an Apex trigger to fulfill the request? Choose 2 answers
- A. A formula field will trigger existing automation when deployed.
- B. A test class will validate the formula field during deployment.
- C. A formula field will calculate the retroactively for existing records
- D. Using a formula field reduces maintenance overhead.
正解:A、C
質問 # 38
An after trigger on the account object performs a DML update operation on all of the child opportunities of an account. There are no active triggers on the opportunity object, yet a "maximum trigger depth exceeded" error occurs in certain situation. Which two reasons possibly explain the account trigger firing recursively? choose 2 answers
- A. Changes are being made to the account during an unrelated parallel save operation
- B. Changes to opportunities are causing roll-up summary fields to update on the account
- C. Changes to opportunities are causing cross-object workflow field updates to be made on the account
- D. Changes are being made to the account during criteria based sharing evaluation
正解:C
質問 # 39
Universal Container use a simple order Management app. On the Order Lines, the order line total is calculated by multiplying the item price with the quantity ordered. There is a Master-Detail relationship between the Order and the Order Lines object.
What is the practice to get the sum of all order line totals on the order header?
- A. Roll-Up Summary Field
- B. Process Builder
- C. Declarative Roll-Up Summaries App
- D. Apex Trigger
正解:A
質問 # 40
A developer must create a lightning component that allows users to input contact record information to create a contact record, including a salary__c custom field. what should the developer use, along with a lightning-record-edit form, so that salary__c field functions as a currency input and is only viewable and editable by users that have the correct field levelpermissions on salary__C?
- A. <ligthning-input-field field-name="Salary__c">
</lightning-input-field> - B. <lightning-input-currency value="Salary__c">
</lightning-input-currency> - C. <lightning-input type="number" value="Salary__c" formatter="currency">
</lightning-input> - D. <lightning-formatted-number value="Salary__c" format-style="currency">
</lightning-formatted-number>
正解:A
質問 # 41
What should a developer use to script the deployment and unit test execution as part of continuous integration?
- A. VS Code
- B. Salesforce CLI
- C. Execute Anonymous
- D. Developer Console
正解:B
質問 # 42
Which salesforce org has a complete duplicate copy of the production org including data and configuration?
- A. Full Sandbox
- B. Developer Pro Sandbox
- C. Production
- D. Partial Copy Sandbox
正解:A
質問 # 43
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 a regular expression on the parameter to remove special characters.
- B. Use variable binding and replace the dynamic query with a static SOQL.
- C. Use the @Readonly annotation and the with sharing keyword on the class.
- D. Use the escapeSingleQuote method to sanitize the parameter before its use.
正解:B、D
質問 # 44
What are three considerations when using the @InvocableMethod annotation in Apex?
Choose 3 answers
- A. A method using the @InvocableMethod annotation can be declared as Public or Global. (Missed)
- B. A method using the @InvocableMethod annotation must define a return value.
- C. A method using the @InvocableMethod annotation can have multiple input parameters.
- D. Only one method using the @InvocableMethod annotqation can be defined per Apex class. (Missed)
- E. A method using the @InvocableMethod annotation must be declared as static (Missed)
正解:A、D、E
質問 # 45
Which three statements are true regarding cross-object formulas? Choose 3 answers
- A. Cross-object formulas can expose data the user does not have access to in a record
- B. Cross-object formulas can reference fields from master-detail or lookup relantionships
- C. Cross-object formulas can reference child fields to perform an average
- D. Cross-object formulas can be referenced in roll-up summary field
- E. Cross-object formulas can reference fields from objects that are up to 10 relantionship away
正解:A、B、E
質問 # 46
A developer of Universal Containers is tasked with implementing a new Salesforce application that must be able to by their company's Salesforce administrator.
Which three should be considered for building out the business logic layer of the application? Choose 3 answers
- A. validation Rules
- B. Workflows
- C. Process Builder
- D. Invocable Actions
- E. Scheduled Jobs
正解:A、B、C
質問 # 47
As a part of class implementation a developer must execute a SOQL query against a large data ser based on the contact object. The method implementation is as follows.
Which two methods are best practice to implement heap size control for the above code? (Choose 2 Answers)
- A. Use WHERE clauses on the SOQL query to reduce the number of records retrieved.
- B. Use the FOR UPDATE option on the SOQL query to lock down the records retrieved.
- C. Use visual keyword when declaring the retrieve variable.
- D. Use a SOQL FOR loop, to chunk the result set in batches of 200 records.
正解:C、D
質問 # 48
A custom exception "RecordNotFoundException" is defined by the following code of block.public class RecordNotFoundException extends Exception()which statement can a developer use to throw a custom exception?choose 2 answers
- A. Throw new RecordNotFoundException("problem occured");
- B. throw RecordNotFoundException("problem occured");
- C. Throw RecordNotFoundException();
- D. Throw new RecordNotFoundException();
正解:A、D
質問 # 49
Which statement describes the execution order when trigger are associated to the same object and event?
- A. Triggers are executed in the order they are created..
- B. Triggers are executed in the order they are modified
- C. Triggers are executed alphabetically by trigger name.
- D. Trigger execution order cannot be guaranteed.
正解:D
質問 # 50
A developer is debugging the following code to determinate why Accounts are not being created Account a = new Account(Name = 'A'); Database.insert(a, false); How should the code be altered to help debug the issue?
- A. Collect the insert method return value a Saveresult variable
- B. Set the second insert method parameter to TRUE
- C. Add a System.debug() statement before the insert method
- D. Add a try/catch around the insert method
正解:D
質問 # 51
As part of a data cleanup strategy, AW Computing wants to proactively delete associated opportunity records when the related Account is deleted.
Which automation tool should be used to meet this business requirement?
- A. Scheduled job
- B. Process Builder
- C. Record-Triggered Flow
- D. Workflow Rules
正解:C
質問 # 52
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. C
- B. B
- C. A
- D. D
正解:B
質問 # 53
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. Formula field
- B. Roll-up summary field
- C. Quick action
- D. Apex trigger
正解:B
質問 # 54
When a user edits the Postal Code on an Account, a custom Account text field named "Timezone" must be update based on the values in a PostalCodeToTimezone__c custom object. How should a developer implement this feature?
- A. Build an Account Workflow Rule.
- B. Build an Account custom Trigger.
- C. Build an account Approval Process
- D. Build an Account Assignment Rule.
正解:B
質問 # 55
Given:
Map<ID, Account> accountMap = new Map>ID, Account> ([SELECT Id, Name FROM Account]); What are three valid Apex loop structures for iterating through items in the collection? (Choose three.)
- A. for (ID accountID : accountMap.keySet()) {...}
- B. for (Account accountRecord : accountMap.values()) {...}
- C. for (Account accountRecord : accountMap.keySet()) {...}
- D. for (Integer i=0; I < accountMap.size(); i++) {...}
- E. for (ID accountID : accountMap) {...}
正解:A、B、D
質問 # 56
What are three techniques that a developer can use to invoke an anonymous block of code? (Choose three.)
- A. Run code using the Anonymous Apex feature of the Developer's IDE.
- B. Create a Visualforce page that uses a controller class that is declared without sharing.
- C. Create and execute a test method that does not specify a runAs() call.
- D. Use the SOAP API to make a call to execute anonymous code.
- E. Type code into the Developer Console and execute it directly.
正解:A、D、E
質問 # 57
......
検証済みDEX-450問題集で問題と解答100%合格Fast2test:https://jp.fast2test.com/DEX-450-premium-file.html
合格させるDEX-450試験一発合格保証2023問題集:https://drive.google.com/open?id=1nSMYpJdWQzAJyxOjUTkxAoKzYu6zEQ45