nerdexam
SalesforceSalesforce

PDI · Question #209

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

The correct answer is A: Renclerer. In an Aura component, JavaScript functions can be defined and executed within the Controller, Helper, and Renderer resources to manage component logic, utility functions, and rendering lifecycle.

Submitted by minji_kr· Apr 18, 2026User Interface

Question

Which three resources in an Aura component can contain JavaScript functions? Choose 3 answers

Options

  • ARenclerer
  • BStyle
  • CHelper
  • DController
  • EDesign

Explanation

In an Aura component, JavaScript functions can be defined and executed within the Controller, Helper, and Renderer resources to manage component logic, utility functions, and rendering lifecycle.

Common mistakes.

  • B. The Style resource (.css file) defines CSS styles for a component's appearance and does not contain JavaScript functions.
  • E. The Design resource (.design) file defines attributes that can be exposed in the Lightning App Builder or Community Builder for declarative configuration, but it does not contain JavaScript functions.

Concept tested. Aura component client-side resources and JavaScript

Reference. https://developer.salesforce.com/docs/component-library/documentation/en/aura/js_controller_helper_renderer

Topics

#Aura Components#JavaScript#Component Structure#Client-side Logic

Community Discussion

No community discussion yet for this question.

Full PDI PracticeBrowse All PDI Questions