In which environments can Developers write code? (All that apply)
A. Developer edition production org
B. Enterprise edition production org
C. Enterprise edition Sandbox org
D. Professional edition Sandbox org - Answers A and C
How can a developer avoid exceeding Governor Limits when using an Apex Trigger? (All that apply)
A. By using a helper class that can be invoked from multiple triggers
B. By using Maps to hold data from query results
C. By using the Database class to handle DML transactions
D. By performing DML transactions on lists of Objects - Answers B and D
Which of these is an accurate statement about "with sharing" keywords? (All that apply)
A. Either inner classes or outer classes can be declared as "with sharing", but not both
B. Inner classes inherit the sharing setting from the container class
C. Both inner classes and outer classes can be declared as "with sharing"
D. Inner classes do not inherit the sharing setting from the container class - Answers C and D
,Which standard field mandatorily needs to be populated when a developer inserts new Contact records
programmatically?
A. Name
B. LastName
C. AccountId
D. FirstName - Answers B
In the given code, from where does the Boolean inherit its value? _x000D_Boolean b = true;
A. Class
B. Object
C. Enum
D. String - Answers B
Which of these is a characteristic of the Lightning Component framework? (All that apply)
A. It has an event-driven architecture.
B. It uses XML as its data format.
C. It includes responsive components.
D. It works with the existing Visualforce pages. - Answers A and C
Visualforce components are similar to which type of tag library containing tag namespace prefixes?
A. ASP tag library
B. ASP log file
C. JSP tag library
D. DL JSP log file - Answers C
,A developer wants to display all of the available record types for a Case object. The developer also wants
to display the picklist values for the Case.Status field. The Case object and the Case.Status field are on a
custom Visualforce page. What action can the developer perform to get the record types and picklist
values in the controller? (All that apply)
A. Use Schema.PickListEntry returned by Case.Status.getDescribe().getPicklistValues()
B. Use SOQL to query Case records in the org to get all the RecordType values available for Case
C. Use SOQL to query case records in the org to get all values for the Status picklist field
D. Use Schema.RecordTypeInfo returned by Case.SObjectType.GetDescribe().getRecordTypeInfos() -
Answers A and D
On a Visualforce page with a custom controller, by using an ID parameter that is passed in the URL, how
should a developer retrieve a record? (All that apply)
A. Use the constructor method for the controller
B. Use the $Action.View method in the Visualforce page
C. Use the <apex:detail> tag in the Visualforce page
D. Create a new PageReference object with the Id - Answers A and D
A Visualforce page has a standard controller for an object that has a lookup relationship to a parent
object. How can a developer display data from the parent record on the page?
A. By adding a second standard controller to the page for the parent record
B. By using a roll-up summary field on the child record to include data from the parent record
C. By using SOQL on the Visualforce page to query for data from the parent record
, D. By using merge field syntax to retrieve data from the parent record - Answers D
A developer needs to provide a Visualforce page that lets users enter product-specific details during a
sales cycle. How can this be accomplished? (All that apply)
A. Download a Managed Package from the AppExchange that provides a custom Visualforce page to
modify
B. Copy the standard page and then make a new Visualforce page for Product data entry
C. Download an Unmanaged Package from the AppExchange that provides a custom Visualforce page to
modify
D. Create a new Visualforce page and an Apex controller to provide Product data entry - Answers C and
D
What is the preferred way to reference web content such as images, stylesheets, JavaScript, and other
libraries that is used in Visualforce pages?
A. Uploading the content as a Static Resource
B. Accessing the content from a third-party CDN
C. Uploading the content in the Documents tab
D. Accessing the content from Chatter Files - Answers A
The Review__c object has a lookup relationship with the Job_Application__c object. The
Job_Application__c object has a master-detail relationship with the Position__c object. The relationship
field names are based on the auto-populated defaults. What is the recommended way to display field
data from the related Review__c records on a Visualforce page for a single Position__c record?
A. Utilize the Standard Controller for Position__c and expression syntax in the Page to display related
Review__c data through the Job_Application__c object