Courseiva
Deployment →mediumMultiple Choice

DVA-C02 Deployment Practice Question

A company uses AWS Elastic Beanstalk to deploy a web application. The deployment is successful, but the application health checks fail. The application runs on a single EC2 instance. What should a developer do to troubleshoot this issue?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

View the application logs in the Elastic Beanstalk console.

Viewing the application logs in the Elastic Beanstalk console helps identify why the application is not responding to health checks. Logs can reveal application errors, missing dependencies, or configuration issues. Option D is wrong because SSH may not be configured for the instance, and restarting the web server without understanding the root cause may not resolve the issue. Option B is incorrect because modifying the CloudFormation template to increase instance size does not address health check failures. Option C is incorrect because adding an Application Load Balancer does not fix underlying application problems.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    View the application logs in the Elastic Beanstalk console.

    Why this is correct

    The Elastic Beanstalk console aggregates application, web server, and deployment logs (full or tail) in one place, letting the developer see stack traces, startup errors, or misconfigured health check paths that are the actual root cause of a failing health check.

  • ✗

    Modify the CloudFormation template to increase instance size.

    Why it's wrong here

    Resizing the instance type addresses a resource-capacity problem, but a failed health check is almost always caused by an application error, misconfigured listener path, or crashed process — none of which are resolved by giving the instance more CPU or memory.

  • ✗

    Add an Application Load Balancer to the environment.

    Why it's wrong here

    A single-instance Elastic Beanstalk environment intentionally omits a load balancer to reduce cost; adding an ALB changes the environment type and traffic routing but does nothing to diagnose why the application itself is failing its health check.

  • ✗

    SSH into the EC2 instance and restart the web server.

    Why it's wrong here

    SSH access requires a pre-configured key pair and open port 22 in the security group, which may not be set up for this environment, and even if available, manually restarting the process only masks the symptom without revealing the underlying cause shown in logs.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

About these practice questions

This DVA-C02 question is part of Courseiva's 1,135-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DVA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DVA-C02 exam.