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...

September 21, 2020 No Comments READ MORE +

Which field is required to achieve this declaratively?

A Platform Developer needs to implement a declarative solution that will display the most recent Closed Won date for all Opportunity records associated with an Account. Which field is required to achieve this declaratively?A . Roll-up summary field on the Opportunity objectB . Cross-object formula field on the Opportunity objectC...

September 20, 2020 No Comments READ MORE +

Which two actions should a developer take to accomplish this task?

A company wants to create an employee rating program that allows employees to rate each other. An employee’s average rating must be displayed on the employee record. Employees must be able to create rating records, but are not allowed to create employee records. Which two actions should a developer take...

September 20, 2020 No Comments READ MORE +

What are three valid Apex loop structures for iterating through items in the collection?

Given: Map<ID, Account> accountMap = new Map>ID, Account> ([SELECT Id, Name FROMAccount]); What are three valid Apex loop structures for iterating through items in the collection? (Choose three.)A . for (ID accountID : accountMap.keySet()) {…}B . for (Account accountRecord : accountMap.values()) {…}C . for (Integer i=0; I < accountMap.size(); i++)...

September 20, 2020 No Comments READ MORE +

What is the end result?

Using the Schema Builder, a developer tries to change the API name of a field that is referenced in an Apex test class. What is the end result?A . The API name is not changed and there are no other impacts.B . The API name of the field and the...

September 19, 2020 No Comments READ MORE +

How should a developer make sure that a child record on a custom object, with a lookup to the Account object, has the same sharing access as its associated account?

How should a developer make sure that a child record on a custom object, with a lookup to the Account object, has the same sharing access as its associated account?A . Create a Sharing Rule comparing the custom object owner to the account owner.B . Create a validation rule on...

September 19, 2020 No Comments READ MORE +

Which two options allow the developer to dynamically determine the ID of the required Record Type by its name?

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 . Make an outbound...

September 18, 2020 No Comments READ MORE +

In which two ways can the developer retrieve the available fields if the variable myObjectrepresents the name of the object?

A developer needs to display all of the available fields for an object. In which two ways can the developer retrieve the available fields if the variable myObjectrepresents the name of the object? (Choose two.)A . Use myObject.sObjectType.getDescribe().fieldSet()to return a set of fields.B . Use mySObject.myObject.fields.getMap()to return a map of...

September 18, 2020 No Comments READ MORE +

Which code block will run successfully in an execute anonymous window?

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 ==0);C . - myFooController m = new myFooController();System.assert(m.prop ==null);D . - myFooController m = new myFooController();System.assert(m.prop ==1);View...

September 17, 2020 No Comments READ MORE +

Which three statements are true regarding the @isTestannotation? (Choose three.)

Which three statements are true regarding the @isTestannotation? (Choose three.)A . A method annotated @isTest(SeeAllData=true) in a class annotated @isTest(SeeAllData=false)has access to all org data.B . A method annotated @isTest(SeeAllData=false)in a class annotated @isTest(SeeAllData=true)has access to all org data.C . A class containing test methods counts toward the Apex code...

September 17, 2020 No Comments READ MORE +