5.
In a Next.js project, which file is responsible for rendering the component at the directory's root?
index.js
Root.js
App.js
home.js
Correct: A
The index.js file is responsible for rendering the component at the directory's root in a Next.js project. This file serves as the entry point for the application and is where you define the routes and render the desired component.