Universal Containers wants Opportunities to no longer be editable when it reaches the Closed/Won stage.
Which two strategies can a developer use to accomplish this?
A developer wants to improve runtime performance of Apex calls by caching results on the client.
What is the most efficient way to implement this and follow best practices?
For which three items can a trace flag be configured? Choose 3 answers
What are two considerations for deploying from a sandbox to production? Choose 2 answers
Which code displays the contents of a Visualforce page as a PDF?
A)
B)
C)
D)
The Account object in an organization has a master-detail relationship to a child object called Branch. The following automations exist:
Roll-up summary fields
Custom validation rules
Duplicate rules
developer created a trigger on the Account object.
Which two things should the developer consider while testing the trigger code?
Choose 2 answers
A developer created this Apex trigger that calls MyClass.myStaticMsthod:
The developer creates a test class with a test method that calls Myclass.myStacicMethod directly, resulting in 81% overall code coverage.
What happens when the developer tries to deploy the trigger and two classes to production, assuming no other code exists?
What happens when the developer tries to deploy the trigger and two classes to production, assuming no other code exists?
Universal Containers has a support process that allows users to request support from its engineering team using a custom object, Engineering_Support__ c.
Users should be able to associate multiple Engineering_ support___c records to a single Opportunity record. Additionally, aggregate information about the Engineering Support__ c records should be shown on the Opportunity record.
Which relationship field should be implemented to support these requirements?
Universal Containers wants to back up all of the data and attachments in its Salesforce org once a month.
Which approach should a developer use to meet this requirement?
Universal Containers (UC) uses out-of-the-box order management, that has a Master-Detail relationship between Order and Order Line Item.
UC stores the availability date on each Order Line Item and Orders are only shipped when all of the Order Line Items are available.
Which method should be used to calculate the estimated ship date for an Order?
What are two benefits of using External IDs? Choose 2 answers
An Opportunity needs to have an amount rolled up from a custom object that is not in a master-detail relationship.
How can this be achieved?
What should a developer do to check the code coverage of a class after running all tests?
A developer at AW Computing is tasked to create the supporting test class for programmatic customization that leverages records stored within the custom object, Pricing_Structure__c. AW Computing has a complex pricing structure for each item on the store, spanning more than 500 records,
Which two approaches can the developer use to ensure Pricing Strucrture_c records are available when the test class is executed?
Choose 2 answers
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 deletions?
Universal Containers has a Visualforce page that displays a table of every Container___c being rented by a given Account. Recently this page is failing with a view state limit because some of the customers rent over 10,000 containers.
What should a developer change about the Visualforce page to help with the page load errors?
When a user edits the Postal Code on an Account, a custom Account text field named "Timezone™ must be updated based on the values in a PoataliCodeToTimezcone o custom object.
Which two automation tools can be used to implement this feature?
Choose 2 answers
A developer wrote Apex code that calls out to an external system using REST API.
How should a developer write the test to prove the code is working as intended?
Universal Hiring uses 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 picklist, Preferred Locations__c, contains a list of approved states for the position. Each Job_Application__c record relates to a Contact within the system through a master-detail relationship.
Recruiters have requested the ability to view whether the Contact's Mailing State value matches a value selected on the Preferred_Locations_ c field, within the Job_Application__c record. Recruiters would like this value to be kept in sync if changes occur to the Contact's Mailing State.
What is the recommended tool a developer should use to meet the business requirement?
Which statement generates a list of Leads and Contacts that have a field with the phrase 'ACME'?
A)
B)
C)
D)
A developer is asked to prevent anyone other than a user with Sales Manager profile from changing the Opportunity Status to Closed Lost if the lost reason is blank.
Which automation allows the developer to satisfy this requirement in the most efficient manner?
A developer created a Lightning web component called statusComponent to be inserted into the Account record page.
Which two things should the developer do to make this component available?
Choose 2 answers
A)
B)
C)
D)
Considering the following code snippet:
When the code executes, a DML exception is thrown.
How should a developer modify the code to ensure exceptions are handled gracefully?
A developer created a trigger on the Account object. While testing the trigger, the developer sees the error message 'Maximum trigger depth exceeded’.
What could be the possible causes?
Given the following Apex statement:
What occurs when more than one Account is returned by the SOQL query?
What are two ways a developer can get the status of an enqueued job for a class that implements the queueable interface?
Choose 2 answers
A developer must create a DrawList class that provides capabilities defined in the Sortable and Drawable interfaces.
Which is the correct implementation?
A)
B)
Cloud Kicks has a multi-screen flow that its call center agents use when handling inbound service desk calls.
At one of the steps in the flow, the agents should be presented with a list order numbers and dates that are retrieved from an external order management system in real time and displayed on the screen.
What should a developer use to satisfy this requirement?
Since Aura application events follow the traditional publish- subscribe model, which method is used to fire an event?
Refer to the following Apex code:
What is the value of x when it is written to the debug log?
Where are two locations a developer can look to find information about the status of batch or future methods?
Choose 2 answers
What are three capabilities of the
Choose 3 answers
Which statement describes the execution order when triggers are associated to the same object and event?
Which two characteristics are true for Lightning Web Component custom events? Choose 2 answers
A team of many developers work in their own individual orgs that have the same configuration as the production org.
Which type of org is best suited for this scenario?
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?
If Apex code executes inside the =x=cuz=() method of an Apex class when implementing the Batchable interface, which two statements are true regarding governor limits?
Choose 2 answers
A developer is tasked with building a custom Lightning web component to collect Contact information.
The form will be shared among many different types of users in the org. There are security requirements that only certain fields should be edited and viewed by certain groups of users.
What should the developer use in their Lightning Web Component to support the security requirements?
A developer identifies the following triggers on the Expense__c object:
The triggers process before delete, before insert, and before update events respectively.
Which two techniques should the developer implement to ensure trigger best practices are followed?
Choose 2 answers
Which two settings must be defined in order to update a record of a junction object? Choose 2 answers
A developer must create a Lightning component that allows users to input Contact record information to create a Contact record, including a Salary__c custom field.
What should the developer use, along with a lightning-record-edit-form, so that salarv < field functions as a currency Input and is only viewable and editable by users that have the correct field level permissions on salary _c?
A)
B)
C)
D)
What does the Lightning Component framework provide to developers?
What are three ways for a developer to execute tests in an org?
Choose 3 answers
Which exception type cannot be caught?
Which two statements are true about using the @testSetup annotation in an Apex test class?
Choose 2 answers
A developer completed modifications to a customized feature that is comprised of two elements:
* Apex trigger
* Trigger handler Apex class
What are two factors that the developer must take into account to properly deploy the modification to the production environment?
Choose 2 answers
A developer must troubleshoot to pinpoint the causes of performance issues when a custom page loads in their org.
Which tool should the developer use to troubleshoot query performance?
Developers at Universal Containers (UC) use version control to share their code changes, but they notice that when they deploy their code to different environments they often have failures. They decide to set up Continuous Integration (CI).
What should the UC development team use to automatically run tests as part of their CI process?
How does the Lightning Component framework help developers implement solutions faster?
A developer is creating a Lightning web component to show a list of sales records.
The Sales Representative user should be able to see the commission field on each record. The Sales Assistant user should be able to see all fields on the record except the commission field.
How should this be enforced so that the component works for both users without showing any errors?
A developer creates a custom exception as shown below:
public class ParityException extends Exception. {}
What are two ways the developer can fire the exception in Apex? Choose 2 answers
A developer creates a batch Apex job to update a large number of records, and receives reports of the job timing out and not completing.
What is the first step towards troubleshooting the issue?