How should the code be altered to help debug the issue?

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 . Add a System.debug() statement before the insert methodB . Add a try/catch around the...

November 19, 2023 No Comments READ MORE +

Which two are best practices when it comes to component and application event handling? (Choose two.)

Which two are best practices when it comes to component and application event handling? (Choose two.)A . Reuse the event logic in a component bundle, by putting the logic in the helper.B . Use component events to communicate actions that should be handled at the application level.C . Handle low-level...

November 19, 2023 No Comments READ MORE +

A developer has the following requirements:

A developer has the following requirements: • Calculate the total amount on an Order. • Calculate the line amount for each Line Item based on quantity selected and price. • Move Line Items to a different Order if a Line Item is not in stock. Which relationship implementation supports these...

November 19, 2023 No Comments READ MORE +

which statement is true regarding execution order when triggers are associated to the same object and event?

which statement is true regarding execution order when triggers are associated to the same object and event?A . Trigger execution order cannot be guaranteed.B . executed In the order they are modified.C . Triggers are executed alphabetically by trigger name.D . Triggers are executed in the order they are created.View...

November 19, 2023 No Comments READ MORE +

Which component should be added to the Visualforce page to display the message?

A custom Visualforce controller calls the ApexPages,addMessage () method, but no messages are rendering on the page. Which component should be added to the Visualforce page to display the message?A . <apex: pageMessages />B . <apex: pageMessage severity=”info’’/>C . <Apex: facet name=’’ message’’/>D . <Apex: message for=’’ info’’/>View AnswerAnswer: A

November 19, 2023 No Comments READ MORE +

Which three statements are accurate about debug logs?

Refer to the following code snippet for an environment that has more than 200 Accounts belonging to the Technology' industry: Which three statements are accurate about debug logs? Choose 3 answersA . Debug log levels are cumulative, where FINE log level includes all events logged at the DEBUG, INFO, WARN,...

November 19, 2023 No Comments READ MORE +

How can a developer check the test coverage of active Process Builder and Flows deploying them in a Changing Set?

How can a developer check the test coverage of active Process Builder and Flows deploying them in a Changing Set?A . Use the Flow properties page.B . Use the code Coverage Setup pageC . Use the Apex testresult classD . Use SOQL and the Tooling APIView AnswerAnswer: D

November 18, 2023 No Comments READ MORE +

What should a developer do to check the code coverage of a class after running all tests?

What should a developer do to check the code coverage of a class after running all tests?A . View the Code Coverage column in the list view on the Apex Classes page.B . View the Class Test Percentage tab on the Apex Class fist view m Salesforce Setup.C . View...

November 18, 2023 No Comments READ MORE +

What to do now?

A developer migrated functionality from JavaScript Remoting to a Lightning web component and wants to use the existing getOpportunities() method to provide data. What to do now?A . The method must be decorated with (cacheable=true).B . The method must be decorated with @AuraEnabled.C . The method must return a JSON...

November 18, 2023 No Comments READ MORE +

What are two ways a developer can get the status of an enquered job for a class that queueable interface? Choose 2 answers

What are two ways a developer can get the status of an enquered job for a class that queueable interface? Choose 2 answersA . View the apex status PageB . View the apex flex QueueC . View the apex Jobs pageD . Query the AsyncApexJobe objectView AnswerAnswer: B, D

November 18, 2023 No Comments READ MORE +