Developer I Pack 02

Description

Quiz on Developer I Pack 02, created by Rosa Alayon on 21/08/2019.
Rosa Alayon
Quiz by Rosa Alayon, updated more than 1 year ago
Rosa Alayon
Created by Rosa Alayon over 4 years ago
1353
0

Resource summary

Question 1

Question
In which two trigger types can a developer modify the new sObject records that are obtained by the trigger.new context? Choose 2 answers
Answer
  • before insert
  • before update
  • after insert
  • after update

Question 2

Question
A developer wants multiple test classes to use the same set of test data. How should the developer create the test data?
Answer
  • Reference a test utility class in each test class.
  • Use the SeeAllData=true annotation in each test class.
  • Create a Test Setup method for each test class.
  • Define variables for test records in each test class.

Question 3

Question
Account acct = (SELECT Id FROM Account LIMIT 1]; Given the code above, how can a developer get the type of object from acct?
Answer
  • Call "acct.getSObjectType()".
  • Call "Account.getSObjectType()".
  • Call "Account.SObjectType".
  • Call "acct.SObjectType".

Question 4

Question
Which two statements can a developer use to throw a custom exception of type MissingFieldValueException? Choose 2 answers
Answer
  • throw (MissingFieldValueException, 'Problem occurred');
  • throw new MissingFieldValueException('Problem occurred');
  • throw new MissingFieldValueException();
  • throw Exception(new MissingFieldValueException());

Question 5

Question
Given the code block: Integer x; for(x = 0; x<10; x+=2) if(x==8) break; if(x==10) break; } system.debug(x); Which value will the system.debug statement display?
Answer
  • 4
  • 2
  • 8
  • 10

Question 6

Question
Which three statements are accurate about variable scope? Choose 3 answers
Answer
  • Parallel blocks can reuse the same variable name
  • A sub-block can reuse a parent block's variable name if it is static.
  • A variable can be declared at any point in a block.
  • A variable must be declared before it can be referenced in a block.
  • A sub-block can reuse a parent block's variable name if it is not static.

Question 7

Question
To which primitive data type is a Text Area (Rich) field automatically assigned?
Answer
  • Text
  • Blob
  • Object
  • String

Question 8

Question
Which three methods help ensure quality data? Choose 3 answers
Answer
  • Creating a lookup filter
  • Adding an error to a field in a before trigger.
  • Sending an email alert using a workflow rule
  • Handling an exception in Apex.
  • Adding a validation rule

Question 9

Question
Which standard field is required when creating a new Contact record?
Answer
  • LastName
  • Name
  • AccountId
  • FirstName

Question 10

Question
From which two locations can a developer determine the overall code coverage for a sandbox? Choose 2 answers
Answer
  • The Test Suite Run panel of the Developer Console
  • The Apex classes setup page
  • The Apex Test Execution page
  • The Tests tab of the Developer Console

Question 11

Question
A visualforce page uses the Contact standard controller. How can a developer display the Name from the parent Account record on the page?
Answer
  • Use SOQL syntax to find the related Accounts Name field.
  • Use the {!contact.Account.Name} merge field syntax.
  • Use an additional standard controller for Accounts.
  • Use additional Apex logic within the controller to query for the Name field.

Question 12

Question
Which type of code represents the View in the MVC architecture on the Force.com platform?
Answer
  • An Apex method in an extension that returns a list of Cases
  • An Apex method that executes SOQL to retrieve a list of Cases
  • A Visualforce page that displays information about Case records by iterating over a list of Cases.
  • Validation rules for a page layout that includes a related list of Cases

Question 13

Question
What is the data type returned by the following SOSL search? [FIND 'Acme*' IN NAME FIELDS RETURNING Account, Opportunity];
Answer
  • List<List<Account>, List<Opportunity»
  • Map<sObject, sObject>
  • Map<Id, sObject>
  • List<List<sObject»

Question 14

Question
A developer runs the following anonymous code block in a Salesforce org with 100 Accounts. List<Account> acc = (SELECT Id FROM Account LIMIT 10]; Delete acc; Database.emptyRecycleBin(acc); system.debug(Limits.getLimitQueries()+', '+Limits.getLimitDMIStatements()); What is the debug output?
Answer
  • 1, 2
  • 10, 2
  • 100, 150
  • 150, 100

Question 15

