Universal Containers (UC) wants to lower its shipping cost while making the shipping process more efficient. The Distribution Officer advises UC to implement global addresses to allow multiple Accounts to share a default pickup address. The developer is tasked to create the supporting object and relationship for this business requirement and uses the Setup Menu to create a custom object called "Global Address".
Which field should the developer add to create the most efficient model that supports the business need?
A. Add a Master-Detail field on the Account object to the Global Address object
B. Add a Master-Detail field on the Global Address object to the Account object.
C. Add a Lookup field on the Account object to the Global Address object.
D. Add a Lookup field on the Global Address object to the Account object
What are two best practices when it comes to Lightning Web Component events?
A. Use event.target to communicate data to elements that aren't in the same shadow tree.
B. Use events configured with bubbles: false and composed:false.
C. Use CustomEvent to pass data from a child to a parent component.
D. Use event.detail to communicate data to elements in the same shadow tree
The Account object in an organization has a master detail relationship to a child object called Branch. The following automations exist:
1.
Rollup summary fields
2.
Custom validation rules
3.
Duplicate rules A developer created a trigger on the Account object. What two things should the developer consider while testing the trigger code? Choose 2 answers
A. Rollup summary fields can cause the parent record to go through Save.
B. The trigger may fire multiple times during a transaction.
C. Duplicate rules are executed once all DML operations commit to the database.
D. The validation rules will cause the trigger to fire again.
what are the three languages used in the visualforce page?
A. Javascript, CSS, HTML
B. Apex, Json, SQL
C. C++, CSS, query
Where are two locations a developer can look to find information about the status of asynchronous or future calls? (Choose two.)
A. Time-Based Workflow Monitor
B. Apex Flex Queue
C. Apex Jobs
D. Paused Flow Interviews component
A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes. How should the developer design the Apex classes?
A. Have each class define method getObject() that returns the sObject that is controlled by the Apex class.
B. Extend each class from the same base class that has a method getTextSummary() that returns the summary.
C. Have each class implement an interface that defines method getTextSummary() that returns the summary.
D. Have each class define method getTextSummary() that returns the summary.
An org has different Apex Classes that provide Account -related functionality.After a new validation rule is added to the object, many of the test methods fail.What can be done to resolve the failures and reduce the number of code changes needed for future validation rules?Choose 2 answers:
A. Create a method that creates valid Account records, and call this method from within test methods.
B. Create a method that loads valid Account records from a Static Resource, and call this method within test methods.
C. Create a method that performs a callout for a valid Account record, and call this method from within test methods.
D. Create a method that queries for valid Account records, and call this method from within test methods.
Which component is available to deploy using Metadata API? Choose 2 answers
A. Case Layout
B. Account Layout
C. Case Feed Layout
D. ConsoleLayout
A Visualforce page uses the Contact standard controller. How can a developer display the Name from the parent Account record on the page?
A. Use the (!contact.Account.Name) merge field syntax.
B. Use an additional standard controller for Accounts.
C. Use SOQL syntax to find the related Accounts Name field.
D. Use additional Apex logic within the controller to query for the Name field.
Which two combined methods should a developer use to prevent more than one open Opportunity on each Account? Choose 2 answers
A. Create an Account Roll-up Summary field to count open Opportunities
B. Create an Opportunity Validation Rule to generate an error on insert
C. Create an Account Trigger to generate an error on Opportunity insert
D. Create an Opportunity Workflow Rule to auto-close the Opportunity