Managers at Universal Containers want to ensure that only decommissioned containers are able to be
deleted in the system. To meet the business requirement a Salesforce developer adds "Decommissioned" as a
picklist value for the Status__c custom field within the Container__c object.
Which tool sh...
Managers at Universal Containers want to ensure that only decommissioned containers
are able to be
deleted in the system. To meet the business requirement a Salesforce developer adds
"Decommissioned" as a
picklist value for the Status__c custom field within the Container__c object.
Which tool should the developer use to enforce only Container records with a status of
"Decommissioned" can
be deleted?
A. Apex trigger
B. Validation rule
C. After record-triggered flow
D. Before record-triggered flow correct answers Before record-triggered flow
8. Which exception type cannot be caught?
A. LimitException
B. NoAccessException
C. A Custom Exception
D. CalloutException correct answers A. LimitException
A developer must create an Apex class, ContactController, that a Lightning component
can use to search for Contact records. Users of the Lightning component should only be
able to search for Contact records to which they have access. Which two will restrict the
records correctly? Choose 2 answers A. public class ContactController
B. public inherited sharing class ContactController
C. public without sharing class ContactController
D. public with sharing class ContactController correct answers public with sharing class
ContactController
public inherited sharing class ContactController
A developer is tasked to perform a security review of the ContactSearch Apex class that
exists in the system. Within the class, the developer identifies the following method as a
security threat: List performSearch(String lastName){ return Database.query('SELECT
Id, FirstName, LastName FROM Contact WHERE LastName Like %'+lastName+'%'); }
What are two ways the developer can update the method to prevent a SOQL injection
attack?
Chose 2 answers
A. Use the escapeSingleQuotes method to sanitize the parameter before its use.
B. Use the @ReadOnly annotation and the with sharing keyword on the class.
, C. Use a regular expression expression on the parameter to remove special caracters.
D. Use variable binding and replace the dynamic query with a static SOQL. correct
answers Use the escapeSingleQuotes method to sanitize the parameter before its use:
Use variable binding and replace the dynamic query with a static SOQL.
A developer needs to create a custom button for the Account object that, when clicked,
will perform a series of calculations and redirect the user to a custom Visualforce page.
The developer wants to ensure the Visualforce page matches the Lightning Experience
user interface. What attribute needs to be defined within the tag to meet the
requirement?
A. wizard="true"
B. setup="true"
C. lightningStylesheets="true"
D. applyHtmlTag="true" correct answers lightningStylesheets="true"
A developer needs to allow users to complete a form on an Account record that will
create a record for a custom object. The form needs to display different fields depending
on the user's job role. The functionality should only be available to a small group of
users. Which three things should the developer do to satisfy these requirements?
Choose 3 answers
A. Create a Lightning web component.
B. Create a dynamic form.
C. Create a custom permission for the users.
D. Add a dynamic action to the user's assigned page layouts.
E. Add a dynamic action to the Account record page. correct answers Create a
dynamic form.
Create a custom permission for the users.
Add a dynamic action to the Account record page.
Universal Hiring is using Salesforce to capture job applications. A salesforce
administrator created two custom objects; Job_c acting as the master object,
Job_Application_c acting as the detail. Within the Job_c object, a custom multi-select
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller HopeJewels. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $14.49. You're not tied to anything after your purchase.