CRT-450 Practice Test practice questions, page 13 of 18, with answer review and explanations.
Question 61
What are two uses for External IDs? (Choose two.)
To create relationships between records imported from an external system.
To create a record in a development environment with the same Salesforce ID as in another environment
To identify the sObject type in Salesforce
To prevent an import from creating duplicate records using Upsert
Question 62
A developer wrote a unit test to confirm that a custom exception works properly in a custom controller, but the test failed due to an exception being thrown. Which step should the developer take to resolve the issue and properly test the exception?
Use try/catch within the unit test to catch the exception.
Use the finally bloc within the unit test to populate the exception.
Use the database methods with all or none set to FALSE.
Use Test.isRunningTest() within the custom controller.
Question 63
Which SOQL query successfully returns the Accounts grouped by name?
SELECT Type, Max(CreatedDate) FROM Account GROUP BY Name
SELECT Name, Max(CreatedDate) FROM Account GROUP BY Name
SELECT Id, Type, Max(CreatedDate) FROM Account GROUP BY Name
SELECT Type, Name, Max(CreatedDate) FROM Account GROUP BY Name LIMIT 5
Question 64
For which three items can a trace flag be configured? (Choose three.)
Apex Trigger
Apex Class
Process Builder
User
Visualforce
Question 65
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 three.)