Pular para o conteúdo
Início » Questions Salesforce CRT-450

Questions Salesforce CRT-450

Questions Salesforce CRT-450

Questions Salesforce CRT-450

A developer needs to test an Invoicing system integration. After reviewing the number of transactions required for the test, the developer estimates that the test data will total about 2 GB of data storage. Production data is not required for the integration testing. Which two environments meet the requirements for testing? (Choose two.)

Which statement results in an Apex compiler error?
Given: Map<ID, Account> accountMap = new Map>ID, Account> ([SELECT Id, Name FROM Account]); What are three valid Apex loop structures for iterating through items in the collection? (Choose three.)
A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type. Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)
What should a developer use to implement an automatic Approval Process submission for Cases?
Which three options can be accomplished with formula fields? (Choose three.)
A newly hired developer discovers that there are multiple triggers on the case object. What should the developer consider when working with triggers?
An org has a single account named `˜NoContacts’ that has no related contacts. Given the query: List<Account> accounts = [Select ID, (Select ID, Name from Contacts) from Account where Name=`˜NoContacts’]; What is the result of running this Apex?
In a single record, a user selects multiple values from a multi-select picklist. How are the selected values represented in Apex?
A method is passed a list of generic sObjects as a parameter. What should the developer do to determine which object type (Account, Lead, or Contact, for example) to cast each sObject?
A developer working on a time management application wants to make total hours for each timecard available to application users. A timecard entry has a Master- Detail relationship to a timecard. Which approach should the developer use to accomplish this declaratively?
Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)
A Visualforce page is required for displaying and editing Case records that includes both standard and custom functionality defined in an Apex class called myControllerExtension. The Visualforce page should include which <apex:page> attribute(s) to correctly implement controller functionality?
How should a developer prevent a recursive trigger?
How should a developer make sure that a child record on a custom object, with a lookup to the Account object, has the same sharing access as its associated account?
Which two platform features align to the Controller portion of MVC architecture? (Choose two.)
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?
What is the requirement for a class to be used as a custom Visualforce controller?
A platform developer at Universal Containers 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. Which three attributes need to be defined with values in the <apex:page> tag to accomplish this? (Choose three.) A. action
What is a capability of the <ltng:require> tag that is used for loading external Javascript libraries in Lightning Component? (Choose three.)
What are two valid options for iterating through each Account in the collection List<Account> named AccountList? (Choose two.)
Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?
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 two.)
Which approach should be used to provide test data for a test class?
A developer encounters APEX heap limit errors in a trigger. Which two methods should the developer use to avoid this error? (Choose two.)
Which approach should a developer take to automatically add a `Maintenance Plan` to each Opportunity that includes an `Annual Subscription` when an opportunity is closed?
What are two benefits of the Lightning Component framework? (Choose two.)
When viewing a Quote, the sales representative wants to easily see how many discounted items are included in the Quote Line Items. What should a developer do to meet this requirement?
Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)

Veja também: