What is the result of the following code snippet?
What is the result of the following code snippet?A . 201 Accounts are inserted.B . 200 Accounts are inserted.C . 0 Accounts are inserted.D . 1 Account is inserted.View AnswerAnswer: C
Visualforce components so that the page matches the look and feel of Lightning Experience?
Which code should be used to update an existing Visualforce page that uses standard Visualforce components so that the page matches the look and feel of Lightning Experience?A . <apex:page lightningStyleSheets=”true”>B . <apex:page>C . <apex:commandButton styleClass="slds-vf-button_brand" value="Refresh the Page">D . apex:actionStatusView AnswerAnswer: A
Which SOSL statement should the developer use?
A developer wants to retrieve the Contacts and Users with the email address '[email protected]'. Which SOSL statement should the developer use?A . FIND {[email protected]} IN Email Fields RETURNING Contact (Email), User (Email)B . FIND {Email = '[email protected]'} IN Contact, UserC . FIND {Email = '[email protected]'} RETURNING Contact (Email), User (Email)D...
Which two statements enable the developer to save the records to the database without an Id?
A developer needs to save a List of existing Account records named myAccounts to the database, but the records do not contain Salesforce Id values. Only the value of a custom text field configured as an External ID with an API name of Foreign_Key__c is known. Which two statements enable...
What should be used to ensure that a user populates the Lead Source field prior to converting a Lead?
The sales management team at Universal Containers requires that the Lead Source field of the Lead record be populated when a Lead is converted. What should be used to ensure that a user populates the Lead Source field prior to converting a Lead?A . Process BuilderB . Validation RuleC ....
What will be the output in the debug log in the event of a QueryExeption during a call to the @query method in the following Example?
What will be the output in the debug log in the event of a QueryExeption during a call to the @query method in the following Example? A . Querying Accounts. Query Exception.B . Querying Accounts. Custom Exception.C . Querying Accounts. Query Exception. DoneD . Querying Accounts. Custom Exception Done.View AnswerAnswer:...
What are two characteristics related to formulas? Choose 2 answers.
What are two characteristics related to formulas? Choose 2 answers.A . Formula can reference themselves.B . Formulas are calculated at runtime and are not stored in the database.C . Formulas can reference values in related objects.D . Fields that are used in a formula field can be deleted or edited...
Which three code lines are required to create a Lightning component on a Visualforce page? Choose 3 answers
Which three code lines are required to create a Lightning component on a Visualforce page? Choose 3 answersA . $Lightning.createComponentB . <apex:slds/>C . $Lightning.useComponentD . $Lightning.useE . <apex:includeLightning/>View AnswerAnswer: A,D,E
Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answers
Which two statements are true about using the @testSetup annotation in an Apex test class? Choose 2 answersA . Records created in the test setup method cannot be updated in individual test methods.B . Qo The @testSetup annotation is not supported when the GisTest(SeeAllData=True) annotation is used.C . Test data...
A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of new Apex helper class. Change Set deployment to production fails with the test coverage warning: "Test coverage of selected Apex Trigger is 0%, at least 1% test coverage is required" What should the developer do to successfully deploy the new Apex trigger and helper class?
A developer creates a new Apex trigger with a helper class, and writes a test class that only exercises 95% coverage of new Apex helper class. Change Set deployment to production fails with the test coverage warning: "Test coverage of selected Apex Trigger is 0%, at least 1% test coverage...