What should the developer consider while testing the trigger code?
The following automations already exist on the Account object; • A workflow rule that updates a field when a certain criteria is met • A custom validation on a field • A How that updates related contact records A developer created a trigger on the Account object. What should the...
How can the developer find the current user's default record type?
A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default } | Opportunity record type, and set certain default values based on the record type before inserting the record. i, JCalculator How can the developer find the...
What should the developer do to fulfill the business request in the quickest and most effective manner?
Universal Containers has large number of custom applications that were built using a third-party javaScript framework and exposed using Visualforce pages. The Company wants to update these applications to apply styling that resembles the look and feel of Lightning Experience. What should the developer do to fulfill the business request...
Which two strategies should a developer use to accomplish this?
Universal Containers wants Opportunities to be locked from editing when reaching the Closed/Won stage. Which two strategies should a developer use to accomplish this? Choose 2 answersA . Use a validation rule.B . Use a trigger.View AnswerAnswer: A,B
Which two events need to happen when deploying to a production org? Choose 2 answers
Which two events need to happen when deploying to a production org? Choose 2 answersA . All triggers must have at least 1% test coverage.B . All Apex code must have at least 75% test coverage.C . All triggers must have at least 75% test coverage.D . All test and...
What should a developer use to satisfy this requirement?
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 of order numbers and dates that are retrieved from an external order management system in real...
What is the correct implementation of the ShippingCalculator class?
A developer must create a ShippingCalculator class that cannot be instantiated and must include a working default implementation of a calculate method, that sub-classes can override. What is the correct implementation of the ShippingCalculator class? A . Option AB . Option BC . Option CD . Option DView AnswerAnswer: B
What is the practice to get the sum of all order line totals on the order header?
Universal Container use a simple order Management app. On the Order Lines, the order line total is calculated by multiplying the item price with the quantity ordered. There is a Master-Detail relationship between the Order and the Order Lines object. What is the practice to get the sum of all...
Which three statements are true regarding custom exceptions in Apex? (Choose three.)
Which three statements are true regarding custom exceptions in Apex? (Choose three.)A . A custom exception class must extend the system Exception class.B . A custom exception class can implement one or many interfaces.C . A custom exception class cannot contain member variables or methods.D . A custom exception class...
Which code in a Visualforce page and/or controller might present a security vulnerability?
Which code in a Visualforce page and/or controller might present a security vulnerability?A . <apex:outputField value="{!ctrl.userInput}" />B . <apex:outputText escape="false" value=" {!$CurrentPage.parameters.userInput}" />C . <apex:outputText value="{!£CurrentPage.parameters.userInput}" />D . <apex:outputField escape="false" value="{!ctrl.userInput}" />View AnswerAnswer: B