[2023年10月15日] 究極のCRT-450準備ガイド!無料最新のSalesforce練習テスト問題集
今すぐゲットせよ!高評価Salesforce CRT-450試験問題集
質問 # 86
An org tracks customer orders on an Order object and the items of an Order on the Line Item object. The Line Item object has a MasterDetail relationship to the order object. A developer has a requirement to calculate the order amount on an Order and the line amount on each Line item based on quantity and price.
What is the correct implementation?
- A. Implement the line amount as a numeric formula field and the order amount as a roll-up summary field.
- B. Write a process on the Line item that calculates the item amount and order amount and updates the filed on the Line Item and the order.
- C. Write a single before trigger on the Line Item that calculates the item amount and updates the order amount on the Order.
- D. Implement the Line amount as a currency field and the order amount as a SUM formula field.
正解:D
質問 # 87
A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type.
Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)
- A. Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class.
- B. Make an outbound web services call to the SOAP API.
- C. Execute a SOQL query on the RecordType object.
- D. Hardcode the ID as a constant in an Apex class.
正解:A、C
解説:
Explanation
質問 # 88
A developer has the controller class below.
Which code block will run successfully in an execute anonymous window?
- A. myFooController m = new myFooController();System.assert(m.prop ==null);
- B. myFooController m = new myFooController();System.assert(m.prop !=null);
- C. myFooController m = new myFooController();System.assert(m.prop ==0);
- D. myFooController m = new myFooController();System.assert(m.prop ==1);
正解:A
質問 # 89
Which approach should be used to provide test data for a test class?
- A. Execute anonymous code blocks that create data.
- B. Query for existing records in the database.
- C. Use a test data factory class to create test data.
- D. Access data in @TestVisible class variables.
正解:C
質問 # 90
Universal Containers decides to use exclusively declarative development to build out a new Salesforce application. Which three options should be used to build out the database layer for the application? Choose 3 answers
- A. Triggers
- B. Relationships
- C. Custom Objects and Fields
- D. Flow
- E. Roll-Up Summaries
正解:B、D、E
質問 # 91
A developer needs to include a Visualforce page in the detail section of a page layout for the Account object, but does not see the page as an available option in the Page Layout Editor.
Which attribute must the developer include in the <apex:page> tag to ensure the Visualforce page can be embedded in a page layout?
- A. action= "AccountId"
- B. standardController= "Account"
- C. extensions= "AccountController"
- D. controller= "Account"
正解:B
質問 # 92
Which aspect of Apex programming is limited due to multitenancy?
- A. The number of methods in an Apex Class
- B. The number of active Apex classes
- C. The number of records processed in a loop
- D. The number of records returned from database queries
正解:D
質問 # 93
Which standard field needs to be populated when a developer inserts new Contact records programmatically?
- A. LastName
- B. FirstName
- C. Name
- D. Accountld
正解:A
質問 # 94
A developer declared a class as follow.
public class wysiwyg { // Properties and methods including DML }
Which invocation of a class method will obey the organization-wide defaults and sharing settings for the running user in the Salesforce Organization?
- A. A Visualforce page with an Apex controller that invokes a method in this class
- B. A user on an external system that has an API call into Salesforce that invokes a method in this class
- C. A developer using the Developer Console that invokes a method in this class from the execute anonymous window
- D. An Apex Trigger that invokes a helper method in this class
正解:C
質問 # 95
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. Process Builder
- C. Escalation Rule
- D. Workflow Rule
- E. Approval Process
正解:B、D、E
質問 # 96
The Account object has a custom Percent field, Rating, defined with a length of 2 with 0 decimal places. An Account record has the value of 50% in its Rating field and is processed in the Apex code below after being retrieved from the database with SOQL.
What is the value of acctScore after this code executes?
- A. 0
- B. 1
- C. 2
- D. 3
正解:C
質問 # 97
Which declarative method helps ensure quality data? (Choose 3)
- A. Page Layouts
- B. Lookup Filters
- C. Exception Handling
- D. Workflow alerts
- E. Validation Rules
正解:A、B、E
質問 # 98
Which two operations can be performed using a formula field? (Choose two.)
- A. Calculating a score on a Lead based on the information from another field
- B. Displaying the last four digits of an encrypted Social Security number
- C. Triggering a Process Builder
- D. Displaying an Image based on the Opportunity Amount
正解:A、D
質問 # 99
When a user edits the postal Code on an Account, a custom Account text field named. Timezone' must be updated based on the values in a PostalCodeToTimezone_c custom ogject.
Which two automationtools can be used to implement this feature?
Choose 2 answers
- A. Fast field Updates record-triggered flow
- B. Quick actions
- C. Account trigger
- D. Approval process
正解:A、C
質問 # 100
Which feature allows a developer to create test records for use in test classes?
- A. Httpcalloutmocks
- B. Static resources
- C. Webservicetests
- D. Documents
正解:C
質問 # 101
......
合格率取得する秘訣はCRT-450認定試験エンジンPDF:https://www.jpntest.com/shiken/CRT-450-mondaishu