nerdexam
SalesforceSalesforce

PDI · Question #142

PDI Question #142: Real Exam Question with Answer & Explanation

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

Submitted by anjalisingh· Apr 18, 2026User Interface

Question

A developer created a child Lightning web component nested inside a parent Lightning web component, parent component needs to pass a string value to the child component. In which two ways can this be accomplished? Choose 2 answers

Options

  • AThe parent component can use a custom event to pass the data to the child component,
  • BThe parent component can use the Apex controller class to send data to the child component.
  • CThe parent component can invoke a method in the child component
  • DThe parent component can use a public property to pass the data to the child component.

Unlock PDI to see the answer

You've previewed enough free PDI questions. Unlock PDI 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.

Topics

#Lightning Web Components (LWC)#Component Communication#Public Properties#Custom Events
Full PDI PracticeBrowse All PDI Questions