nerdexam
Salesforce

CRT-450 · Question #6

CRT-450 Question #6: Real Exam Question with Answer & Explanation

Sign in or unlock CRT-450 to reveal the answer and full explanation for question #6. The question stem and answer options stay visible for context.

Question

A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default } | Opportunity record type, and set certain default values based on the record type before inserting the record. How can the developer find the current user's default record type? ns

Options

  • AQuery the Profile where the ID equals userInfo.getProfileID() and then use the
  • BUse Opportunity. SObjectType.getDescribe().getRecordTypelnfos() to get a list of record types,
  • CUse the Schema.userlnfo.Opportunity.getDefaultRecordType() method. < Create the opportunity

Unlock CRT-450 to see the answer

You've previewed enough free CRT-450 questions. Unlock CRT-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full CRT-450 Practice