AWS Certified Developer Associate DVA-C02 Practice Question
A team is deploying a web application on AWS and needs to structure the application files and directories in a way that ensures easy artifact packaging for deployment. The application consists of a front-end built with JavaScript, a back-end using Node.js, and several configuration files. Which of the following directory structures aligns best with deployment best practices for separating concerns and simplifying artifact creation?
The correct answer results in a clear separation of concerns between front-end, back-end, and configuration files. This separation allows easier updates, maintenance, and deployment of different parts of the application independently. The front-end resources are static and should be placed in their directory (e.g., /public), while the back-end code has its directory (e.g., /src). Configuration files are best kept in a separate directory (e.g., /config), enhancing security and manageability. In contrast, other given structures either mix these concerns or don't establish clear differentiation between parts of the application.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are some best practices for structuring application files in a web application?
Open an interactive chat with Bash
Why is it important to separate concerns in an application structure?
Open an interactive chat with Bash
How do configuration files impact the deployment of an application?
Open an interactive chat with Bash
AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Oh snap!
Loading...
Loading...
Loading...
Information Technology Package Join Premium for Full Access