Question
A developer is creating an enhancement to an application that will allow people to be related to their employer. Which data model provides the simplest solution to meet the requirements?
Answer
  • Create a lookup relationship to indicate that a person has an employer.
  • Create a master-detail relationship to indicate that a person has an employer.
  • Create a junction object to relate many people to many employers through master-detail relationships.
  • Create a junction object to relate many people to many employers through lookup relationships.

Question 16

Question
Which two queries can a developer use in a Visualforce controller to protect against SOQL injection vulnerabilities? Choose 2 answers
Answer
  • String gryName = String.escapeSingleQuotes(name); String gryString = 'SELECT Id FROM Contact WHERE Name LIKE \'%' + gryName + 1%\"; List<Contact> queryResult = Database.query(qryString);
  • String qryName = '%' + String.enforceSecurityChecks(name) + '%'; String qryString = 'SELECT Id FROM Contact WHERE Name LIKE :qryName; List<Contact> queryResult = Database.query(qryString);
  • String qryName = '%' + name + '%'; String qryString = 'SELECT Id FROM Contact WHERE Name LIKE :qryName; List<Contact> queryResult = Database.query(qryString);
  • String gryString = 'SELECT Id FROM Contact WHERE Name LIKE \'%' + name + '%\"; List<Contact> queryResult = Database.query(qryString);

Question 17

Question
An Apex trigger fails because it exceeds governor limits. Which two techniques should a developer use to resolve the problem? Choose 2 answers
Answer
  • Use the Database class to handle DML operations.
  • Use Maps to reference related records.
  • Use SOQL Aggregate queries to retrieve child records.
  • Use Lists for all DML operations.

Question 18

Question
Potential home buyers working with a real estate company can make offers on multiple properties that are listed with the real estate company. Offer amounts can be modified; however, the property that has the offer cannot be modified after the offer is placed. What should be done to associate offers with properties in the schema for the organization?
Answer
  • Create master-detail relationships in the Contact object to both the Property and Offer custom objects.
  • Create a lookup relationship in the Property custom object to the Offer custom object.
  • Create a master-detail relationship in the Offer custom object to the Property custom object.
  • Create a lookup relationship in the Offer custom object to the Property custom object.

Question 19

Question
What are two benefits of the Lightning Component framework? Choose 2 answers
Answer
  • It provides an event-driven architecture for better decoupling between components.
  • It allows faster PDF generation with Lightning components
  • it simplifies complexity when building pages, but not applications.
  • It promotes faster development using out-of-the-box components that are suitable for desktop and mobile devices.

Question 20

Question
What is the debug output of the following Apex code? Decimal theValue; System.debug(theValue);
Answer
  • Undefined
  • 0
  • null
  • 0.0

Question 21

