Which code block will run successfully in an execute anonymous window?

A developer has the controller class below.

Which code block will run successfully in an execute anonymous window?
A . myFooController m = new myFooController();System.assert(m.prop !=null);
B . myFooController m = new myFooController();System.assert(m.prop ==0);
C . myFooController m = new myFooController();System.assert(m.prop ==null);
D . myFooController m = new myFooController();System.assert(m.prop ==1);

Answer: C

Which two strategies should a developer use to avoid hitting governor limits when developing in a multi-tenant environment? (Choose two.)

Which two strategies should a developer use to avoid hitting governor limits when developing in a multi-tenant environment? (Choose two.)
A . Use collections to store all fields from a related object and not just minimally required fields.
B . Use methods from the “Limits” class to monitor governor limits.
C . Use SOQL for loops to iterate data retrieved from queries that return a high number of rows.
D . Use variables within Apex classes to store large amounts of data.

Answer: B,C

What is the end result?

Using the Schema Builder, a developer tries to change the API name of a field that is referenced in an Apex test class.

What is the end result?
A . The API name is not changed and there are no other impacts.
B . The API name of the field and the reference in the test class is changed.
C . The API name of the field is changed, and a warning is issued to update the class.
D . The API name of the field and the reference in the test class is updated.

Answer: C

Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?

Adeveloper needs to join data received from an integration with an external system with parent records in Salesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign key attribute that can be used to identify the parent.

Which action will allow the developer to relate records in the data model without knowing the Salesforce ID?
A . Create and populate a custom field on the parent object marked as Unique.
B . Create a custom field on the child object of typeExternal Relationship.
C . Create and populate a custom field on the parent object marked as an External I
E . Create a custom field on the child object of type Foreign Key.

Answer: D

How can a developer set up a debug log on a specific user?

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

Answer: D

What is the requirement?

A developer wants to override a button using Visualforce on an object.

What is the requirement?
A . The controller or extension must have a PageReference method.
B . The standardController attribute must be set to the object.
C . The action attribute must be set to a controller method.
D . The object record must be instantiated in a controller or extension.

Answer: B