
DEX-450練習テスト問題は更新された151問題あります
Salesforce DEX-450問題集で一発合格できる問題を試そう!
質問 63
How should a developer create a new custom exception class?
- A. public class CustomException extends Exception{}
- B. CustomException ex = new (CustomException)Exception();
- C. public class CustomException implements Exception{}
- D. (Exception)CustomException ex = new Exception();
正解: A
質問 64
Which two describe Heroku Redis? Choose 2 answers.
- A. Is an in-memory key-value data store, run by Heroku.
- B. Is an option for long-term data storage.
- C. Is a repository for storing large images.
- D. Is provisioned and managed as an add-on.
正解: A,D
質問 65
A developer creates a custom exception as shown below:
What are two ways the developer can fire the exception in Apex? Choose 2 answers
- A. New ParityException( );
- B. Throw new ParityException (parity does not match);
- C. Throw new parityException ( );
- D. New ParityException (parity does not match);
正解: B,C
質問 66
A developer uses a Test Setup method to create an Account named 'Test'. The first test method deletes the Account record. What must be done in the second test method to use the Account?
- A. Restore the Account using an undeleted statement
- B. Use SELECT Id from Account where Name='Test'
- C. Call the Test Setup method at the start of the test
- D. The Account cannot be used in the second test method
正解: B
質問 67
A company has a custom object named Region. Each account in salesforce can only be related to one region at a time, but this relationship is optional. Which type of relantionship should a developer use to relate an account to a region?
- A. Hierarchical
- B. Parent-child
- C. Master-detail
- D. Lookup
正解: C
質問 68
A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard.
Which approach should the developer use to accomplish this declaratively?
- A. An Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in a custom field
- B. A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard
- C. A Process Builder process that updates a field on the timecard when a timecard entry is created
- D. A Visualforce page that calculates the total number of hours for a timecard and displays it on the page
正解: B
質問 69
Which two examples above use the system. debug statements to correctly display the results from the SOQL aggregate queries? Choose 2 answers
- A. Example 2
- B. Example 4
- C. Example 1
- D. Example 3
正解: A,D
質問 70
Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?
- A. Developer Log
- B. Event Monitoring Log
- C. Calendar Events
- D. Asynchronous Data Capture Events
正解: B
質問 71
Manage package can be created in which type of org?
- A. Developer sandbox
- B. Partial copy sandbox
- C. Unlimited edition
- D. Developer Edition
正解: D
質問 72
While writing a test class that covers an OpportunityLineItem trigger, a Developer is unable to create a standard PriceBook since one already exists in the org.
How should the Developer overcome this problem?
- A. Use @TestVisible to allow the test method to see the standard PriceBook.
- B. Use @IsTest(SeeAllData=true) and delete the existing standard PriceBook.
- C. Use Test.getStandardPricebookId() to get the standard PriceBook ID.
- D. Use Test.loadData() and a Static Resource to load a standard Pricebook.
正解: C
質問 73
A Hierarchy Custom Setting stores a specific URL for each profile in Salesforce. Which statement can a developer use to retrieve the correct URL for the current user'sprofile and display this on a Visualforce Page?
- A. {!$Setup.Url_Settings__C.[Profile.Id].URL__c}
- B. {!$Setup.Url_Settings__C.URL__c}
- C. {!$Setup.Url_Settings__C.[$Profile.Id].URL__c}
- D. {!$Setup.Url_Settings__C.Instance[Profile.Id].URL__c}
正解: B
質問 74
Which two statements are true about Getter and Setter methods as they relate to Visualforce?
- A. Setter methods always have to be declared global.
- B. Getter methods pass values from a controller to a page.
- C. There is no guarantee for the order in which Getter methods are called.
- D. A corresponding Setter method is required for each Getter method.
正解: B,D
質問 75
A developer wants to handle the click event for a lightning:button component. The on click attribute for the component references a JavaScript function in which resource in the component bundle?
- A. Helper.js
- B. Handler.js
- C. Controller.js
- D. Renderer.js
正解: C
質問 76
What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)
- A. Loading externally hosted scripts.
- B. Loading files from Documents.
- C. Loading scripts in parallel.
- D. One-time loading for duplicate scripts.
- E. Specifying loading order.
正解: C,D,E
質問 77
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 (Account accountRecord : accountMap.values()) {...}
- B. for (ID accountID : accountMap) {...}
- C. for (ID accountID : accountMap.keySet()) {...}
- D. for (Integer i=0; I < accountMap.size(); i++) {...}
- E. for (Account accountRecord : accountMap.keySet()) {...}
正解: A,C,D
質問 78
A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit. public class without sharing OpportunityService( public static List<OpportunityLineItem> getOpportunityProducts(Set<Id> opportunityIds){ List<OpportunitylineItem> oppLineItems = new List<OpportunityLineItem>(); for(Id thisOppId : opportunityIds){ oppLineItems.addAll([Select Id FROM OpportunityLineItems WHERE OpportunityId = :thisOppId)]; } return oppLineItems; } } The above method might be called during a trigger execution via a Lightning component. Which technique should be implemented to avoid reaching the governor limit?
- A. Refactor the code above to perform only one SOQL query, filtering by the Set of opportunityIds.
- B. Use the System.Limits.getQueries() method to ensure the number of queries is less than 100.
- C. Refector the code above to perform the SOQL query only if the Set of opportunityIds contains less 100 Ids.
- D. Use the System.Limits.getlimitQueries() method to ensure the number of queries is less than 100.
正解: B
質問 79
Opportunity opp=[select id ,stagename from opportunity limit 1] Given the code above, how can a developer get the label for the stagename field?
- A. Call"opportunity.stagename.getdescribe().getlabel()"
- B. Call "opportunity.stagename.label"
- C. Call"opp.stagename.label"
- D. Call"opp.stagename.getdescribe().getlabel()"
正解: A
質問 80
Which statement would a developer use when creating test data for products and pricebooks?
- A. List objList = Test.loadData(Account.sObjectType, 'myResource');
- B. IsTest(SeeAllData = false);
- C. Id pricebookId = Test.getStandardPricebookId();
- D. Pricebook pb = new Pricebook();
正解: C
質問 81
A developer has created a Visualforce Page and Apex Controller that uses the With Sharing keyword. The page will be used of by Sales Managers and should only display Accounts owned by Sales Representatives who report to the running Sales Manager. The organization-wide sharing for Accounts is set to Private. Which additional set of stops should the developer take?
- A. Create one Profile, one Permission Set, and two Roles.
- B. Create one Profile, two Permission Sets, and one Role.
- C. Create two Profiles, one Permission Set, and one Role.
- D. Create one Profile, one Permission Set, and one Role.
正解: A
質問 82
A developer wrote Apex code that calls out to an external system. How should a developer write the test to provide test coverage?
- A. Write a class that implements the HTTPCalloutMock interface.
- B. Write a class that extends WebserviceMock
- C. Write a class that implements the WebserviceMock interface.
- D. Write a class that extends HTTPCalloutMock.
正解: A
質問 83
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?
- A. Use the UserInfo Apex class to filter all SOQL queries to returned records owned by the logged-in user.
- B. Use the without sharing keyword on the class declaration.
- C. Use the with 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.
正解: C
質問 84
Which tool allows a developer to send requests to the Salesforce REST APIs and view the responses?
- A. Force.com IDE REST Explorer tab
- B. Developer Console REST tab
- C. REST resource path URL
- D. Workbench REST Explorer
正解: D
質問 85
The sales management team at Universal Container requires that the Lead Source field of the Lead record be populated when a.. converted.
What should be done to ensure that a user populates the Lead Source field prior to converting a Lead?
- A. Use Lead Conversation field mapping.
- B. Create an after trigger on Lead.
- C. Use a formula field.
- D. Use a validation rule.
正解: D
質問 86
In terms of the MVC paradigm, what are two advantages of implementing the layer of a Salesforce application using Aura Component-based development over Visualforce? Choose 2 answers
- A. Rich component ecosystem
- B. Server-side run-time debugging
- C. Automatic code generation
- D. Self-contained and reusable units of an application
正解: A,D
質問 87
......
Salesforce DEX-450 認定試験の出題範囲:
| トピック | 出題範囲 |
|---|---|
| トピック 1 |
|
| トピック 2 |
|
| トピック 3 |
|
| トピック 4 |
|
| トピック 5 |
|
| トピック 6 |
|
| トピック 7 |
|
| トピック 8 |
|
| トピック 9 |
|
| トピック 10 |
|
| トピック 11 |
|
Salesforce DEX-450試験問題集で[2023年最新] 練習有効な試験問題集解答:https://jp.fast2test.com/DEX-450-premium-file.html
DEX-450問題集を掴み取れ![最新2023]Salesforce試験が合格できます:https://drive.google.com/open?id=1nSMYpJdWQzAJyxOjUTkxAoKzYu6zEQ45