A Salesforce Administrator used Flow Builder to create a flow named ''accountOnboarding''. The flow must be used inside an Aura component.
Which tag should a developer use to display the flow in the component?
Correct Answer: C
The developer should use the Lightning:flow tag to display the flow in the Aura component. The Lightning:flow tag is a base Lightning component that allows you to embed a flow in an Aura component and interact with it programmatically. The Lightning:flow tag has attributes that let you specify the name of the flow, pass input values to the flow, handle the flow status change event, and control the flow navigation. The Lightning:flow tag supports only screen flows and autolaunched flows.
The other options are not valid tags for displaying a flow in an Aura component. There is no such tag as Lightning-flow or Aura:flow. The aura:component tag is the root tag of the Aura component hierarchy, but it does not display a flow by itself.
References: lightning:flow - documentation, Use Aura Components with Flows, Prepare for Your Salesforce Platform Developer I Credential