Topic 2 : Exam Pool B
What features are available when writing apex test classes?(Choose 2 Answers)
A.
The ability to select error types to ignore in the developer console.
B.
The ability to write assertions to test after a @future method.
C.
The ability to set and modify the CreatedDate field in apex tests.
D.
The ability to set breakpoints to freeze the execution at a given point.
E.
The ability to select testing data using csv files stored in the system.
The ability to set and modify the CreatedDate field in apex tests.
The ability to select testing data using csv files stored in the system.
A candidate may apply to multiple jobs at the company Universal Containers by submtting a single application per job posting. Once an application is submitted for a job posting, that application cannot be modified to be resubmitted to a different job posting.What can the administrator do to associate an application with each jobposting in the schema for the organization?
A.
Create a master-detail relationship in the Job Postings custom object to the Applications custom object.
B.
Create a master-detail relationship in the Application custom object to the Job Postings custom object.
C.
Create a lookup relationship on both objects to a junction object called Job Posting Applications.
D.
Create a lookup relationship in the Applications custom object to the Job Postings custom object
Create a master-detail relationship in the Job Postings custom object to the Applications custom object.
Which data type or collection of data types can SOQL statements populate or evaluate to? (Choose 3)
A.
A single sObject
B.
An integer
C.
A string
D.
A list of sObjects
E.
A Boolean
A single sObject
An integer
A list of sObjects
How can a developer avoid exceeding governor limits when using Apex Triggers? (Choose 2)
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 a list of sObjects.
By using Maps to hold data from query results
By performing DML transactions on a list of sObjects.
A Visual force page displays two fields named Phone Number and Email.User1 has access to Phone Number, but not to Email.User2 has access to Email, but not Phone NumberA developer needs to ensure that User1 can only see Phone Number, and User2 can only see Email.Which method can the developer use to achieve this?
A.
Schema isUpdateable() method.
B.
Schema isAccessible() method.
C.
Schema isReadable() method.
D.
Schema isCreateable() method.
Schema isAccessible() method.
Page 17 out of 78 Pages |
Previous |