Which two environments meet the requirements for testing?

A developer needs to test an Invoicing system integration. After reviewing the number of transactions required for the test, the developer estimates that the test data will total about 2 GB of data storage. Production data is not required for the integration testing.

Which two environments meet the requirements for testing? (Choose two.)
A . Developer Sandbox
B . Full Sandbox
C . Developer Edition
D . Partial Sandbox
E . Developer Pro Sandbox

Answer: B,D

In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object?

A developer needs to display all of the available fields for an object.

In which two ways can the developer retrieve the available fields if the variable myObject represents the name of the object? (Choose two.)
A . Use myObject.sObjectType.getDescribe().fieldSet() to return a set of fields.
B . Use mySObject.myObject.fields.getMap() to return a map of fields.
C . Use Schema.describeSObjects(new String[]{myObject})[0].fields.getMap() to return a map of fields.
D . Use getGlobalDescribe().get(myObject).getDescribe().fields.getMap() to return a map of fields.

Answer: B,C

Where would the developer write the Account address verification logic?

A developer needs to create a Visualforce page that will override the standard Account edit button. The page will be used to validate the account’s address using a SOQL query. The page will also allow the user to make edits to the address.

Where would the developer write the Account address verification logic?
A . In a Standard Extension.
B . In a Standard Controller.
C . In a Custom Controller.
D . In a Controller Extension.

Answer: D

How should Invoices and Accounts be related to ensure that all Invoices are visible to everyone with access to an Account?

A developer wants to create a custom object to track Customer Invoices.

How should Invoices and Accounts be related to ensure that all Invoices are visible to everyone with access to an Account?
A . The Account should have a Master-Detail relationship to the Invoice.
B . The Invoice should have a Master-Detail relationship to the Account
C . The Account should have a Lookup relationship to the Invoice
D . The Invoice should have a Lookup relationship to the Account Previous

Answer: B

What is the proper process for an Apex Unit Test

What is the proper process for an Apex Unit Test
A . Query for test data using SeeAllData = true. Call the method being tested. Verify that the results are correct.
B . Query for test data using SeeAllData = true. Execute runAllTests(). Verify that the results are correct.
C . Create data for testing. Execute runAllTests(). Verify that the results are correct.
D . Create data for testing. Call the method being tested. Verify that the results are correct.

Answer: D

Which step should the developer take to resolve the issue and properly test the exception?

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?
A . Use try/catch within the unit test to catch the exception.
B . Use the finally bloc within the unit test to populate the exception.
C . Use the database methods with all or none set to FALS
E . Use Test.isRunningTest() within the custom controller.

Answer: A

How can a developer display data from the parent record on the page?

A Visualforce page has a standard controller for an object that has a lookup relationship to a parent object.

How can a developer display data from the parent record on the page?
A . By adding a second standard controller to the page for the parent record.
B . By using a roll-up formula field on the child record to include data from the parent record.
C . By using SOQL on the Visualforce page to query for data from the parent record.
D . By using merge field syntax to retrieve data from the parent record.

Answer: D