Salesforce CRT-450 - Salesforce Certified Platform Developer I Exam
Page: 2 / 88
Total 439 questions
Question #6 (Topic: Single Topic)
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?
A. Use Test.getStandardPricebookId() to get the standard price book ID.
B. Use @IsTest(SeeAllData=true) and delete the existing standard price book.
C. Use Test.loadData() and a Static Resource to load a standard price book.
D. Use @TestVisible to allow the test method to see the standard price book.
Answer: A
Question #7 (Topic: Single Topic)
Which two Apex data types can be used to reference a Salesforce record ID dynamically? (Choose two.)
A. ENUM
B. sObject
C. External ID
D. String
Answer: BD
Question #8 (Topic: Single Topic)
Where can a developer identify the time taken by each process in a transaction using Developer Console log inspector?
A. Performance Tree tab under Stack Tree panel
B. Execution Tree tab under Stack Tree panel
C. Timeline tab under Execution Overview panel
D. Save Order tab under Execution Overview panel
Answer: C
Question #9 (Topic: Single Topic)
Which two platform features align to the Controller portion of MVC architecture? (Choose two.)
A. Process Builder actions
B. Workflow rules
C. Standard objects
D. Date fields
Answer: AB
Question #10 (Topic: Single Topic)
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.)
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.)
A. Developer Sandbox
B. Full Sandbox
C. Developer Edition
D. Partial Sandbox
E. Developer Pro Sandbox
Answer: BD