A platform developer needs to write an apex method that will only perform an action if a record is assigned to a specific record type. Which two options allow the developer to dynamically determine the ID of the required record type by its name? Choose 2 answers
A. Use the getrecordtypeinfosbydevelopername() method in the describesobjectresult class
B. Make an outbound web services call to the SOAP API
C. Execute a SOQL query on the recordtype object
D. Hardcore the ID as a constant in an apex class
A developer declared a class as follow.
public class wysiwyg { // Properties and methods including DML } Which invocation of a class method will obey the organization-wide defaults and sharing settings for the running user in the Salesforce Organization?
A. An Apex Trigger that invokes a helper method in this class
B. A Visualforce page with an Apex controller that invokes a method in this class
C. A user on an external system that has an API call into Salesforce that invokes a method in this class
D. A developer using the Developer Console that invokes a method in this class from the execute anonymous window
Managed Packages can be created in which type of org?
A. Developer Sandbox
B. Unlimited Edition
C. Developer Edition
D. Partial Copy Sandbox
A developer executes the following code in the Developer Console:
List
(new Account (Name = `Universal Account ` + i));}Insert sList;How many accounts are created in the Salesforce organization ?
A. 20000
B. 0
C. 200
D. 1000
Which resource can be included in a Lightning Component bundle?Choose 2 answers
A. Apex class
B. Adobe Flash
C. JavaScript
D. Documentation
What is a valid source and destination pair that can send or receive change sets? (Choose 2)
A. Developer Edition to Sandbox
B. Sandbox to Production
C. Sandbox to Sandbox
D. Developer Edition to Production
What are the methods used to show input in classic and lightning?
A. Use visualforce page in classic and lightning component in lightning
B. PlaceHolder
C. PlaceHolder
A develop completed modification to a customized feature that is comprised of two elements:
1.
Apex trigger
2.
Trigger handler Apex class
What are two factors that the developer must take into account to properly deploy the modification to the production environment?
A. Apex classes must have at least 75% code coverage org-wide.
B. At least one line of code must be executed for the Apex trigger.
C. All methods in the test classes must use @isTest.
D. Test methods must be declared with the testMethod keyword.
Refer to the code snippet below:
When a Lightning web component is rendered, a list of apportunities that match certain criteria shopuld be retrievved from the database and displayed to the end user.
Which three Considerations must the developer implement to make the method available within the Lightning web component?
Choose 3 answer
A. The method must specify the (cacheable=true) attribute.
B. The method must specify the (continuation=true) attribute.
C. The method must be annotated with the @AuraEnabled annotation.
D. The method must be annotated with the @InvocableMethod annotation.
E. The method cannot mutate the result set retrieved from the database.
As part of new feature development, a developer is asked to build a responsive application capable of responding to touch events, that will be executed on stateful clients.
Which three technologies are built on a framework that fully supports the business requirement? Choose 3 answers
A. Aura Components
B. Vlsualforce Components
C. Lightning Web Components
D. Visualforce Pages