A developer can use the debug log to see which three types of information? Choose 3 answers
A. Resource usage and limits
B. Database changes
C. User login events
D. HTTP callout to external systems
E. Actions triggered by time-based workflow
What are three techniques that a developer can use to invoke an anonymous block of code? Choose 3 answers
A. Create a visualforce page that uses a controller class that is declared without sharing
B. Type code into the developer console and execute it directly
C. Type code into the execute anonymous tab in the force.com IDE and click execute
D. Use the SOAP API to make a call to execute anonymous code
E. Create and execute a test method that does not specify a runas() call
A developer has JavaScript code that needs to be called by controller functions in multiple Aura components by extending a new abstract component. Which resource in the abstract Aura component bundle allows the developer to achieve this?
A. helper.js
B. controllers
C. superRender.js
D. renderer.js
Given the following block code: try{ List
A. Check the state of the retrieveRecords variable and throw a custom exception if the variable is empty.
B. Check the state of the retrievedRecords variable and use System.assert(false) if the variable is empty
C. Check the state of the retrievedRecords variable and access the first element of the list if the variable is empty.
D. Replace the retrievedRecords variable declaration from a List of Account to a single Account.
Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?
A. List
B. List> searchList = (FIND "*ACME*" IN ALL FIELDS RETURNING Contact, Lead);
C. Map
D. List> searchList = (SELECT Name, ID FROM Contact, Lead WHERE Name like '%ACME%');
A develop completed modification to a customized feature that is comprised of two elements:
1.
Apex trigger
2.
Trigger handler Apex class
What are two factors that the developer must take into account to properly deploy the modification to the production environment?
A. Apex classes must have at least 75% code coverage org-wide.
B. At least one line of code must be executed for the Apex trigger.
C. All methods in the test classes must use @isTest.
D. Test methods must be declared with the testMethod keyword.
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.
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 job posting 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
A developer needs to avoid potential system problems that can arise in a multi-tenant architecture. Which requirement helps prevent poorty written applications from being deployed to a production environment?
A. SOQL queries must reference sObActs with their appropriate namespace.
B. All Apex code must be annotated with the with sharing keyword.
C. Unit tests must cover at least 75% of the application's Apex code
D. All validation rules must be active before they can be deployed.
How many levels of child records can be returned in a single SOQL query from one parent object?
A. 1
B. 3
C. 5
D. 7