PD1 Flashcards
Given the following code snippet, that is part of a custom controller for a Visualforce page:
Public void updateContact(Contact thisContact){
thisContact.Is_Active__c = false;
try{
update thisContact;
}catch(Exception e){
string errormessage = ‘An Error has eccored’;
}
}
In which two ways can the try/catch be enclosed to enforce object and field-level permissions and prevent the DML statement from being executed if the current logged-in user does not have the appropriate level of access? Choose 2 answers
A. Use if (Schema, sobjectType, Contact, isUpdatable ( ) )
B. Use if (Schema , sobjectType. Contact. Field, Is_Acve_c. is Updateable ( ) )
C. Use if (Schema.sObjectType.Contact.isAccessible ( ) )
D. Use if (thisContact.Owner = = UserInfo.getuserId ( ) )
A,B
Refer to the following code snippet for an environment has more than 200 Accounts belonging to the Technology’ industry:
for(Account a : [select id, industry from Account limit 150]){
if(thisAccount.Industry == ‘Technology’){
thisAccout.is_tech__c = true;
}
update thisAccount;
}
When the code execuon, which two events occur as a result of the Apex transacon? When the code executes, which two events occur as a result of the Apex transacon? Choose 2 answers
A . If executed in an asynchronous context, the apex transacon is likely to fall by exceeding the DML governor limit
B . The Apex transacon succeeds regardless of any uncaught excepon and all processed accounts are updated.
C . The Apex transacon fails with the following message. ‘SObject row was retrieved via SOQL without querying the requested field Account.Is.Tech__c’’.
D . If executed In a synchronous context, the apex transacon is likely to fall by exceeding the DHL governor limit.
B,C
Which Lightning code segment should be written to declare dependencies on a Lightning component, c:accountList, that is used in a Visualforce page?
A . Opon A
B . Opon B
C . Opon C
D . Opon D
A
A development team wants to use a deployment script to automatically deploy to a sandbox during their development cycles.
Which two tools can they use to run a script that deploys to a sandbox? Choose 2 answers
A . Ant Migration Tool
B . SFDX CLI
C . Change Sets
D . Developer Console
Answer: A, B
A developer wants to mark each Account in a List as either or Inacve based on the LastModified field value being more than 90 days.
Which Apex technique should the developer use?
A . A for loop, with a switch statement inside
B . A Switch statement, with a for loop inside
C . An If/else statement, with a for loop inside
D . A for loop, with an if/else statement inside
D
Which Apex class contains methods to return the amount of resources that have been used for a parcular governor, such as the number of DML statements?
A . Excepon
B . Messaging
C . OrgLimits
D . Limits
D
A developer wants to get access to the standard price book in the org while writing a test class that covers an OpportunityLineItem trigger. Which method allows access to the price book?
A . Use Test.loadData ( )and a static resource to load a standard price book
B . Use @TestVisible to allow the test method to see the standard price book.
C . Use Test,getStandardPricebookid ( ) to get the standard price book ID.
D . Use @IsTest (SeeAllData=True) and delete the existing standard price book
C
Which two statements accurately represent the MVC framework implementation in Salesforce?
Choose 2 answers
A . Validation rules enforce business rules and represent the Controller (C) part of the MVC framework
B . Lightning component HTML files represent the Model (M) part of the MVC framework.
C . Triggers that create records represent the Model (M) part of the MVC framework.
D . Standard and Custom objects used in the app schema represent the View (V) part of the MVC framework
A,C
Universal Containers hires a developer to build a custom search page to help user- find the Accounts they want. Users will be able to search on Name, Descripon, and a custom comments field.
Which consideraon should the developer be aware of when deciding between SOQ1 Mid SOSI ?
Choose 2 answers
A . SOSL is able to return more records.
B . SOQL is faster for text searches.
C . SOSL is faster for tent searches.
D . SOQL is able to return more records.
C,D
A primaryid_c custom field exists on the candidate_c custom object. The filed is used to store each candidate’s id number and is marked as Unique in the schema definion.
As part of a data enrichment process. Universal Containers has a CSV file that contains updated data for all candidates in the system, f he file contains each Candidate’s primary id as a data point. Universal Containers wants to upload this informaon into Salesforce, while ensuring all data rows are correctly mapped to a candidate in the system.
Which technique should the developer implement to streamline the data upload?
A . Create a Process Builder on the Candidate_c object to map the records.
B . Create a before Insert trigger to correctly map the records.
C . A Update the primaryid__c field definion to mark it as an External Id
D . Upload the CSV into a custom object related to Candidate_c.
C
A developer needs to join data received from an integraon with an external system with parent records in Salesforce. The data set does not contain the Salesforce IDs of the parent records, but it does have a foreign key aribute that can be used to idenfy the parent.
Which acon will allow the developer to relate records in the data model without knowing the Salesforce ID?
Create a custom field on the child object of type Foreign Key
A . Create and populate a custom field on the parent object marked as Unique
C . Create and populate a custom field on the parent object marked as an External 10.
D . Create a custom field on the child object of type External Relaonship.
C
What can be developed using the Lightning Component framework?
A . Hosted web applicaons
B . Single-page web apps
C . Dynamic web sites
D . Salesforce integraons
B
Which two characteriscs are true for Aura component events?
Choose 2
A . Calling event, stopPropagaon ( ) may or may not stop the event propagaon based of the current propagaon phase.
B . If a container component needs to handle a component event, add a handleFacets=’’ aribute to Its handler.
C . Only parent components that create subcomponents (either in their markup or programmacally) can handle events.
D . The event propagates to every owner In the containment hierarchy.
A,D
For which three items can a trace flag be configured?
Choose 3 answers
A . Process Builder
B . Visualforce
C . Apex Class
D . Apex Trigger
E . User
C,D,E
What are three capabilities of the < ltng: require > tag when loading JavaScript resources in Aura components?
Choose 3 answers
A . Loading files from Documents
B . One-me loading for duplicate scripts
C . Specifying loading order
D . Loading scripts In parallel
E . Loading externally hosted scripts
B, C, D
A developer has a single custom controller class that works with a Visualforce Wizard to support creating and editing multiple subjects. The wizard accepts data from user inputs across multiple Visualforce pages and from a parameter on the inial URL.
Which three statements are useful inside the unit test to effectively test the custom controller?
Choose 3 answers
A . insert pageRef.
B . Test.setCurrentPage(pageRef);
C . public ExtendedController(ApexPages StandardController cntrl) { }
D . ApexPages.CurrentPage().getParameters().put(‘input', ‘TestValue’);
E . String nextPage - controller.save().getUrl();
B, D, E
What is the value of the Trigger.old context variable in a Before Insert trigger?
A . A list of newly created sObjects without IDS
B . Undefined
C . null
D . An empty list of sObjects
C
A custom object Trainer_c has a lookup field to another custom object Gym___c. Which SOQL query will get the record for the Viridian City gym and it’s trainers?
A . SELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name . Viridian City Gym’
B . SELECT Id, (SELECT Id FROM Trainer_c) FROM Gym_c WHERE Name - Viridian City Gym’
C . SELECT ID FROM Trainer_c WHERE Gym__r.Name - Viridian City Gym’
D . SELECT Id, (SELECT Id FROM Trainers) FROM Gym_C WHERE Name - Viridian City Gym’
B
Was A but A is wrong
A workflow updates the value of a custom field for an existing Account. How can a developer access the updated custom field value from a trigger?
A . By wring, a Before Update trigger and accessing the field value from Trigger.new
B . By writing an After Insert trigger and accessing the field value from Trigger.old
C . By writing an Aer Update trigger and accessing the field value from Trigger.old
D . By writing a Before Insert trigger and accessing the field value from Trigger.new
A
A team of many developers work in their own individual orgs that have the same configuraon at the producon org. Which type of org is best suited for this scenario?
A . Developer Sandbox
B . Developer Edion
C . Full Sandbox
D . Partner Developer Edion
A
A developer wants to invoke on outbound message when a record meets a specific criteria. Which three features sasfy this use case?
Choose 3 answer
A . Approval Process has the capacity to check the record criteria and send an outbound message without Apex Code
B . Process builder can be used to check the record criteria and send an outbound message with Apex Code.
C . workflows can be used to check the record criteria and send an outbound message. D . Process builder can be used to check the record criteria and send an outbound messagewithout Apex Code.
E . Visual Workflow can be used to check the record criteria and send an outbound message without Apex Code.
Answer: A, B, C
A developer has to idenfy a method in en Apex class that performs resource intensive acons in memory by iterang over the result set of a SOQL statement on the account. The method also performs a SOQL statement to save the changes to the database.
Which two techniques should the developer implement as the best practice to ensure transaction control and avoid exceeding governor limits?
Choose 2 answers
A . Use the @ReadOnly annotation to bypass the number of rows returned by a SOQL.
B . Use Paral DHL statements to ensure only valid data is committed.
C . Use the Database.Savepoint method to enforce database Integrity.
D . Use the System.Limit class to monitor the current CPU governor limit consumption.
Answer: C, D
A developer needs to create a custom buon for the Account object that, when clicked, will perform a series of calculaon and redirect the user to a custom visualforce page.
Which three aributes need to be defined with values in the tag to accomplish this?
Choose 3 answers
A . renderAs
B . standard Controller
C . readOnly
D . Acon
E . extensions
Answer: A, B, E
Which action may cause triggers to fire?
A . Updates to Feed Items
B . Renaming or replacing a picklist entry
C . Changing a user’s default division when the transfer division opon it checked
D . Cascading delete operations
Answer: A
What should a developer use to obtain the Id and Name of all the Leads. Accounts, and Contacts that have the company name ‘Universal Containers’?
A . FIND ‘Universal Containers’ IN Name Fields RETURNING lead(id, name), account(id, name), contact(id, name)
B . SELECT Lead.id, Lead.Name, Account.Id, Account.Name, Contact.id, Contact.Name FROM Lead, Account,Contact WHERE Company Name = ‘Universal Containers’
C . SELECT lead(id, name), account(id, name), contact(id, name) FROM Lead, Account, Contact WHERE Name =’Universal Containers’
D . FIND ‘Universal Containers’ IN CompanyName Fields RETURNING lead(id, name), account(id, name), contact(id,name)
A
Which three resources in an Azure Component can contain JavaScript funcons?
A . Controllers
B . helper
C . Design
D . Style
E . Renderer
Answer: A, B, E
In the following example, which sharing context will myMethod execute when it is invoked?
A . Sharing rules will be inherited from the calling context.
B . Sharing rules Ail be enforced by the instanang class
C . Sharing rules Ml be enforced for the running user.
D . Sharing rules will not be enforced for the running user.
A
Which three per-transacon limits have higher governor limits in asynchronous Apex transacons?
A . Maximum CPU me
B . Maximum heap size
C . Total SOQL queries
D . Maximum execuon me
E . Records returned by SOQL
Answer: A, C, E
A developer needs to create a baseline set of data (Accounts, Contacts, Products, Assets) for an enre suite of test allowing them to test independent requirements various types of Salesforce Cases.
Which approach can efficiently generate the required data for each unit test?
A . Use @TestSetup with a viod method.
B . Create test data before Test.startTest() in the unit test.
C . Add @isTest(seeAllData=true) at the start of the unit test class.
D . Create a nock using the Stud API
Answer: A
which statement is true regarding execuon order when triggers are associated to the same object and event?
A . Trigger execuon order cannot be guaranteed.
B . executed In the order they are modified.
C . Triggers are executed alphabecally by trigger name.
D . Triggers are executed in the order they are created.
Answer: A
Refer to the following code that runs in an Execute Anonymous block:
for(list theseLeads : [select lastname, company, email from lead lmit 20000]){
if(thisLead.Email == null){
thislead.Email = assignGenericEmail(ThisLead.Lastname, thisLead.Company);
}
database.Update(theseLeads,false)
}
In an environment where the full result set is returned, what is a possible outcome of this code?
A . The total number of records processed as a result of DML statements will be exceeded
B. The transaction will succeed and the full result set changes will be committed to the database
C. The transaction will succeed and the first ten thousand records will be committed to the database
D. the total number of DML statements issued will be executed
A
Which two operations can be performed using a formula field? Choose 2 answers
A . Displaying the last four digits of an encrypted Social Security number
B . Triggering a Process Builder
C . Displaying an Image based on the Opportunity Amount
D . Calculating a score on a lead based on the information from another field
C,D
A developer wrote Apex code that calls out to an external system. How should a developer write the test to provide test coverage?
A . Write a class that extends HTTPCalloutMock.
B . Write a class that implements the HTTPCalloutMock interface.
C . Write a class that implements the WebserviceMock interface.
D . Write a class that extends WebserviceMock
B
What should be used to create scratch orgs?
A . Developer Console
B . Salesforce CLI
C . Workbench
D . Sandbox refresh
B
Which three web technologies can be integrated into a Visualforce page? (Choose three.)
A . JavaScript
B . CSS
C . Java
D . PHP
E . HTML
Answer: A, B, E
How should a developer write unit tests for a private method in an Apex class?
A . Use the SeeAllData annotaon.
B . Add a test method in the Apex class.
C . Use the TestVisible annotaon.
D . Mark the Apex class as global.
C
A developer considers the following snippet of code:
Boolean isOk;
integer x;
string theString = ‘Hello’;
if(isOk == fasle && theString == ‘Hello’ ){
x=1;
}else if(isOk == true && theString == ‘Hello’ ){
x=2
}else if(isOk != null && theString == ‘Hello’){
x=3;
}else{
x=4;
}
Based on this code, what is the value of x?
A . 2
B . 1
C . 3
D . 4
D
A developer must create a CreditcardPayment class that provides an implementaon of an exisng Payment class. Public virtual class Payment { public virtual void makePayment(Decimal amount) { /*implementaon*/ } } Which is the correct implementaon?
A . Public class CreditcardPayment extends Payment {
public override void makePayment(Decimal amount) { /*implementaon*/ } }
B . Public class CreditCardPayment implements Payment {
public virtual void makePayment(Decimal amount) { /*implementaon*/ } }
C . Public class CreditCardPayment extends Payment {
public virtual void makePayment(Decimal amount) { /*implementaon*/ } }
D . Public class CreditCardPayment implements Payment { public override void makePayment(Decimal amount) { /*Implementaon*/ } }
A
A developer must provide a custom user interface when users edit a Contact. Users must be able to use the interface in Salesforce Classic and Lightning Experience.
What should the developer do to provide the custom user interface?
A . Override the Contact’s Edit buon with a Visualforce page in Salesforce Classic and a Lightning
component in Lightning Experience.
B . Override the Contact’s Edit buon with a Visualforce page in Salesforce Classic and a Lightning page inLightning Experience.
C . Override the Contact’s Edit buon with a Lightning component in Salesforce Classic and a Lightning
component in Lightning Experience.
D . Override the Contact’s Edit buon with a Lightning page in Salesforce Classic and a Visualforce page in Lightning Experience.
A
When a user edits the Postal Code on an Account, a custom Account text field named ‘Timezone’ must be update based on the values in a PostalCodeToTimezone__c custom object. How should a developer implement this feature?
A . Build an Account Assignment Rule.
B . Build an Account custom Trigger.
C . Build an account Approval Process
D . Build an Account Workflow Rule.
B
The Job_Applicaon__c custom object has a field that is a Master-Detail relaonship to the Contact object, where the Contact object is the Master. As part of a feature implementaon, a developer needs to retrieve a list containing all Contact records where the related Account Industry is ‘Technology’ while also retrieving the contact’s Job_Applicaon__c records.
Based on the object’s relaonships, what is the most efficient statement to retrieve the list of contacts?
A . [SELECT Id, (SELECT Id FROM Job_Applicaons_r) FROM Contact WHERE Account.Industry = ‘Technology’];
B . [SELECT Id, (SELECT Id FROM Job_Applicaons_r) FROM Contact WHERE Accounts.Industry = ‘Technology’];
C . [SELECT Id, (SELECT Id FROM Job_Applicaons_c) FROM Contact WHERE Accounts.Industry = ‘Technology’];
D . [SELECT Id, (SELECT Id FROM Job_Applicaon_c) FROM Contact WHERE Account.Industry = ‘Technology’];
B
mixed answers online
I think it is A
What is the order of operations when a record is saved in Salesforce?
A . Process flows, triggers, workflow, commit
B . Workflow, process flows, triggers, commit
C . Workflow, triggers, process flows, commit
D . Triggers, workflow, process flows, commit
D
Which two are best practices when it comes to component and application event handling? (Choose two.)
A . Reuse the event logic in a component bundle, by pung the logic in the helper.
B . Use component events to communicate actions that should be handled at the application level.
C . Handle low-level events in the event handler and re-fire them as higher-level events.
D . Try to use application events as opposed to component events.
A,C
Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package applicaon. One of the applicaon modules allows the user to calculate body fat using the Apex class, BodyFat, and its method, calculateBodyFat(). The product owner wants to ensure this method is accessible by the consumer of the applicaon when developing customizaons outside the ISV’s package namespace.
Which approach should a developer take to ensure calculateBodyFat() is accessible outside the package namespace?
A . Declare the class and method using the public access modifier.
B . Declare the class as global and use the public access modifier on the method.
C . Declare the class as public and use the global access modifier on the method.
D . Declare the class and method using the global access modifier.
D
A developer must write an Apex method that will be called from a Lightning component. The method may
delete an Account stored in the accountRec variable.
Which method should a developer use to ensure only users that should be able to delete Accounts can
successfully perform deleons?
A . Schema.sObjectType.Account.isDeletable()
B . Account.isDeletable()
C . accountRec.isDeletable()
D . accountRec.sObjectType.isDeletable()
A
A developer must create a ShippingCalculator class that cannot be instanated and must include a working default implementaon of a calculate method, that sub-classes can override.
What is the correct implementaon of the ShippingCalculator class?
A:
public abstract class shippingCalculator{
public abstract calculate(){/*imp*/}
}
B.
public abstract class shippingCalculator{
public virtual void calculate(){/*imp*/}
}
C.
public abstract class shippingCalculator{
public void calculate(){/*imp*/}
}
D.
public abstract class shippingCalculator{
public override calculate(){/*imp*/}
}
A . Opon A
B . Opon B
C . Opon C
D . Opon D
B
Which two condions cause workflow rules to fire? Choose 2 answers
A . Changing the territory assignments of accounts and opportunies
B . Updang records using the bulk API
C . Converng leads to person accounts
D . An Apex Batch process that changes field values
Answer: B, D
Which three statements are true regarding trace flags? (Choose three.)
A . Trace flags automatically cause debug logs to be generated.
B . Logging levels override trace flags.
C . Trace flags override logging levels.
D . If active trace flags are not set, Apex tests execute with default logging levels.
E . Trace flags can be set in the Developer Console, Setup, or using the Tooling API.
Answer: C, D, E
A developer needs to update an unrelated object when a record gets saved. Which two trigger types should the developer create?
A . After insert
B . After update
C . Before update
D . Before insert
Answer: C, D
A developer needs an Apex method that can process Account or Contact records. Which method signature should the developer use?
A . Public void doWork(Record theRecord)
B . Public void doWork(sObject theRecord)
C . Public void doWork(Account Contact)
D . Public void doWork(Account || Contatc)
B
Which statement is true about developing in a multi-tenant environment?
A . Governor limits prevent apex from impacting the performance of multiple tenants on the same instance
B . Apex sharing controls access to records from multiple tenants on the same instance
C . Global apex classes can be referenced from multiple tenants on the same instance
D . Org-level data security controls which users can see data from multiple tenants on the same instance
Answer: A
An aer trigger on the Account object performs a DML update operaon on all of the child Opportunies of an Account. There are no acve triggers on the Opportunity object, yet a ‘‘maximum trigger depth exceeded’’ error occurs in certain situaons.
Which two reasons possibly explain the Account trigger firing recursively? (Choose two.)
A . Changes to Opportunies are causing cross-object workflow field updates to be made on the Account.
B . Changes to Opportunies are causing roll-up summary fields to update on the Account. C . Changes are being made to the Account during an unrelated parallel save operaon.
D . Changes are being made to the Account during Criteria Based Sharing evaluaon.
Answer: A, B
Which declarave process automaon feature supports iterang over mulple records?
A . Flows
B . Validation Rules
C . Approval Proces
D . Workflow rules
A
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 the Anonymous Apex feature of the Developer’s IDE.
D . Type code into the Developer Console and execute it directly.
E . Create and execute a test method that does not specify a runAs() call.
A,C,D
What can used to delete components from production?
A . A change set deployment with the delete opon checked
B . An ant migraon tool deployment with destrucvechanges xml file and the components to delete in the package .xml file
C . A change set deployment with a destrucvechanges XML file
D . An ant migraon tool deployment with a destrucvechanges XML file and an empty package .xml file
B
Which standard field is required when creating a new contact record?
A . LastName
B . Name
C . AccountId
D . FirstName
A
A developer needs to save a List of exisng 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 the developer to save the records to the database without an Id? (Choose two.)
A . Upsert myAccounts Foreign_Key__c;
B . Upsert myAccounts(Foreign_Key__c);
C . Database.upsert (myAccounts, Foreign_Key__c);
D . Database.upsert(myAccounts).Foreign_Key__c;
A,C
Which code displays the contents of a Visualforce page as a PDF?
A . apex:page contentType=’pdf’
B. “apex:page rendersAs=’application/pdf’
C. apex:page contentType=’application/pdf’
D. apex:page renderAs=’pdf’
hps: //developer.salesforce.com/docs/atlas.en
us. pages.meta/pages/pages_output_pdf_renderas.htm
You can generate a downloadable, printable PDF file of a Visualforce page using the PDF rendering service. Convert a page to PDF by changing thetag.
D
An Apex method, getAccounts, that returns a List of Accounts given a searchTerm, is available for Lightning Web components to use.
What is the correct definion of a Lightning Web component property that uses the getAccounts method?
A:
@wire (getAccounts, {searchTerm: ‘$searchTerm’})
accountList;
B:
@AuraEnabled (getAccounts, ‘$searchTerm’)
accountList;
C.
@AuraEnabled(getAccounts, {searchTerm: ‘$searchTerm’})
accountList;
D;
@wire (getAccounts, ‘$searchTerm’)
accountList;
A . Opon A
B . Opon B
C . Opon C
D . Opon D
A
As a part of class implementation a developer must execute a SOQL query against a large data ser based on the contact object. The method implementation is as follows.
list retrive = [Select id, name, description from contact];
for(contact c : retrive){
//Field updated
}
Which two methods are best practice to implement heap size control for the above code? (Choose 2 Answers)
A . Use the FOR UPDATE opon on the SOQL query to lock down the records retrieved.
B . Use visual keyword when declaring the retrieved variable.
C . Use a SOQL FOR loop, to chunk the result set in batches of 200 records.
D . Use WHERE clauses on the SOQL query to reduce the number of records retrieved.
B,C
A developer has a requirement to create an Order When an Opportunity reaches a ‘Closed Won’ status.
Which tool should be used to implement this requirement?
A . Process Builder
B . Lightning Component
C . Lightning
D . Apex trigger
A
Universal Containers recently transioned from Classic to Lighng Experience. One of its business processes requires certain value from the opportunity object to be sent via HTTP REST callout to its external order management system based on a user-iniated acon on the opportunity page. Example values are as follow
Name
Amount
Account
Which two methods should the developer implement to fulfill the business requirement? (Choose 2 answers)
A . Create a Lightning component that performs the HTTP REST callout, and use a Lightning Acon to expose the component on the Opportunity detail page.
B . Create a Process Builder on the Opportunity object that executes an Apex immediate acon to perform the HTTP REST callout whenever the Opportunity is updated.
C . Create an aer update trigger on the Opportunity object that calls a helper method using @Future(Callout=true) to perform the HTTP REST callout.
D . Create a Visualforce page that performs the HTTP REST callout, and use a Visualforce quick acon to expose the component on the Opportunity detail page.
A,C
When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?
A . Producon
B . Dev Hub
C . Environment Hub
D . Sandbox
B
What should a developer do to check the code coverage of a class are running all tests?
A . View the Code Coverage column in the view on the Apex Classes page.
B . View the Class test Coverage tab on the Apex Class record.
C . view the overall Code Coverage panel of the tab in the Developer Console.
D . Select and run the class on the Apex Test Execution page
B
What is the result of the following code?
No Code Provided
A . The record will not be created and a excepon 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 . The record will be created and no error will be reported.
C
A Salesforce developer wants to review their code changes immediately and does not want to install anything on their computer or on the org.
Which tool is best suited?
A . Developer Console
B . Salesforce Extension for VSCode
C . Setup Menu
D . Third-party apps from App Exchange
A
What are two characteristics related to formulas? Choose 2 answers.
A . Formula can reference themselves.
B . Formulas are calculated at run me 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 without the formula.
B,C
A developer of Universal Containers is tasked with implemenng a new Salesforce applicaon that must be able to by their company’s Salesforce administrator.
Which three should be considered for building out the business logic layer of the applicaon? Choose 3 answers
A . Workflows
B . validaon Rules
C . Process Builder
D . Scheduled Jobs
E . Invocable Acons
A,B,C
A developer needs to have records with specific field values in order to test a new Apex class. What should the developer do to ensure the data is available to the test?
A . Use Anonymous Apex to create the required data.
B . Use SOQL to query the org for the required data.
C . Use Test.Loaddata () and reference a stac resource.
D . Use Test.Loaddata () and reference a CSV file
C