Question 76
Which three statements are true regarding cross-object formulas? (Choose three.)
- Cross-object formulas can reference fields from objects that are up to 10 relationships away.
- Cross-object formulas can reference fields from master-detail or lookup relationships.
- Cross-object formulas can reference child fields to perform an average.
- Cross-object formulas can expose data the user does not have access to in a record.
- Cross-object formulas can be referenced in roll-up summary fields.
Question 77
Which two statements are true about Apex code executed in Anonymous Blocks? (Choose two.)
- The code runs with the permissions of the user specified in the runAs() statement.
- The code runs with the permissions of the logged in user.
- The code runs in system mode having access to all objects and fields.
- All DML operations are automatically rolled back.
- Successful DML operations are automatically committed.
Question 78
From which two locations can a developer determine the overall code coverage for a sandbox? (Choose two.)
- The Apex Test Execution page
- The Test Suite Run panel of the Developer Console
- The Apex classes setup page
- The Tests tab of the Developer Console
Question 79
Which two practices should be used for processing records in a trigger? (Choose two.)
- Use a Map to reduce the number of SOQL calls.
- Use @future methods to handle DML operations.
- Use a Set to ensure unique values in a query filter.
- Use (callout=true) to update an external system.
Question 80
Which two statements are acceptable for a developer to use inside procedural loops? (Choose two.)
- delete contactList;
- contactList.remove(i);
- Contact con = new Contact();
- Account a = [SELECT Id, Name FROM Account WHERE Id = :con.AccountId LIMIT 1];