โ† All CompTIA Cloud+ Flashcard Decks

Troubleshooting Cloud Deployments Flashcards

6 cards from real CompTIA Cloud+ practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 6 Troubleshooting Cloud Deployments flashcards as text
  1. A DevOps engineer used a CI/CD pipeline to deploy a new version of a containerized application. Immediately after the deployment finishes, monitoring alerts indicate that users are receiving "503 Service Unavailable" errors. Which of the following is the MOST appropriate first step for the engineer to take to diagnose the problem?

    Answer: Check the health check status and deployment logs of the new application containers.

    The most direct and immediate source of information about a failed deployment is the application's own logs and the orchestration platform's status reports (e.g., Kubernetes pod events, ECS service events). These will indicate if the container failed to start, is in a crash loop, or is failing its health checks, which is the most likely cause of a 503 error immediately after a new deployment.

  2. An automated deployment script, running from a CI/CD server, fails when attempting to create a new cloud storage bucket. The error message returned by the cloud provider's API is "AccessDenied". The same script was able to successfully provision virtual machines just moments before this failure. What is the MOST likely cause of this error?

    Answer: The IAM role assigned to the CI/CD server lacks the specific permission to create storage buckets.

    The "AccessDenied" error is a clear indicator of an Identity and Access Management (IAM) permissions issue. It means the authentication was successful, but the authenticated principal (the CI/CD server's role) is not authorized to perform the requested action. While it has permissions for some actions (creating VMs), it specifically lacks the permission required for creating storage buckets (e.g., `s3:CreateBucket`).

  3. An administrator deploys a two-tier application with a web server in a public subnet and a database server in a private subnet within the same VPC. The web server is accessible from the internet, but it cannot connect to the database server. A connectivity test using the database server's private IP address and port number from the web server times out. Which of the following is the MOST likely misconfiguration?

    Answer: The security group for the database server does not have an inbound rule allowing traffic from the web server.

    Security groups act as stateful firewalls at the instance level. A common deployment error is failing to configure the database server's security group to allow inbound traffic on the database port from the web server's security group or private IP. This is the most direct control for inter-instance communication within a VPC.

  4. A deployment script designed to provision a large-scale data processing cluster fails consistently. The script successfully creates the first 20 virtual machines but then stops with a "LimitExceeded" error. The administrator verifies that the account has a sufficient spending budget and the IAM permissions are correct. What is the MOST appropriate action to resolve this issue?

    Answer: Submit a request to the cloud provider to increase the service quota for that VM type.

    Cloud providers impose default service quotas (or limits) on the number of resources an account can create in a given region to ensure availability and prevent abuse. A "LimitExceeded" or "QuotaExceeded" error indicates this soft limit has been reached. The standard procedure is to contact the cloud provider through their support channels to request an increase for the specific resource in that region.

  5. An application that worked perfectly in the quality assurance (QA) environment fails to start after being deployed to production. The error log indicates a missing library file. An investigation reveals that the production servers were built from a base OS image that was one minor version older than the image used in QA. Which of the following provides the BEST long-term solution to prevent this type of configuration drift?

    Answer: Implementing Infrastructure as Code (IaC) to define and version-control all environments.

    This scenario is a classic example of configuration drift, where environments that are supposed to be identical diverge over time. Infrastructure as Code (IaC) tools (e.g., Terraform, CloudFormation) solve this problem by defining infrastructure in version-controlled, executable code. This allows for the consistent, repeatable, and automated creation of identical environments, eliminating drift between QA and production.

  6. A cloud administrator is troubleshooting an intermittent performance issue in a multi-tier application. Users report that some requests are extremely slow, but others are fast. To diagnose the problem, the administrator needs to visualize the entire lifecycle of a single slow user request as it travels through the front-end web server, an authentication microservice, and a backend API. Which of the following observability tools is specifically designed for this purpose?

    Answer: A distributed tracing system

    A distributed tracing system (like AWS X-Ray or Jaeger) is designed to trace the path of a single request across multiple services. It assigns a unique trace ID to the request, allowing engineers to see how long it spent in each service, identify latency bottlenecks, and pinpoint the exact component causing the slowdown, which is ideal for troubleshooting complex microservice architectures.