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 does 'separation of concerns' mean in application deployment?
Open an interactive chat with Bash
Why is it important to isolate configuration files in a `/config` directory?
Open an interactive chat with Bash
Why is the `/public` directory recommended for static front-end resources?
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
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .