Topic 1 : Exam Pool A
What is a capability of the tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)
A. Loading files from Documents.
B. One-time loading for duplicate scripts.
C. Specifying loading order.
D. Loading scripts in parallel.
E. Loading externally hosted scripts.
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 myObject represents 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 fields.
C. Use Schema.describeSObjects(new String[]{myObject})[0].fields.getMap() to return a map of fields.
D. Use getGlobalDescribe().get(myObject).getDescribe().fields.getMap() to return a map of fields.
Which three options allow a developer to use custom styling in a Visualforce page? (Choose three.)
A. tag
B. Inline CSS
C. tag
D. tag
E. A static resource
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 that provides coverage of the Visualforce page.
C. Create a test page that provides coverage of the custom controller. Create a test class that provides coverage of the custom controller.
D. Create a test class that provides coverage of the custom controller.
A developer needs to create a Visualforce page that displays Case data. The page will be used by both support reps and support managers. The Support Rep profile does not allow visibility of the Customer_Satisfaction__c field, but the Support Manager profile does. How can the developer create the page to enforce Field Level Security and keep future maintenance to a minimum?
A. Create one Visualforce Page for use by both profiles.
B. Use a new Support Manager permission set.
C. Create a separate Visualforce Page for each profile.
D. Use a custom controller that has the with sharing keywords.
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;
Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?
A. Performance Tree tab under Stack Tree panel
B. Execution Tree tab under Stack Tree panel
C. Timeline tab under Execution Overview panel
D. Save Order tab under Execution Overview panel
Universal Containers wants Opportunities to be locked from editing when reaching the Closed/Won stage. Which two strategies should a developer use to accomplish this? (Choose two.)
A. Use a Visual Workflow.
B. Use a validation rule.
C. Use the Process Automation Settings.
D. Use a Trigger.
A developer encounters APEX heap limit errors in a trigger. Which two methods should the developer use to avoid this error? (Choose two.)
A. Use the transient keyword when declaring variables.
B. Query and store fields from the related object in a collection when updating related objects.
C. Remove or set collections to null after use.
D. Use SOQL for loops instead of assigning large queries results to a single collection and looping through the collection.
For which three items can a trace flag be configured? (Choose three.)
A. Apex Trigger
B. Apex Class
C. Process Builder
D. User
E. Visualforce
A newly hired developer discovers that there are multiple triggers on the case object. What should the developer consider when working with triggers?
A. Developers must dictate the order of trigger execution.
B. Unit tests must specify the trigger being tested.
C. Trigger execution order is not guaranteed for the same sObject.
D. Trigger execution order is not guaranteed for the same sObject.
A developer executes the following query in Apex to retrieve a list of contacts for each account: List
A. CPU limit exception due to the complexity of the query.
B. SOQL query row limit exception due to the number of contacts.
C. SOQL query limit exception due to the number of contacts.
D. SOQL query row limit exception due to the number of accounts.
Page 2 out of 33 Pages |
Previous |