Salesforce CRT-450 Exam Practice Questions (P. 1)
- 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 #1
Which statement results in an Apex compiler error?
- AMap<Id,Leas> lmap = new Map<Id,Lead>([Select ID from Lead Limit 8]);
- BDate d1 = Date.Today(), d2 = Date.ValueOf('2018-01-01');
- CInteger a=5, b=6, c, d = 7;
- DList<string> s = List<string>{'a','b','c');Most Voted
Correct Answer:
D
D
send
light_mode
delete
Question #2
What are two benefits of the Lightning Component framework? (Choose two.)
- AIt simplifies complexity when building pages, but not applications.
- BIt provides an event-driven architecture for better decoupling between components.Most Voted
- CIt promotes faster development using out-of-box components that are suitable for desktop and mobile devices.Most Voted
- DIt allows faster PDF generation with Lightning components.
Correct Answer:
BC
BC
send
light_mode
delete
Question #3
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?
What should the developer do to determine which object type (Account, Lead, or Contact, for example) to cast each sObject?
- AUse the first three characters of the sObject ID to determine the sObject type.
- BUse the getSObjectType method on each generic sObject to retrieve the sObject token.Most Voted
- CUse the getSObjectName method on the sObject class to get the sObject name.
- DUse a try-catch construct to cast the sObject into one of the three sObject types.
Correct Answer:
B
B
send
light_mode
delete
Question #4
What should a developer use to implement an automatic Approval Process submission for Cases?
- AAn Assignment Rule
- BScheduled Apex
- CProcess BuilderMost Voted
- DA Workflow Rule
Correct Answer:
C
C
send
light_mode
delete
Question #5
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?
What should a developer do to meet this requirement?
- ACreate a trigger on the Quote object that queries the Quantity field on discounted Quote Line Items.
- BCreate a Workflow Rule on the Quote Line Item object that updates a field on the parent Quote when the item is discounted.
- CCreate a roll-up summary field on the Quote object that performs a SUM on the quote Line Item Quantity field, filtered for only discounted Quote Line Items.
- DCreate a formula field on the Quote object that performs a SUM on the Quote Line Item Quantity field, filtered for only discounted Quote Line Items.
Correct Answer:
C
C
send
light_mode
delete
Question #6
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?
Which method allows access to the price book?
- AUse Test.getStandardPricebookId() to get the standard price book ID.Most Voted
- BUse @IsTest(SeeAllData=true) and delete the existing standard price book.
- CUse Test.loadData() and a Static Resource to load a standard price book.
- DUse @TestVisible to allow the test method to see the standard price book.
Correct Answer:
A
A
send
light_mode
delete
Question #7
Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)
send
light_mode
delete
Question #8
Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?
- APerformance Tree tab under Stack Tree panel
- BExecution Tree tab under Stack Tree panel
- CTimeline tab under Execution Overview panelMost Voted
- DSave Order tab under Execution Overview panel
Correct Answer:
C
C
send
light_mode
delete
Question #9
Which two platform features align to the Controller portion of MVC architecture? (Choose two.)
- AProcess Builder actionsMost Voted
- BWorkflow rulesMost Voted
- CStandard objects
- DDate fields
Correct Answer:
AB
AB
send
light_mode
delete
Question #10
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 two environments meet the requirements for testing? (Choose two.)
- ADeveloper Sandbox
- BFull SandboxMost Voted
- CDeveloper Edition
- DPartial SandboxMost Voted
- EDeveloper Pro Sandbox
Correct Answer:
BD
BD
send
light_mode
delete
All Pages