Question
What can be done so that recordCount can be accessed by a test class, but not by a non-test class? public class MyController { private Integer recordCount;
Answer
  • Add the SeeAllData annotation to the test class.
  • Add the TestVisible annotation to recordCount.
  • Change recordCount from private to public.
  • Add the TestVisible annotation to the MyController class

Question 22

Question
A developer needs to save a List of existing Account records named myAccounts to the database, but the records do not contain Salesforce Id values. Only the value of a custom text field configured as an External ID with an API name of Foreign_Key_c is known. Which two statements enable the developer to save the records to the database without an Id? Choose 2 answers
Answer
  • Database.upsert (myAccounts, Foreign_Key_c);
  • Database.upsert(myAccounts).Foreign_Key c;
  • Upsert myAccounts(Foreign_Key c);
  • Upsert myAccounts Foreign_Key_c;

Question 23

Question
A developer is notified that a text field is being automatically populated with invalid values. However, this should be prevented by a custom validation rule that is in place. What could be causing this?
Answer
  • The field is being populated by a workflow field update.
  • A DML exception is occurring during the save order of execution.
  • The field is being populated by a before trigger.
  • The user belongs to a permission set that suppresses the validation rule.

Question 24

Question
How can a developer set up a debug log on a specific user?
Answer
  • Setup a trace flag for the user, and define a logging level and time period for the trace.
  • Ask the user for access to their account credentials, log in as the user and debug the issue.
  • Create Apex code that logs code actions into a custom object.
  • It is not possible to setup debug logs for users other than yourself.

Question 25

Question
A developer needs to update an unrelated object when a record gets saved. Which two trigger types should the developer create? Choose 2 answers
Answer
  • after insert
  • after update
  • before update
  • before insert

Question 26

Question
What can be used to delete components from production?
Answer
  • A change set deployment with the delete option checked
  • An ant migration tool deployment with a destructiveChanges XML file and the components to delete in the package.xml file
  • A change set deployment with a destructiveChanges XML file
  • An ant migration tool deployment with a destructiveChanges XML file and an empty package.xml file

Question 27

Question
Given the code below, which three statements can be used to create the controller variable? public class AccountListController { public List<Account> getAccounts() { return controller.getRecords(); } } Choose 3 answers
Answer
  • ApexPages.StandardSetController controller = new ApexPages.StandardSetController(Database.getQueryLocator('SELECT Id FROM Account'));
  • ApexPages.StandardController controller = new ApexPages.StandardController([SELECT Id FROM Account]);
  • ApexPages.StandardController controller = new ApexPages.StandardController(Database.getQueryLocator('SELECT Id FROM ACCOUNT'));
  • ApexPages.StandardSetController controller = new ApexPages.StandardSetController(Database.query('SELECT Id FROM Account'));
  • ApexPages.StandardSetController controller = new ApexPages.StandardSetController(Database.getQueryLocator([SELECT Id FROM Account]));

Question 28

Question
Which three statements are true regarding the @isTest annotation? Choose 3 answers
Answer
  • Products and Pricebooks are visible in a test even if a class is annotated @isTest (SeeAnData=false) .
  • A method annotated @isTest (SeeAllData=false) in a class annotated @isTest (SeeAllData=true) has access to all org data.
  • A method annotated @isTest (SeeAllData=true) in a class annotated @isTest (SeeAllData=faise) has access to all org data.
  • Profiles are visible in a test even if a class is annotated @isTest (SeeAllData=false) .
  • A class containing test methods counts toward the Apex code limit regardless of any @isTest annotation.

Question 29

Question
Candidates are reviewed by four separate reviewers and their comments and scores which range from 1 (lowest) to 5 (highest) are stored on a review record that is a detail record for a candidate. What is the best way to indicate that a combined review score of 15 or better is required to recommend that the candidate come in for an interview?
Answer
  • Use a Validation Rule on a total score field on the candidate record that prevents a recommended field from being true if the total score is less than 15.
  • Use a Workflow Rule to calculate the sum of the review scores and send an email to the hiring manager when the total is 15 or better.
  • Use Visual Workflow to set a recommended field on the candidate whenever the cumulative review score is 15 or better.
  • Use a Rollup Summary field to calculates the sum of the review scores, and store this in a total score field on the candidate.

Question 30

Question
A developer needs to include a Visualforce page in the detail section of a page layout for the Account object, but does not see the page as an available option in the Page Layout Editor. Which attribute must the developer include in the <apex:page> tag to ensure the Visualforce page can be embedded in a page layout?
Answer
  • controller="Account"
  • extensions="AccountController"
  • standardController="Account"
  • action="AccountId"

Question 31

Question
A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master-Detail relationship to a timecard. Which approach should the developer use to accomplish this declaratively?
Answer
  • An Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in a custom field
  • A Visualforce page that calculates the total number of hours for a timecard and displays it on the page
  • Process Builder process that updates a field on the timecard when a timecard entry is created
  • A Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard

Question 32

Question
What is a key difference between a Master-Detail Relationship and a Lookup Relationship?
Answer
  • When a record of a master object in a Lookup Relationship is deleted, the detail records are always deleted.
  • When a record of a master object in a Master-Detail Relationship is deleted, the detail records are kept and not deleted.
  • A Lookup Relationship is a required field on an object.
  • A Master-Detail Relationship detail record inherits the sharing and security of its master record.

Question 33

Question
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 2 answers
Answer
  • Use the getRecordTypeInfosByDeveloperName() method in the DescribeSObjectResult class.
  • Make an outbound web services call to the SOAP API.
  • Execute a SOQL query on the RecordType object.
  • Hardcode the ID as a constant in an Apex class.

Question 34

Question
A developer created a Visualforce page using a custom controller that calls an Apex helper class. A method in the helper class hits a governor limit. What is the result of the transaction?
Answer
  • The helper class creates a savepoint and continues.
  • All changes in the transaction are rolled back.
  • All changes made by the custom controller are saved.
  • The custom controller calls the helper class method again.

Question 35

Question
Which statement is true about a Hierarchical relationship as it pertains to User records?
Answer
  • It uses a junction object and lookup relationships to allow many User records to be related to many other User records.
  • It uses a junction object and master-detail relationships to allow many User records to be related to many other User records.
  • It uses a master-detail relationship to allow one User record to be related to another User record.
  • It uses a special lookup relationship to allow one User record to be related to another User record.

Question 36

Question
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?
Answer
  • Create a test page that provides coverage of the custom controller.
  • Create a test page that provides coverage of the Visualforce page.
  • Create a test class that provides coverage of the Visualforce page.
  • Create a test class that provides coverage of the custom controller.

Question 37

Question
Which three data types can be returned from an SOQL statement?
Answer
  • Boolean
  • List of sObjects
  • String
  • Integer
  • Single sObject

Question 38

Question
In order to override a standard action with a Visualforce page, which attribute must be defined in the <apex:page> tag?
Answer
  • pageReference
  • override
  • standardController
  • controller

Question 39

Question
What is a benefit of using a trigger framework?
Answer
  • Simplifies addition of context-specific logic
  • Allows functional code to be tested by a test class
  • Increases trigger governor limits
  • Reduces trigger execution time

Question 40

Question
What are three techniques that a developer can use to invoke an anonymous block of code? Choose 3 answers
Answer
  • Create a Visualforce page that uses a controller class that is declared without sharing.
  • Type code into the Developer Console and execute it directly.
  • Type code into the Execute Anonymous tab in the Force.com IDE and click Execute.
  • Use the SOAP API to make a call to execute anonymous code.
  • Create and execute a test method that does not specify a ruzias () call.

Question 41

Question
What are two characteristics of partial copy sandboxes versus full sandboxes? Choose 2 answers
Answer
  • includes a subset of metadata
  • requires a sandbox template
  • supports more frequent refreshes
  • provides more data record storage

Question 42

Question
Which two statements are true about Apex code executed in Anonymous Blocks? Choose 2 answers
Answer
  • The code runs with the permissions of the logged in user.
  • The code runs with the permissions of the user specified in the runAs () statement.
  • The code runs in system mode having access to all objects and fields.
  • Successful DML operations are automatically committed.
  • All DML operations are automatically rolled back.

Question 43

Question
An after trigger on the Account object performs a DML update operation on all of the child Opportunities of an Account. There are no active triggers on the Opportunity object, yet a "maximum trigger depth exceeded" error occurs in certain situations. Which two reasons possibly explain the Account trigger firing recursively? Choose 2 answers
Answer
  • Changes are being made to the Account during Criteria Based Sharing evaluation.
  • Changes are being made to the Account during an unrelated parallel save operation.
  • Changes to Opportunities are causing cross-object workflow field updates to be made on the Account.
  • Changes to Opportunities are causing roll-up summary fields to update on the Account.

Question 44

Question
Which control statement should a developer use to ensure that a loop body executes at least once?
Answer
  • for (variable : list_or_set) {... }
  • while (condition) {...}
  • for (init_stmt; exit_condition; increment_stmt) { ...}
  • do {... } while (condition)

Question 45

Question
A developer wrote the following after insert trigger to create a follow-up Task whenever a new Task is created. List<Task> followupTasks = new List<Task>(); for ( Task theTask : Trigger.new ){ Task newTask = new Task(Status = 'New', Priority = 'Normal'); newTask.Subject = 'Follow-up for ' + theTask.Subject; newTask.ActivityDate = Date.today().adddays(30); followupTasks.add( newTask ); } insert followupTasks; What happens after the code block executes?
Answer
  • The trigger fails if the Task Subject is blank.
  • A new Task is created for each Task in Trigger.new.
  • The trigger enters an infinite loop and eventually fails.
  • Multiple Tasks are created for each Task in Trigger.new.

Question 46

Question
A developer needs to import customer subscription records into Salesforce and attach them to existing Account records. Which two actions should the developer take to ensure the subscription records are related to the correct Account records? Choose 2 answers
Answer
  • Match an External Id Text field to a column in the imported file.
  • Match an Auto-Number field to a column in the imported file.
  • Match the Name field to a column in the imported file.
  • Match the Id field to a column in the imported file.

Question 47

Question
A developer is asked to create a custom Visualforce page that will be used as a dashboard component. Which three are valid controller options for this page? Choose 3 answers
Answer
  • Use a custom controller.
  • Use a custom controller with extensions.
  • Use a standard controller with extensions.
  • Do not specify a controller.
  • Use a standard controller.

Question 48

Question
A developer needs to apply the look and feel of Lightning Experience to a number of applications built using a custom third-party JavaScript framework and rendered in Visualforce pages. Which option achieves this?
Answer
  • Set the attribute enableLightning to "true" in the definition.
  • Replace the third-party JavaScript library with native Visualforce tags.
  • Configure the User Interface options in the Setup menu to enable Legacy Mode for Visualforce.
  • Incorporate Salesforce Lightning Design System CSS stylesheets into the JavaScript applications.

Question 49

Question
The Account object has a custom Percent field, Rating, defined with a length of 2 with 0 decimal places. An Account record has the value of 50% in its Rating field and is processed in the Apex code below after being retrieved from the database with SOQL. public void prccessAccount() ? Decimal acctScore = acct.Rating c * 100; What is the value of acctScore after this code executes?
Answer
  • 5
  • 50
  • 500
  • 5000

Question 50

Question
A developer can use the debug log to see which three types of information? Choose 3 answers
Answer
  • Resource usage and limits
  • Database changes
  • User login events
  • HTTP callouts to external systems
  • Actions triggered by time-based workflow

Question 51

Question
Which feature allows a developer to create test records for use in test classes?
Answer
  • Static Resources
  • Documents
  • HttpCalloutMocks
  • WebServiceTests

Question 52

Question
Why would a developer use Test.startTest() and Test.stopTest()?
Answer
  • To avoid Apex code coverage requirements for the code between these lines
  • To start and stop anonymous block execution when executing anonymous Apex code.
  • To indicate test code so that it does not impact Apex line count governor limits
  • To create an additional set of governor limits during the execution of a single test class.

Question 53

Question
What is an accurate constructor for a custom controller named MyContactLastController?
Answer
  • public MyContactListController(ApexPages.StandardController stdController) { Account a = (Account) stdController.getRecord(); contacts = a.Contacts; }
  • public MyContactListController(ApexPages.StandardSetController stdSetController) f contacts = (List<Contact>) stdSetController.getRecords(); }
  • public MyContactListController(List<sObject> records) f contacts = (List<Contact>) records; }
  • public MyContactListController() { contacts = new List<Contact>(); }

