無料セールまもなく終了!100%有効DEX-450試験問題集に172問題と解答が待ってます [Q25-Q46]

Share

無料セールまもなく終了!100%有効DEX-450試験問題集に172問題と解答が待ってます

検証済みDEX-450問題集と解答であなたを合格確定させるSalesforce Developer試験解答!

質問 # 25
A developer encounters APEX heap limit errors in a trigger.
Which two methods should the developer use to avoid this error? (Choose two.)

  • A. Use SOQL for loops instead of assigning large queries results to a single collection and looping through the collection.
  • B. Use the transient keyword when declaring variables.
  • C. Query and store fields from the related object in a collection when updating related objects.
  • D. Remove or set collections to null after use.

正解:A、B


質問 # 26
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


質問 # 27
An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship.
How can this be achieved?

  • A. Write a trigger on the child object and use a red-black tree sorting to sum the amount for all related child objects under the Opportunity.
  • B. Use the Streaming API to create real-time roll-up summaries.
  • C. Write a Process Builder that links the custom object to the Opportunity.
  • D. Write a trigger on the child object and use an aggregate function to sum the amount for all related child objects under the Opportunity

正解:D


質問 # 28
What is the proper process for an Apex Unit Test

  • A. Query for test data using SeeAllData = true. Call the method being tested. Verify that the results are correct.
  • B. Create data for testing. Call the method being tested. Verify that the results are correct.
  • C. Query for test data using SeeAllData = true. Execute runAllTests(). Verify that the results are correct.
  • D. Create data for testing. Execute runAllTests(). Verify that the results are correct.

正解:B


質問 # 29
niversal Containers (UC) processes orders in Salesforce in a custom object, Crder_c. They also allow sales reps to upload CSV files with of orders at a time.
A developer is tasked with integrating orders placed in Salesforce with UC's enterprise resource planning (ERP) system.
'After the status for an Craer__c is first set to "Placed', the order information must be sent to a REST endpoint in the ERP system that can process ne order at a time.
What should the developer implement to accomplish this?

  • A. Callout from a queseatie class called from a trigger
  • B. Callout from an surare method called from a trigger
  • C. Flow with 2 callout from an invocable method
  • D. Callout from a Sarchabie class called from a scheduled job

正解:B


質問 # 30
Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?

  • A. Execution Tree tab under Stack Tree panel
  • B. Save Order tab under Execution Overview panel
  • C. Performance Tree tab under Stack Tree panel
  • D. Timeline tab under Execution Overview panel

正解:D


質問 # 31
Which process automation should be used to post a message to Chatter without using Apex code?

  • A. Flow Builder
  • B. Strategy Builder
  • C. Entitlement Process
  • D. Outbound Message

正解:A


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

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

正解:A、C、E


質問 # 33
Which requirement needs to be implemented by using standard workflow instead of Process Builder? Choose 2 answers

  • A. Submit a contract for approval.
  • B. Create activities at multiple intervals.
  • C. Copy an account address to its contacts.
  • D. Send an outbound message without Apex code.

正解:C、D


質問 # 34
To which primitive data type is a text area (rich) field automatically assigned?

  • A. Text
  • B. String
  • C. Object
  • D. Blob

正解:B


質問 # 35
A developer created a Lightning web component called statusComponent to be inserted into the Account record page.
Which two things should the developer do to make the component available?

  • A. Add <isExposed> true</isExposed> to the statusComponent.js-meta ml file.
  • B. Add <target> lighting _RecordPage </target> to the statusComponent.js-meta ml file.
  • C. Add < masterLabel>Account</master Label> to the statusComponent.js-meta ml file.
  • D. Add<target> Lightning_RecordPage </target> to the statusComponent.js file.

正解:A、B


質問 # 36
Which Apex class contains methods to return the amount of resources that have been used for a particular governor, such as the number of DML statements?

  • A. Exception
  • B. OrgLimits
  • C. Limits
  • D. Messaging

