nerdexam
Salesforce

CRT-450 · Question #123

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

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

Question

Given the following code snippet, that is part of a custom controller for a Visualforce page: In which two ways can the try/catch be enclosed to enforce object and field-level permissions and prevent the DML statement from being executed if the current logged-in user does not have the appropriate level of access? Choose 2 answers

Exhibit

CRT-450 question #123 exhibit

Options

  • AUse if (Schema, sobjectType, Contact, isUpdatable ( ) )
  • BUse if (Schema , sobjectType. Contact. Field, Is_Active_c. is Updateable ( ) )
  • CUse if (Schema.sObjectType.Contact.isAccessible ( ) )
  • DUse if (thisContact.Owner = = UserInfo.getuserId ( ) )

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