Which two number expressions evaluate correctly? (Choose two.)

Which two number expressions evaluate correctly? (Choose two.)A . Double d = 3.14159;B . Integer I = 3.14159;C . Decimal d = 3.14159;D . Long l = 3.14159;View AnswerAnswer: A,C

January 14, 2021 No Comments READ MORE +

For which three items can a trace flag be configured? (Choose three.)

For which three items can a trace flag be configured? (Choose three.)A . Apex TriggerB . Apex ClassC . Process BuilderD . UserE . VisualforceView AnswerAnswer: A,B,D

January 13, 2021 No Comments READ MORE +

Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)

Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)A . ENUMB . sObjectC . External IDD . StringView AnswerAnswer: A,D

January 12, 2021 No Comments READ MORE +

How can a developer set up a debug log on a specific user?

How can a developer set up a debug log on a specific user?A . It is not possible to setup debug logs for users other than yourself.B . Ask the user for access to their account credentials, log in as the user and debug the issue.C . Create Apex code...

January 11, 2021 No Comments READ MORE +

What is a benefit of using an after insert trigger over using a before insert trigger?

What is a benefit of using an after insert trigger over using a before insert trigger?A . An after insert trigger allows a developer to bypass validation rules when updating fields on the new record.B . An after insert trigger allows a developer to insert other objects that reference the...

January 11, 2021 No Comments READ MORE +

The Visualforce page should include which <apex:page> attribute(s) to correctly implement controller functionality?

A Visualforce page is required for displaying and editing Case records that includes both standard and custom functionality defined in an Apex class called myControllerExtension. The Visualforce page should include which <apex:page> attribute(s) to correctly implement controller functionality?A . controller=“Case” and extensions=“myControllerExtension”B . extensions=“myControllerExtension”C . controller=“myControllerExtension”D . standardController=“Case” and extensions=“myControllerExtension”View...

January 9, 2021 No Comments READ MORE +

What should a developer do to meet these requirements?

The operation manager at a construction company uses a custom object called Machinery to manage the usage and maintenance of its cranes and other machinery. The manager wants to be able to assign machinery to different constructions jobs, and track the dates and costs associated with each job. More than...

January 9, 2021 No Comments READ MORE +

Which approach should a developer take to automatically add a “Maintenance Plan” to each Opportunity that includes an “Annual Subscription” when an opportunity is closed?

Which approach should a developer take to automatically add a “Maintenance Plan” to each Opportunity that includes an “Annual Subscription” when an opportunity is closed?A . Build a OpportunityLineItem trigger that adds a PriceBookEntry record.B . Build an OpportunityLineItem trigger to add an OpportunityLineItem record.C . Build an Opportunity trigger...

January 7, 2021 No Comments READ MORE +

What should the developer do to deploy to production?

A developer created a Visualforce page and a custom controller with methods to handle different buttons and events that can occur on the page. What should the developer do to deploy to production?A . Create a test class that provides coverage of the Visualforce page.B . Create a test page...

January 6, 2021 No Comments READ MORE +

How should a developer create a new custom exception class?

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();View AnswerAnswer: A

January 5, 2021 No Comments READ MORE +