What does the query return if there is no Contact with the last name 'Smith'?

A developer has the following query: Contact c = [SELECT id, firstname, lastname, email FROM Contact WHERE lastname = 'Smith']; What does the query return if there is no Contact with the last name 'Smith'?A . A contact initialized to null.B . An error that no rows are found.C ....

October 6, 2019 No Comments READ MORE +

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

October 6, 2019 No Comments READ MORE +

What does the query return if there is no Contact with the last name 'Smith'?

A developer has the following query: Contact c = [SELECT id, firstname, lastname, email FROM Contact WHERE lastname = 'Smith']; What does the query return if there is no Contact with the last name 'Smith'?A . A contact initialized to null.B . An error that no rows are found.C ....

October 6, 2019 No Comments READ MORE +

Which resource can be included in a Lightning Component bundle? Choose 2 answers

Which resource can be included in a Lightning Component bundle? Choose 2 answersA . Apex classB . Adobe FlashC . JavaScriptD . DocumentationView AnswerAnswer: C, D

October 5, 2019 No Comments READ MORE +

What is a valid source and destination pair that can send or receive change sets? (Choose 2)

What is a valid source and destination pair that can send or receive change sets? (Choose 2)A . Developer Edition to SandboxB . Sandbox to ProductionC . Sandbox to SandboxD . Developer Edition to ProductionView AnswerAnswer: B, C

October 5, 2019 No Comments READ MORE +

How should a developer make sure that a child record on a custom object, with a lookup to the Account object, has the same sharing access as its associated account?

How should a developer make sure that a child record on a custom object, with a lookup to the Account object, has the same sharing access as its associated account?A . Create a Sharing Rule comparing the custom object owner to the account owner.B . Create a validation rule on...

October 4, 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 4, 2019 No Comments READ MORE +

What are three valid Apex loop structures for iterating through items in the collection?

Given: Map<ID, Account> accountMap = new Map>ID, Account> ([SELECT Id, Name FROM Account]); What are three valid Apex loop structures for iterating through items in the collection? (Choose three.)A . for (ID accountID : accountMap.keySet()) {…}B . for (Account accountRecord : accountMap.values()) {…}C . for (Integer i=0; I < accountMap.size();...

October 4, 2019 No Comments READ MORE +

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

October 4, 2019 No Comments READ MORE +

What is a valid source and destination pair that can send or receive change sets? (Choose 2)

What is a valid source and destination pair that can send or receive change sets? (Choose 2)A . Developer Edition to SandboxB . Sandbox to ProductionC . Sandbox to SandboxD . Developer Edition to ProductionView AnswerAnswer: B, C

October 3, 2019 No Comments READ MORE +