[2023年12月02日]DEX-450試験問題集でリアル試験と100%同じ問題と解答 [Q87-Q106]

Share

[2023年12月02日]DEX-450試験問題集でリアル試験と100%同じ問題と解答

DEX-450テストエンジン問題集トレーニングには172問あります

質問 # 87
Which three statements are true regarding custom exceptions in Apex? (Choose three.)

  • A. A custom exception class can implement one or many interfaces.
  • B. A custom exception class must extend the system Exception class.
  • C. A custom exception class name must end with "Exception".
  • D. A custom exception class cannot contain member variables or methods.
  • E. A custom exception class can extend other classes besides the Exception class.

正解:A、C、E


質問 # 88
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?

  • A. Flow Builder

正解:A


質問 # 89
A developer needs to save a List of existing Account records named myAccounts to the database, but the records do not contain Salesforce Id values. Only the value of a custom text field configured as an External ID with an API name of Foreign_Key__c is known.
Which two statements enable the developer to save the records to the database without an Id? (Choose two.)

  • A. Database.upsert (myAccounts, Foreign_Key__c);
  • B. Upsert myAccounts(Foreign_Key__c);
  • C. Database.upsert(myAccounts).Foreign_Key__c;
  • D. Upsert myAccounts Foreign_Key__c;

正解:A、D


質問 # 90
Universal Containers (UC) uses a custom object called Vendor. The Vendor custom object has a master-detail relationship with the standard Account object.
Based on some internal discussions, the UC administrator tried to change the master-detail relationship to a lookup relationship, but was not able to do so.
What is a possible reason that this change was not permitted?

  • A. The Account object does not allow changing a field type for a custom field.
  • B. The Account object has a roll-up summary field on the Vendor object.
  • C. Some of the Vendor records have null for the Account field.
  • D. The organization wide default for the Vendor object is Public Read/Write.

正解:B


質問 # 91
An Approval Process is defined in the Expense_Item__c. A business rule dictates that whenever a user changes the Status to 'Submitted' on an Expense_Report__c record, all the Expense_Item__c records related to the expense report must enter the approval process individually. Which approach should be used to ensure the business requirement is met?

  • A. Create a Process Builder on Expense_Report__c with an 'Apex' action type to submit all related Expense_Item__c records when the criteria is met.
  • B. Create a Process Builder on Expense_Report__c with a 'Submit for Approval' action type to submit all related Expense_Item__c records when the criteria is met.
  • C. Create two Process Builder, one on Expense_Report__c to mark the related Expense_Item__c as submittable and the second on Expense_Item__c to submit the records for approval.
  • D. Create a Process Builder on Expense_Report__c to mark the related Expense_Item__c as submittable and trigger on Expense_item__c to submit the records for approval.

正解:C


質問 # 92
Which statement about the Lookup Relationship between a Custom Object and a Standard Object is correct?

  • A. The Lookup Relationship on the Custom Object can prevent the deletion of the Standard Object.
  • B. The Lookup Relationship cannot be marked as required on the page layout for the Custom Object.
  • C. The Custom Object will be deleted when the referenced Standard Object is deleted.
  • D. The Custom Object inherits security from the referenced Standard Objects

正解:C


質問 # 93
A Lightning component has a wired property, searcResults, that stores a list of Opportunities. Which definition of the Apex method, to which the searchResults property is wired, should be used?

  • A. @AuraEnabled(cacheable=true)
    public List<Opportunity> search(String term) { /*implementation*/ }
  • B. @AuraEnabled(cacheable=false)
    public List<Opportunity> search(String term) { /*implementation*/ }
  • C. @AuraEnabled(cacheable=false)
    public static List<Opportunity> search(String term) { /*implementation*/ }
  • D. @AuraEnabled(cacheable=true)
    public static List<Opportunity> search(String term) { /* implementation*/ }

正解:D


質問 # 94
A developer needs to prevent the creation of request records when certain conditions exist in the system. A RequestLogic class exists to checks the conditions. What is the correct implementation?

  • A. Trigger RequestTrigger on Request (before insert) {
    if (RequestLogic.isvalid{Request})
    Request.addError {'Your request cannot be created at this time.'};
    }
  • B. Trigger RequestTrigger on Request (after insert) {
    RequestLogic.validateRecords {trigger.new};
    }
  • C. Trigger RequestTrigger on Request (after insert) {
    if (RequestLogic.isValid{Request})
    Request.addError {'Your request cannot be created at this time.'};
    }
  • D. Trigger RequestTrigger on Request (before insert) {
    RequestLogic.validateRecords {trigger.new};
    }

正解:D


