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