Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?
Which Salesforce feature allows a developer to see when a user last logged in to Salesforce if real-time notification is not required?A . Asynchronous Data Capture EventsB . Developer LogC . Event Monitoring LogD . Calendar EventsView AnswerAnswer: C
Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records. which Visualforce feature supports this requirement?
Universal Containers wants a list button to display a Visualforce page that allows users to edit multiple records. which Visualforce feature supports this requirement?A . <apex:listButton> tagB . Custom controllerC . RecordSetVar page attributeD . Controller extensionView AnswerAnswer: C
Which two SOQL queries performed are safe from SOQL injections?
Assuming that ‘name; is a String obtained by an <apex:inputText> tag on a Visualforce page. Which two SOQL queries performed are safe from SOQL injections? Choose 2 answersA . String query = 'SELECT Id FROM Account WHERE Name LIKE ''%' + name.noQuotes() + '%''; List<Account> results = Database.query(query);B . String...
When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?
When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?A . ProductionB . Dev HubC . Environment HubD . SandboxView AnswerAnswer: B Explanation: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs.htm
What is the result of the following code?
What is the result of the following code?A . The record will not be created and a exception will be thrown.B . The record will be created and a message will be in the debug log.C . The record will not be created and no error will be reported.D ....
What are three techniques that a developer can use to invoke an anonymous block of code? (Choose three.)
What are three techniques that a developer can use to invoke an anonymous block of code? (Choose three.)A . Use the SOAP API to make a call to execute anonymous code.B . Create a Visualforce page that uses a controller class that is declared without sharing.C . Run code using...
Which statement is true about developing in a multi-tenant environment?
Which statement is true about developing in a multi-tenant environment?A . Governor limits prevent apex from impactiong the performance of multiple tenants on the same instanceB . Apex sharing controls access to records fomr multiple tenants on the same instanceC . Global apex classes can be referenced from multiple tenants...
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?
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 Apex solution will let the developer implement this requirement?
A developer uses a loop to check each Contact in a list. When a Contact with the Title of “Boss” is found, the Apex method should jump to the first line of code outside of the for loop. Which Apex solution will let the developer implement this requirement?A . break;B...
Which three statements are true regarding custom exceptions in Apex? (Choose three.)
Which three statements are true regarding custom exceptions in Apex? (Choose three.)A . A custom exception class must extend the system Exception class.B . A custom exception class can implement one or many interfaces.C . A custom exception class cannot contain member variables or methods.D . A custom exception class...