nerdexam
Salesforce

PDII · Question #188

PDII Question #188: Real Exam Question with Answer & Explanation

Sign in or unlock PDII to reveal the answer and full explanation for question #188. The question stem and answer options stay visible for context.

Question

A developer is developing a reuseable Aura Component that will reside on an sObject Lightning Page with the following HTML snippet: How can the component's Controller get the context of the Lightning Page that the sObject is on without requiring additional test coverage?

Options

  • AUse the getSObjectType() method in an Apex class
  • BCreate a design attribute and configure via App builder
  • CSet the sObject type as a component attribute
  • DAdd force:hasSobjectName to the implements

Unlock PDII to see the answer

You've previewed enough free PDII questions. Unlock PDII 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 PDII Practice
A developer is developing a reuseable Aura Component that will... | PDII Q#188 Answer | NerdExam