正解:C


質問 # 37
How should the developer overcome this problem? While writing a test class that covers an OpportunityLineItem trigger, a Developer is unable to create a standard Pricebook since one already exist in the org.

  • A. Use Test.getStandardPricebbokId()to get the standard Pricebook ID.
  • B. Use @IsTest(SeeAllData=true) and delete the existing standard Pricebook.
  • C. Use Test.loaddata() and a Static Resource to load a standard Pricebook
  • D. Use @TestVisible to allow the test method to see the standard Pricebook.

正解:A


質問 # 38
In Lightning component framework, which resource can be used to fire events? Choose 2 answers.

  • A. Third-party Javascript code
  • B. Third-party web service code
  • C. Visualforce controller actions
  • D. Javascript controller actions

正解:A、D


質問 # 39
A Next Best Action strategy uses an Enhance Element that invokes an Apex method to determine a discount level for a Contact, based on a number of factors. What is the correct definition of the Apex method?

  • A. @InvocableMethod
    global static List<List<Recommendation>> getLevel (List<ContactWrapper> input)
    { /*implementation */ }
  • B. @InvocableMethod
    global Recommendation getlevel(ContactWrapper input)
    { /*implementation */ }
  • C. @InvocableMethod
    global List<List<Recommendation>> getlevel(List<COntactWrapper> input)
    { /*implementation */ }
  • D. @InvocableMethod
    global static ListRecommendation getLevel(List<Contactwrapper> input)
    { /*implementation*/ }

正解:A


質問 # 40
A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of new Apex helper class. Change Set deployment to production fails with the test coverage warning: "Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required" What should the developer do to successfully deploy the new Apex trigger and helper class?

  • A. Create a test class and methods to cover the Apex trigger
  • B. Run the tests using the 'Run All Tests' method.
  • C. Increase the test class coverage on the helper class
  • D. Remove the falling test methods from the test class.

正解:D


質問 # 41
A developer must write an Apex method that will be called from a Lightning component. The method may delete an account stored in the accountRec variable. Which method should a developer use to ensure only users that should be able to delete Accounts can succesfully perform deletions?

  • A. AccountRec.sObjectType.isDeleteable()
  • B. Account.isDelketable()
  • C. Schema.sObjectType.Account.isDeletable()
  • D. AccountRec.isdeletable()

正解:C


質問 # 42
A developer is creating an app that contains multiple Lightning web components.
One of the child components is used for navigation purposes. When a user click a button called.. component, the parent component must be alerted so it can navigate to the next page.
How should this be accomplished?

  • A. Create a custom event.
  • B. Update a property on the parent.
  • C. Call a method in the Apex controller.
  • D. Fire a notification.

正解:A


質問 # 43
A developer is creating a test coverage for a class and needs to insert records to validate functionality. Which method annotation should be used to create records for every method in the test class?

  • A. @TestSetup
  • B. @BeforeTest
  • C. @isTest(SeeAllData=True)
  • D. @PreTest

正解:A


質問 # 44
Which two operations can be performed using a formula field? Choose 2 answers

  • A. Displaying an Image based on the Opportunity Amount (Missed)
  • B. Displaying the last four digits of an encrypted Social Security number
  • C. Triggering a Process Builder
  • D. Calculating a score on a Lead based on the information from another field (Missed)

正解:A、D


質問 # 45
Which three data types can a SOQL query return? Choose 3 answers

  • A. sObject
  • B. List
  • C. Integer
  • D. Long

正解:A、B、C


質問 # 46
......

DEX-450試験問題集で100%合格率DEX-450試験:https://www.goshiken.com/Salesforce/DEX-450-mondaishu.html

試験問題集リアルSalesforce Developer問題集172問題と解答が待ってますを試そう:https://drive.google.com/open?id=1uRPWGP8iPslrA086pFoYyjgGkKzGlOpA