Salesforce CRT-450 Exam Practice Questions (P. 2)
- Full Access (440 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #11
Detail relationship to a timecard.
Which approach should the developer use to accomplish this declaratively?
- AA Visualforce page that calculates the total number of hours for a timecard and displays it on the pageMost Voted
- BA Roll-Up Summary field on the Timecard Object that calculates the total hours from timecard entries for that timecard
- CA Process Builder process that updates a field on the timecard when a timecard entry is created
- DAn Apex trigger that uses an Aggregate Query to calculate the hours for a given timecard and stores it in a custom field
B

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #12
Which two methods should the developer use to avoid this error? (Choose two.)
- AUse the transient keyword when declaring variables.
- BQuery and store fields from the related object in a collection when updating related objects.
- CRemove or set collections to null after use.Most Voted
- DUse SOQL for loops instead of assigning large queries results to a single collection and looping through the collection.Most Voted
AD

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #13
- AQuery for existing records in the database.
- BExecute anonymous code blocks that create data.
- CUse a test data factory class to create test data.Most Voted
- DAccess data in @TestVisible class variables.
C

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #14
- ABuild a OpportunityLineItem trigger that adds a PriceBookEntry record.
- BBuild an OpportunityLineItem trigger to add an OpportunityLineItem record.
- CBuild an Opportunity trigger that adds a PriceBookEntry record.
- DBuild an Opportunity trigger that adds an OpportunityLineItem record.Most Voted
D

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #15
- AThe @testSetup annotation cannot be used when the @isTest(SeeAllData=True) annotation is used.Most Voted
- BTest data is inserted once for all test methods in a class.Most Voted
- CRecords created in the @testSetup method cannot be updates in individual test methods.
- DThe @testSetup method is automatically executed before each test method in the test class is executed.
AD

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #16
- AAny top-level Apex class that has a constructor that returns a PageReference
- BAny top-level Apex class that extends a PageReference
- CAny top-level Apex class that has a default, no-argument constructorMost Voted
- DAny top-level Apex class that implements the controller interface
D

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #17
The Visualforce page should include which <apex:page> attribute(s) to correctly implement controller functionality?
- Acontroller=ג€Caseג€ and extensions=ג€myControllerExtensionג€
- Bextensions=ג€myControllerExtensionג€
- Ccontroller=ג€myControllerExtensionג€
- DstandardController=ג€Caseג€ and extensions=ג€myControllerExtensionג€Most Voted
D

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #18
What should the developer consider when working with triggers?
- ADevelopers must dictate the order of trigger execution.
- BTrigger execution order is based on creation date and time.
- CUnit tests must specify the trigger being tested.
- DTrigger execution order is not guaranteed for the same sObject.Most Voted
D

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #19
- AUse a ג€one trigger per objectג€ pattern.
- BUse a static Boolean variable.
- CUse a trigger handler.
- DUse a private Boolean variable.
B

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
Question #20
- AGenerate a link using the HYPERLINK function to a specific record.Most Voted
- BDisplay the previous value for a field using the PRIORVALUE function.
- CDetermine if a datetime field value has passed using the NOW function.Most Voted
- DReturn and display a field value from another object using the VLOOKUP function.
- EDetermine which of three different images to display using the IF function.Most Voted
ACE

Hi! Do you need help with this question ?
- Why isn't the A the right answer?
- Traducir la pregunta al español
Contributor get free access to an augmented ChatGPT 4 trained with the latest IT Questions.
All Pages