What is the result of the debug statements in testMethod3 when you create test data using testSetup in below code?

What is the result of the debug statements in testMethod3 when you create test data using testSetup in below code? A . Account0.Phone=333-8781, Account1.Phone=333-8780B . Account0.Phone=888-1515, Account1.Phone=999-2525C . Account0.Phone=333-8780, Account1.Phone=333-8781D . Account0.Phone=888-1515, Account1.Phone=999-1515View AnswerAnswer: C

October 20, 2019 No Comments READ MORE +

What is the result of the debug statement?

A developer writes the following code: What is the result of the debug statement?A . 1, 100B . 1, 150C . 2, 150D . 2, 200View AnswerAnswer: C

October 20, 2019 No Comments READ MORE +

What are two uses for External IDs? (Choose two.)

What are two uses for External IDs? (Choose two.)A . To create relationships between records imported from an external system.B . To create a record in a development environment with the same Salesforce ID as in another environmentC . To identify the sObject type in SalesforceD . To prevent an...

October 20, 2019 No Comments READ MORE +

Which SOQL query successfully returns the Accounts grouped by name?

Which SOQL query successfully returns the Accounts grouped by name?A . SELECT Type, Max(CreatedDate) FROM Account GROUP BY NameB . SELECT Name, Max(CreatedDate) FROM Account GROUP BY NameC . SELECT Id, Type, Max(CreatedDate) FROM Account GROUP BY NameD . SELECT Type, Name, Max(CreatedDate) FROM Account GROUP BY Name LIMIT 5View...

October 19, 2019 No Comments READ MORE +

Which two actions should you perform?

You have a computer named Computer1 that runs Windows 10. Computer1 contains a folder named Folder1. You need to log any users who take ownership of the files in Folder1. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth...

October 19, 2019 No Comments READ MORE +

developer do to meet this requirement?

The Sales Management team hires a new intern. The intern is not allowed to view Opportunities, but needs to see the Most Recent Closed Date of all child Opportunities when viewing an Account record. What would a developer do to meet this requirement?A . Create a trigger on the Account...

October 18, 2019 No Comments READ MORE +

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...

October 18, 2019 No Comments READ MORE +

Which approach should the developer use to accomplish this declaratively?

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?A . A Visualforce page that calculates the total number of...

October 18, 2019 No Comments READ MORE +

What is an accurate constructor for a custom controller named "MyController"?

What is an accurate constructor for a custom controller named "MyController"?A . public MyController () { account = new Account () ; }B . public MyController (sObject obj) { account = (Account) obj; }C . public MyController (List objects) { accounts = (List ) objects; }D . public MyController (ApexPages.StandardController...

October 16, 2019 No Comments READ MORE +

Which two methods should a developer use to create this case?

When an Account’s custom picklist field called Customer Sentiment is changed to a value of “Confused”, a new related Case should automatically be created. Which two methods should a developer use to create this case? (Choose two.)A . Process BuilderB . Apex TriggerC . Custom ButtonD . Workflow RuleView AnswerAnswer:...

October 15, 2019 No Comments READ MORE +