🌱 AWS Elastic Beanstalk - DVA-C02 Practice Questions

Deploy and manage applications with Elastic Beanstalk — platforms, environments, deployment policies (all-at-once, rolling, immutable, blue/green), .ebextensions, and environment configuration.

9Questions Available
2Exam Domains

Practice Elastic Beanstalk Questions Now

Start a timed practice session focusing on AWS Elastic Beanstalk topics from the DVA-C02 question bank.

Start DVA-C02 Practice Quiz →

DVA-C02 Elastic Beanstalk Question Bank (9 Questions)

Browse all 9 practice questions covering AWS Elastic Beanstalk for the DVA-C02 certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.

  1. Question 1Deployment

    A company uses AWS Elastic Beanstalk to deploy their Node.js application. They want to deploy a new version by bringing up a new environment with the latest version while keeping the current environment live until validation completes. Which deployment policy achieves this?

    ARolling
    BRolling with additional batch
    CImmutable
    DBlue/Green

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  2. Question 2Deployment

    An Elastic Beanstalk environment configuration file in .ebextensions defines container commands. When do container commands run during deployment?

    ABefore the application source is extracted
    BAfter the application source is extracted but before the application server starts
    CAfter the application server starts
    DDuring the health check phase

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  3. Question 3Deployment

    An Elastic Beanstalk application needs to run a worker process that periodically pulls tasks from an SQS queue. Which environment tier should be used?

    AWeb server tier
    BWorker tier
    CMulti-container Docker tier
    DSingle-instance tier

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  4. Question 4Deployment

    A developer uses Elastic Beanstalk with a load-balanced environment. During a 'Rolling with additional batch' deployment, what is the benefit over 'Rolling'?

    AIt uses blue/green switching for zero downtime
    BIt maintains full capacity during the deployment by adding a temporary batch of instances
    CIt deploys to all instances simultaneously
    DIt uses immutable instances for each batch

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  5. Question 5Deployment

    A developer uses AWS Elastic Beanstalk and wants to deploy a new version without any downtime and with the ability to roll back instantly. Which deployment policy should they use?

    AAll at once
    BRolling
    CRolling with additional batch
    DImmutable

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  6. Question 6Deployment

    An Elastic Beanstalk application version is stored in S3. A developer wants to deploy it to a staging environment before production. What is the recommended approach?

    ADeploy to production directly, then clone to staging
    BCreate separate Elastic Beanstalk environments for staging and production, deploy the same version to staging first
    CUse Elastic Beanstalk rolling deployments with half instances for staging
    DUse a single environment with feature flags

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  7. Question 7Deployment

    A developer uses Elastic Beanstalk Blue/Green deployment. What is the mechanism for traffic switching?

    ACodeDeploy switches traffic gradually
    BRoute 53 CNAME swap or Elastic Beanstalk 'Swap Environment URLs'
    CALB listener rule update
    DCloudFront distribution update

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  8. Question 8Deployment

    A developer uses Elastic Beanstalk and wants to configure environment variables that are specific to the production environment and not stored in source code. How?

    AAdd them to the .ebextensions config files in the repository
    BSet them via the Elastic Beanstalk console, CLI (eb setenv), or environment configuration
    CStore them in the Procfile
    DAdd them to the Dockerfile

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz
  9. Question 9Deployment

    A developer wants to use an existing VPC when deploying an Elastic Beanstalk environment. How is this configured?

    AVPC IDs cannot be used with Elastic Beanstalk
    BConfigure the VPC, subnets, and security groups in the Elastic Beanstalk environment settings during creation
    CUse .ebextensions to set the VPC ID
    DUse CloudFormation to create the VPC first, then Elastic Beanstalk uses it automatically

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start DVA-C02 Quiz

Key Elastic Beanstalk Concepts for DVA-C02

elastic beanstalkebplatformenvironmentdeployment policyebextensionsrollingimmutableblue/greenworker

DVA-C02 Elastic Beanstalk Exam Tips

AWS Elastic Beanstalk questions in DVA-C02 are typically scenario-based. Focus on application development patterns, event-driven integration, and secure coding on AWS. Priority concepts: elastic beanstalk, eb, platform, environment, deployment policy, ebextensions.

What DVA-C02 Expects

  • Anchor your answer in select developer-friendly managed services and patterns that minimize custom undifferentiated code.
  • Elastic Beanstalk scenarios for DVA-C02 are frequently mapped to Domain 3 (24%), Domain 4 (18%), so read the objective carefully before picking controls or architecture.
  • Expect multi-topic scenarios where Elastic Beanstalk interacts with IAM, networking, storage, or observability patterns rather than appearing as an isolated question.
  • When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Associate) and vendor best practices.

High-Value Elastic Beanstalk Concepts

  • Know the core Elastic Beanstalk building blocks cold: elastic beanstalk, eb, platform, environment.
  • Review the edge-case features and limits for deployment policy, ebextensions; these details are commonly used to differentiate answer choices.
  • Practice service-integration reasoning: how Elastic Beanstalk pairs with CloudFormation, CodeDeploy, EC2 in real deployment patterns.
  • For DVA-C02, explain why the chosen Elastic Beanstalk design meets reliability, security, and cost expectations better than the alternatives.

Common DVA-C02 Traps

  • Watch for using infrastructure-centric answers instead of application-centric ones.
  • Questions in Deployment often include distractors that look correct for Elastic Beanstalk but violate least-privilege, durability, or availability requirements.
  • Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
  • If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.

Fast Review Checklist

  • Can you compare at least two Elastic Beanstalk implementation paths and justify which one best fits the scenario?
  • Can you map the chosen answer back to Deployment (24%) outcomes for DVA-C02?
  • Can you explain security and access boundaries for Elastic Beanstalk without relying on default-open assumptions?
  • Can you describe how Elastic Beanstalk integrates with CloudFormation and CodeDeploy during failure, scaling, and monitoring events?

Exam Domains Covering Elastic Beanstalk

Related Resources

More DVA-C02 Study Resources