質問 # 95
What is a valid way of loading external JavaScript files into a Visualforce page? (Choose 2)

  • A. Using an (apex:includeScript)* tag. \>
  • B. Using a (link)* tag.
  • C. Using a (script)* tag.
  • D. Using an (apex:define)* tag.

正解:A、C


質問 # 96
A developer has to Identify 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 database. Which two techniques should the developer implement as a best practice to esure transaction control and avoid exceeding governor limits? Choose 2 answers

  • A. Use the Database.Savepoint method to enforce database integrity. (Missed)
  • B. Use Partial DML statements to ensure only valid data is committed.
  • C. Use the System.Limit class to monitor the current CPU governor limit consuption. (Missed)
  • D. Use the @ReadOnly annotation to bypass the number of rows returned by a SOQL.

正解:A、C


質問 # 97
A developer wants to display all of the available record types for a Case object. The developer also wants to display the picklist values for the Case.Status field. The Case object and the Case.Status field are on a custom Visualforce page. Which action can the developer perform to get the record types and picklist values in the controller? (Choose 2)

  • A. Use Schema.RecordTypeInfo returned by Case.sObjectType.getDescribe().getRecordTypeInfos().
  • B. Use Schema.PicklistEntry returned by Case.Status.getDescribe().getPicklistValues().
  • C. Use SOQL to query case records in the org to get all values for the Status picklist field.
  • D. Use SOQL to query Case records in the org to get all the RecordType values available for Case.

正解:A、B


質問 # 98
Which query should a developer use to obtain the Id and Name of all the Leads, Accounts, and Contacts that have the company name "Universal Containers"?

  • A. SELECT Lead.id, Lead. Name, Account.id, Account.Name, Contact.Id, Contact. Name FROM Lead, Account, Contact WHERE CompanyName = 'Universal Containers'
  • B. FIND 'Universal Containers' IN CompanyName Fields RETURNING lead(id,name), account (id,name), contact(id,name)
  • C. IND 'Universal Containers' IN Name Fields RETURNING lead(id, name), account(id,name), contact(id,name)
  • D. SELECT lead(id, name), account(id, name), contact(id,name) FROM Lead, Account, Contact WHERE Name = 'Universal Containers'

正解:C


質問 # 99
Which two number expression evaluate correctly? Choose 2 answers

  • A. Long I = 3.14159;
  • B. Double D =3.14159;
  • C. Integer I = 3.14159;
  • D. Decimal D = 3.14159;

正解:B、D


質問 # 100
How can a developer avoid exceeding governor limits when using Apex Triggers? (Choose 2)

  • A. By using Maps to hold data from query results
  • B. By using the Database class to handle DML transactions
  • C. By using a helper class that can be invoked from multiple triggers
  • D. By performing DML transactions on a list of sObjects.

正解:A、D


質問 # 101
Which three declarative fields are correctly mapped to variable types in Apex? (Choose three.)

  • A. Date/Time maps to Dateline.
  • B. TextArea maps to List of type String.
  • C. Checkbox maps to Boolean.
  • D. Number maps to Decimal.
  • E. Number maps to Integer.

正解:A、C、D


質問 # 102
Which exception type cannot be caught ?

  • A. A custom Exception
  • B. CalloutException
  • C. LimitException
  • D. NoAccessException

正解:C


質問 # 103
For which three items can a trace flag be configured?
Choose 3 answers

  • A. Apex Class
  • B. Visualforce
  • C. User
  • D. Apex Trigger
  • E. Process Builder

正解:A、C、D


質問 # 104
What is considered the primary purpose for creating Apex tests?

  • A. To confirm all classes and triggers compile successfully
  • B. To ensure every use case of the application is covered by a test
  • C. To guarantee at least 50% of code is covered by unit tests before it is deployed
  • D. To confirm every trigger in executed at least once

正解:B


質問 # 105
Universal Containers (UC) has an integration with its Accounting system that creates tens of thousands of Orders inside of Salesforce in a nightly batch. UC wants to add automaton that can attempt to match Leads and Contacts to these Orders using the Email Address field on the insert. UC is concerned about the performance of the automation with a large data volume. Which tool should UC use to automate this process?

  • A. Process Builder
  • B. Workflow Rules
  • C. Process Builder with an Autolaunched Flow
  • D. Apex

正解:D


質問 # 106
......

DEX-450練習テストPDF試験材料:https://jp.fast2test.com/DEX-450-premium-file.html

DEX-450問題で一発合格させる問題集にはSalesforce Developer認定問題を使おう:https://drive.google.com/open?id=1nSMYpJdWQzAJyxOjUTkxAoKzYu6zEQ45


弊社を連絡する

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

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

サポート: 現在連絡 

English Deutsch 繁体中文 한국어