Question 54

Question
Which three statements are true regarding cross-object formulas? Choose 3 answers
Answer
  • Cross-object formulas can reference fields from master-detail or lookup relationships.
  • Cross-object formulas can reference fields from objects that are up to 10 relationships away.
  • Cross-object formulas can expose data the user does not have access to in a record.
  • Cross-object formulas can reference child fields to perform an average.
  • Cross-object formulas can be referenced in roll-up summary fields.

Question 55

Question
Which governor limit applies to all the code in an Apex transaction?
Answer
  • Elapsed CPU time
  • Number of new records created
  • Number of classes called
  • Elapsed SOQL query time

Question 56

Question
Which action can a developer take to reduce the execution time of the following code? List<Account> ailAccounts = [SELECT Id FROM Account]; List<Contact> allContacts = [SELECT Id, Accountld FROM Contact]; for (Account a : allAccounts){ for (Contact c: allContacts){ if (c.Accountid = a•Id){ // do work } } }
Answer
  • Use a Map <Id, Contact> for allContacts.
  • Add a GROUP BY clause to the Contact SOQL.
  • Put the Account loop inside the Contact loop.
  • Create an Apex helper class for the SOQL.

Question 57

Question
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?
Answer
  • Roll-up summary field on the Opportunity object
  • Cross-object formula field on the Account object
  • Roll-up summary field on the Account object
  • Cross-object formula field on the Opportunity object

Question 58

Question
A developer has lavaScript code that needs to be called by controller functions in multiple components by extending a new abstract component. Which resource in the abstract component bundle allows the developer to achieve this?
Answer
  • controller.js
  • superRender.js
  • renderer.js
  • helper.js

Question 59

Question
Which two automation tools include a graphical designer? Choose 2 answers
Answer
  • Approvals
  • Flow Builder
  • Process Builder
  • Workflows

Question 60

Question
How can a developer get all of the available record types for the current user on the Case object?
Answer
  • Use SOQL to get all Cases
  • Use DescribeSObjectResult of the Case object.
  • Use Case.getRecordTypes().
  • Use DescribeFieldResult of the Case.RecordType field.

Question 61

Question
A developer needs to automatically populate the Reports To field in a Contact record on the values of the related Account and Department fields in the Contact record. Which type of trigger would the developer create? Choose 2 answers
Answer
  • before update
  • after insert
  • before insert
  • after update

Question 62

Question
To which data type in Apex a currency field automatically assigned?
Answer
  • Integer
  • Decimal
  • Double
  • Currency

Question 63

Question
Which type of code represents the Controller in MVC architecture on the Force.com platform? Choose 2 answers.
Answer
  • JavaScript that is used to make a menu item display itself.
  • StandardController system methods that are referenced by Visualforce.
  • Custom Apex and JavaScript code that is used to manipulate data.
  • A static resource that contains CSS and images.

Question 64

Question
Which action can a developer perform in a before update trigger? Choose 2 answers
Answer
  • Update the original object using an update DML operation.
  • Delete the original object using a delete DML operation.
  • Change field values using the Trigger.new context variable.
  • Display a custom error message in the application interface.

Question 65

Question
How should the developer overcome this problem? While writing a test class that covers an OpportunityLineItem trigger, a Developer is unable to create a standard Pricebook since one already exist in the org.
Answer
  • Use @IsTest(SeeAllData=true) and delete the existing standard Pricebook.
  • Use @TestVisible to allow the test method to see the standard Pricebook.
  • Use Test.getStandardPricebbokId()to get the standard Pricebook ID.
  • Use Test.loaddata() and a Static Resource to load a standard Pricebook

Question 66

Question
How can a developer avoid exceeding governor limits when using an Apex Trigger? Choose 2 answers.
Answer
  • By using a helper class that can be invoked from multiple triggers.
  • By using the Database class to handle DML transactions.
  • By using Maps to hold data from query results.
  • By performing DML transactions on lists of sObjects

Question 67

Question
A developer runs the following anonymous code block: List<Account> acc = [select id from Account limit 10]; Delete acc; Database.emptyRecycleBin(acc); System.debug(Limits.getDMLStatements() + ‘, ’ + Limits.getLimitDMLStatements()); What is the result?
Answer
  • 11, 150
  • 150, 2
  • 150, 11
  • 2, 150

Question 68

Question
Which tool can deploy destructive changes to apex classes in production?
Answer
  • Workbench
  • Salesforce setup
  • Change Sets
  • Developer Console

Question 69

Question
Which type of controller should a developer use to include a list of related records for a custom object record on a visualforce page without needing additional test coverage?
Answer
  • Custom Controller
  • List Controller
  • Controller Extension
  • Standard Controller

Question 70

Question
A change set deployment from a sandbox to production fails due to a failure in a managed package unit test. The developer spoke with the managed package owner and they determined it is false positive and can be ignored. What should the developer do to successfully deploy?
Answer
  • Edit the managed package’s unit test
  • Select “Fast Deploy” to run only the tests that are in the change set
  • Select “Run local tests” to run only the tests that are in the change set
  • Select “Run local tests” to run all tests in the org that are not in the managed package

Question 71

Question
Which two condition cause workflow rules to fire? Choose 2 answers
Answer
  • Changing territory assignments of accounts and opportunities
  • Updating record using bulk API
  • Converting leads to person account
  • An Apex batch process that changes field values

Question 72

Question
A developer writes the following code: List<account> acc= [SELECT id FROM Account LIMIT 10]; Delete acc; Database.emptyRecyclebin(acc); System.Debug(Limits.getDMLStatemnets()+’,’+ Limits.getLimitDMLStatements());
Answer
  • 1,150
  • 2,200
  • 1,100
  • 2,150

Question 73

Question
What is true of a partial sandbox that is not true of a full sandbox?
Answer
  • More frequent refreshes
  • Only includes necessary meta data
  • Use of change sets
  • Limited to 5 GB of data
Show full summary Hide full summary

Similar

CHEMISTRY C1 1
x_clairey_x
OCR Physics P2 revision cards
Alex Howard
Third Space Academia
k.fenbyhulse
BYU English 11 B Speedback
Becky Kopplin
Chemistry (C1)
Phobae-Cat Doobi
OCR Gateway GCSE P3 Revision Quiz
xhallyx
Mumbai: Case study of Urbanisation
Hannah Burnett
Chemistry C2
greenchloe1998
Chemistry ATP
lisawinkler10
GCSE Biology - Homeostasis and Classification Flashcards
Beth Coiley
(YOUR EVENT)
Shelby Smith