Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
 

Salesforce CRT-450 Exam Actual Questions

The questions for CRT-450 were last updated on Oct. 26, 2024.
  • Viewing page 1 out of 44 pages.
  • Viewing questions 1-10 out of 439 questions

Topic 1 - Single Topic

Question #1 Topic 1

Which statement results in an Apex compiler error?

  • A. Map<Id,Leas> lmap = new Map<Id,Lead>([Select ID from Lead Limit 8]);
  • B. Date d1 = Date.Today(), d2 = Date.ValueOf('2018-01-01');
  • C. Integer a=5, b=6, c, d = 7;
  • D. List<string> s = List<string>{'a','b','c');
Reveal Solution Hide Solution   Discussion   10

Correct Answer: D 🗳️

Question #2 Topic 1

What are two benefits of the Lightning Component framework? (Choose two.)

  • A. It simplifies complexity when building pages, but not applications.
  • B. It provides an event-driven architecture for better decoupling between components.
  • C. It promotes faster development using out-of-box components that are suitable for desktop and mobile devices.
  • D. It allows faster PDF generation with Lightning components.
Reveal Solution Hide Solution   Discussion   3

Correct Answer: BC 🗳️

Question #3 Topic 1

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. Use the first three characters of the sObject ID to determine the sObject type.
  • B. Use the getSObjectType method on each generic sObject to retrieve the sObject token.
  • C. Use the getSObjectName method on the sObject class to get the sObject name.
  • D. Use a try-catch construct to cast the sObject into one of the three sObject types.
Reveal Solution Hide Solution   Discussion   7

Correct Answer: B 🗳️

Question #4 Topic 1

What should a developer use to implement an automatic Approval Process submission for Cases?

  • A. An Assignment Rule
  • B. Scheduled Apex
  • C. Process Builder
  • D. A Workflow Rule
Reveal Solution Hide Solution   Discussion   1

Correct Answer: C 🗳️

Question #5 Topic 1

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?

  • A. Create a trigger on the Quote object that queries the Quantity field on discounted Quote Line Items.
  • B. Create a Workflow Rule on the Quote Line Item object that updates a field on the parent Quote when the item is discounted.
  • C. Create 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.
  • D. Create 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.
Reveal Solution Hide Solution   Discussion   4

Correct Answer: C 🗳️

Question #6 Topic 1

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?

  • 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.
Reveal Solution Hide Solution   Discussion   11

Correct Answer: A 🗳️

Question #7 Topic 1

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
Reveal Solution Hide Solution   Discussion   13

Correct Answer: BD 🗳️

Question #8 Topic 1

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
Reveal Solution Hide Solution   Discussion   2

Correct Answer: C 🗳️

Question #9 Topic 1

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
Reveal Solution Hide Solution   Discussion   3

Correct Answer: AB 🗳️

Question #10 Topic 1

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.)

  • A. Developer Sandbox
  • B. Full Sandbox
  • C. Developer Edition
  • D. Partial Sandbox
  • E. Developer Pro Sandbox
Reveal Solution Hide Solution   Discussion   3

Correct Answer: BD 🗳️

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...