CompTIA CV0-004 (CompTIA Cloud+) Practice Test 50

Question 490

An API should page on sustained elevated error rate rather than one isolated 500 response. The operations team considers Actionable alert threshold. Which explanation describes its function?

  1. Structured fields and shared request IDs enable consistent filtering and cross-service event correlation.
  2. An alert rule evaluates selected signals against a meaningful threshold or condition and triggers a response.
  3. Central collection gathers events from distributed applications and infrastructure into a searchable analysis location.
  4. Tail-latency percentiles reveal the experience of slower requests hidden by mean response time.

Explanation

Correct Answer

B:

This applies to the situation in which an API should page on sustained elevated error rate rather than one isolated 500 response, by describing the distinctive operation of Actionable alert threshold; the operational boundary is that thresholds must avoid transient noise and should reflect service impact.

Incorrect Answers

A:

That description belongs to Structured logging and correlation IDs, which solves a different need; it does not describe Actionable alert threshold for the case in which an API should page on sustained elevated error rate rather than one isolated 500 response. A limitation of that alternative, distinct from Actionable alert threshold, is that unstructured messages without identifiers make distributed troubleshooting harder.

C:

That description belongs to Centralized log collection, which solves a different need; it does not describe Actionable alert threshold for the case in which an API should page on sustained elevated error rate rather than one isolated 500 response. A limitation of that alternative, distinct from Actionable alert threshold, is that it requires appropriate permissions, timestamps and consistent ingestion coverage.

D:

That description belongs to High-percentile latency monitoring, which solves a different need; it does not describe Actionable alert threshold for the case in which an API should page on sustained elevated error rate rather than one isolated 500 response. A limitation of that alternative, distinct from Actionable alert threshold, is that enough samples and appropriate aggregation are needed for meaningful percentiles.

Question 491

A rollout should pause when 5xx errors exceed the accepted threshold. The team adopts Health-gated rollout. Which practical constraint remains important?

  1. Rollback may be slower or riskier than switching to an untouched parallel environment.
  2. Parallel capacity costs more and data schema changes must be compatible.
  3. Monitoring and traffic segmentation are required to judge the small cohort.
  4. Passing a build alone does not show the new service serves traffic successfully.

Explanation

Correct Answer

D:

This is the limitation specific to Health-gated rollout in a situation where a rollout should pause when 5xx errors exceed the accepted threshold; its underlying operation is that a rollout gate waits for functional or health criteria before advancing deployment to further instances.

Incorrect Answers

A:

This qualification applies instead to In-place deployment: in-place updates modify the currently deployed application or host directly; it does not identify the defining limitation of Health-gated rollout when a rollout should pause when 5xx errors exceed the accepted threshold.

B:

This qualification applies instead to Blue-green deployment: blue-green keeps two production-capable environments and switches traffic between versions for rapid rollback; it does not identify the defining limitation of Health-gated rollout when a rollout should pause when 5xx errors exceed the accepted threshold.

C:

This qualification applies instead to Canary deployment: canary releases direct a small fraction of real traffic to the new version before expanding exposure; it does not identify the defining limitation of Health-gated rollout when a rollout should pause when 5xx errors exceed the accepted threshold.

Question 492

A template expects a list of subnets instead of one comma-delimited string. Which implementation approach is appropriate?

  1. Correct scripting data type
  2. Version-controlled infrastructure definitions
  3. Infrastructure policy and validation tests
  4. Infrastructure state locking

Explanation

Correct Answer

A:

When a template expects a list of subnets instead of one comma-delimited string, selecting numbers, strings, booleans or collections correctly prevents malformed parameters and comparisons; the corresponding design boundary is that implicit coercion can lead to unintended conditions in provisioning logic.

Incorrect Answers

B:

For the situation where a template expects a list of subnets instead of one comma-delimited string, choosing this would miss the central need for correct scripting data type, because version control records code history and supports reviewed changes and rollback of configuration sources; note that reverting a commit is not necessarily sufficient to undo every destructive infrastructure change.

C:

The situation in which a template expects a list of subnets instead of one comma-delimited string needs correct scripting data type; in contrast, automated validation can reject malformed or noncompliant infrastructure before applying changes, with the additional constraint that static checks do not replace runtime behavior testing and access review.

D:

Although state locking prevents concurrent infrastructure operations from racing to modify the same managed state, this does not replace correct scripting data type in a case where a template expects a list of subnets instead of one comma-delimited string; moreover, state storage still needs encryption, access control and backups.

Question 493

A service owner applies a supported maintenance update after verifying compatibility. The operations team considers Minor-version maintenance. Which explanation describes its function?

  1. Major updates can change interfaces and compatibility and therefore need focused regression and rollback planning.
  2. Minor updates generally introduce incremental fixes or functionality within a product's supported release line.
  3. Updates should be tested in representative nonproduction environments before broad rollout when risk warrants.
  4. Persistent data requires explicit retention, migration and protection when compute is replaced or decommissioned.

Explanation

Correct Answer

B:

This applies to the situation in which a service owner applies a supported maintenance update after verifying compatibility, by describing the distinctive operation of Minor-version maintenance; the operational boundary is that release notes and regression testing remain appropriate despite smaller scope.

Incorrect Answers

A:

That description belongs to Major-version upgrade testing, which solves a different need; it does not describe Minor-version maintenance for the case in which a service owner applies a supported maintenance update after verifying compatibility. A limitation of that alternative, distinct from Minor-version maintenance, is that a major version jump is not equivalent to a routine security hotfix.

C:

That description belongs to Patch validation staging, which solves a different need; it does not describe Minor-version maintenance for the case in which a service owner applies a supported maintenance update after verifying compatibility. A limitation of that alternative, distinct from Minor-version maintenance, is that a passing unit test alone may not cover real dependency behavior.

D:

That description belongs to Persistent data life-cycle management, which solves a different need; it does not describe Minor-version maintenance for the case in which a service owner applies a supported maintenance update after verifying compatibility. A limitation of that alternative, distinct from Minor-version maintenance, is that deleting a compute resource must not inadvertently erase required records.

Question 494

A deployment needs a traceable compiled package for reproducible rollback. The team selects Immutable build artifact. Which statement best explains this DevOps capability?

  1. Continuous delivery prepares tested releases for deployment, often with an explicit approval before production.
  2. CI automatically builds and tests changes frequently as developers integrate them into shared code.
  3. Continuous deployment automatically releases changes that pass required pipeline gates into production.
  4. An immutable versioned artifact ensures the same tested binary, image or package is promoted between environments.

Explanation

Correct Answer

D:

This applies to the situation in which a deployment needs a traceable compiled package for reproducible rollback, by describing the distinctive operation of Immutable build artifact; the operational boundary is that rebuilding independently in production can create version drift.

Incorrect Answers

A:

That description belongs to Continuous delivery gate, which solves a different need; it does not describe Immutable build artifact for the case in which a deployment needs a traceable compiled package for reproducible rollback. A limitation of that alternative, distinct from Immutable build artifact, is that delivery readiness differs from automatically deploying every change without approval.

B:

That description belongs to Continuous integration (CI), which solves a different need; it does not describe Immutable build artifact for the case in which a deployment needs a traceable compiled package for reproducible rollback. A limitation of that alternative, distinct from Immutable build artifact, is that a green build does not prove production readiness or security by itself.

C:

That description belongs to Continuous deployment, which solves a different need; it does not describe Immutable build artifact for the case in which a deployment needs a traceable compiled package for reproducible rollback. A limitation of that alternative, distinct from Immutable build artifact, is that appropriate automated quality and security gates are essential when there is no routine manual release step.

Question 495

A product update should reach inventory, search indexing and recommendation processors. An architect proposes Fan-out messaging pattern. Which statement accurately describes its role?

  1. Asynchronous queues or events can decouple services so producers need not wait for consumers.
  2. Microservices divide functionality into independently deployable services with defined APIs.
  3. Fan-out delivers one event to multiple independent consumers for separate processing.
  4. Service discovery resolves current endpoint locations of dynamically scheduled service instances.

Explanation

Correct Answer

C:

This applies to the situation in which a product update should reach inventory, search indexing and recommendation processors, by describing the distinctive operation of Fan-out messaging pattern; the operational boundary is that delivery semantics and subscriber failures must be managed per consumer.

Incorrect Answers

A:

That description belongs to Loosely coupled messaging, which solves a different need; it does not describe Fan-out messaging pattern for the case in which a product update should reach inventory, search indexing and recommendation processors. A limitation of that alternative, distinct from Fan-out messaging pattern, is that consumers still need retries, idempotency and failure handling.

B:

That description belongs to Microservices decomposition, which solves a different need; it does not describe Fan-out messaging pattern for the case in which a product update should reach inventory, search indexing and recommendation processors. A limitation of that alternative, distinct from Fan-out messaging pattern, is that distributed calls add observability and operational complexity.

D:

That description belongs to Service discovery, which solves a different need; it does not describe Fan-out messaging pattern for the case in which a product update should reach inventory, search indexing and recommendation processors. A limitation of that alternative, distinct from Fan-out messaging pattern, is that discovery does not grant access or guarantee that an unhealthy endpoint is usable.

Question 496

A cloud image family has stopped receiving updates and cannot remain a production baseline. Operations plans around End-of-support remediation. Which limitation should be considered?

  1. Deleting a compute resource must not inadvertently erase required records.
  2. Keeping it running unchanged increases exposure despite apparent availability.
  3. It must be coordinated with reboot and application testing requirements.
  4. Workloads must tolerate concurrent versions and graceful traffic draining.

Explanation

Correct Answer

B:

This is the limitation specific to End-of-support remediation in a situation where a cloud image family has stopped receiving updates and cannot remain a production baseline; its underlying operation is that unsupported software no longer receives expected security fixes and should be upgraded, isolated or replaced on a risk-driven schedule.

Incorrect Answers

A:

This qualification applies instead to Persistent data life-cycle management: persistent data requires explicit retention, migration and protection when compute is replaced or decommissioned; it does not identify the defining limitation of End-of-support remediation when a cloud image family has stopped receiving updates and cannot remain a production baseline.

C:

This qualification applies instead to Guest operating-system patching: guest OS patching fixes security or stability defects in customer-managed virtual machines; it does not identify the defining limitation of End-of-support remediation when a cloud image family has stopped receiving updates and cannot remain a production baseline.

D:

This qualification applies instead to Rolling maintenance for availability: rolling maintenance updates nodes sequentially to keep sufficient replicas serving during changes; it does not identify the defining limitation of End-of-support remediation when a cloud image family has stopped receiving updates and cannot remain a production baseline.

Question 497

A fleet should automatically converge on approved OS hardening settings. The migration team selects Configuration as code (CaC). Which statement best explains that approach?

  1. Version control records code history and supports reviewed changes and rollback of configuration sources.
  2. Idempotent provisioning converges on the same intended state when repeated rather than creating duplicates.
  3. Credentials should be injected from protected secret stores or short-lived identity mechanisms rather than embedded in code.
  4. Configuration as code declares software and operating-system settings on already provisioned systems.

Explanation

Correct Answer

D:

This applies to the situation in which a fleet should automatically converge on approved OS hardening settings, by describing the distinctive operation of Configuration as code (CaC); the operational boundary is that it complements but is distinct from creating network and compute resources.

Incorrect Answers

A:

That description belongs to Version-controlled infrastructure definitions, which solves a different need; it does not describe Configuration as code (CaC) for the case in which a fleet should automatically converge on approved OS hardening settings. A limitation of that alternative, distinct from Configuration as code (CaC), is that reverting a commit is not necessarily sufficient to undo every destructive infrastructure change.

B:

That description belongs to Idempotent automation, which solves a different need; it does not describe Configuration as code (CaC) for the case in which a fleet should automatically converge on approved OS hardening settings. A limitation of that alternative, distinct from Configuration as code (CaC), is that idempotence does not prove the requested state is secure or correct.

C:

That description belongs to Secrets outside source control, which solves a different need; it does not describe Configuration as code (CaC) for the case in which a fleet should automatically converge on approved OS hardening settings. A limitation of that alternative, distinct from Configuration as code (CaC), is that marking an input sensitive does not guarantee secrets are absent from all state or logs.

Question 498

An IaC provider sends a retired API version after a platform update. The team suspects Deprecated API version. Which explanation supports that diagnosis?

  1. An outdated API or resource schema version may be removed and reject previously working requests.
  2. Invalid schema fields or syntax cause deployment tools or cloud APIs to reject a resource definition.
  3. API throttling restricts request frequency and may require exponential backoff with jitter and bounded retries.
  4. A principal lacking required permissions receives an authorization error during resource creation.

Explanation

Correct Answer

A:

This explains the situation in which an IaC provider sends a retired API version after a platform update, by describing the distinctive operation of Deprecated API version; the operational boundary is that the correct fix is usually a supported API or provider definition, not broader IAM rights.

Incorrect Answers

B:

That description belongs to Malformed resource configuration, which solves a different need; it does not describe Deprecated API version for the case in which an IaC provider sends a retired API version after a platform update. A limitation of that alternative, distinct from Deprecated API version, is that adding permissions will not repair invalid JSON, YAML or unsupported parameters.

C:

That description belongs to API rate throttling, which solves a different need; it does not describe Deprecated API version for the case in which an IaC provider sends a retired API version after a platform update. A limitation of that alternative, distinct from Deprecated API version, is that retrying instantly in a tight loop can worsen throttling.

D:

That description belongs to Provisioning authorization failure, which solves a different need; it does not describe Deprecated API version for the case in which an IaC provider sends a retired API version after a platform update. A limitation of that alternative, distinct from Deprecated API version, is that an authenticated session is not necessarily authorized for every API action.

Question 499

A private cloud is sufficient except for quarterly enrollment surges that need temporary extra capacity. Which cloud capability should be selected?

  1. Recovery time objective (RTO)
  2. Cloud bursting
  3. Warm disaster recovery site
  4. Recovery point objective (RPO)

Explanation

Correct Answer

B:

For a situation where a private cloud is sufficient except for quarterly enrollment surges that need temporary extra capacity, cloud bursting extends a primary environment temporarily into elastic cloud capacity during demand spikes, although applications must support the connectivity, state and portability needed to span environments.

Incorrect Answers

A:

Although RTO is the maximum acceptable elapsed time before the service must be restored after disruption, this does not replace cloud bursting in a case where a private cloud is sufficient except for quarterly enrollment surges that need temporary extra capacity; moreover, RTO measures recovery duration, not the age of recoverable data.

C:

For the situation where a private cloud is sufficient except for quarterly enrollment surges that need temporary extra capacity, choosing this would miss the central need for cloud bursting, because a warm site has some provisioned capacity and recoverable data but needs additional activation before serving full production; note that its recovery time usually exceeds that of an already active hot site.

D:

The situation in which a private cloud is sufficient except for quarterly enrollment surges that need temporary extra capacity needs cloud bursting; in contrast, RPO states the maximum acceptable amount of data loss expressed as a time interval, with the additional constraint that it does not indicate how long restarting the service may take.

Question 500

A team provisions VPCs and compute with versioned declarative definitions. Which DevOps component or practice is appropriate?

  1. GitHub Actions workflow automation
  2. Docker container build and run
  3. ELK log analytics stack
  4. Grafana metrics visualization
  5. Terraform infrastructure provisioning
  6. Kubernetes container orchestration

Explanation

Correct Answer

E:

Where a team provisions VPCs and compute with versioned declarative definitions, terraform describes and manages infrastructure resources using configuration, providers and state; implementation must also recognize that state security and reconciliation must be managed; it is not a general monitoring dashboard.

Incorrect Answers

A:

When a team provisions VPCs and compute with versioned declarative definitions, the needed mechanism is terraform infrastructure provisioning, not this option: GitHub Actions runs repository-connected workflows triggered by pushes, pull requests or schedules; also, workflow permissions and third-party actions must be reviewed for security.

B:

For the situation where a team provisions VPCs and compute with versioned declarative definitions, choosing this would miss the central need for terraform infrastructure provisioning, because docker tooling builds portable container images and launches containerized processes; note that an image builder alone does not reconcile a multi-node cluster's desired state.

C:

The situation in which a team provisions VPCs and compute with versioned declarative definitions needs terraform infrastructure provisioning; in contrast, elasticsearch, Logstash and Kibana provide ingestion, search and visualization workflows for logs and events, with the additional constraint that collection agents, retention and access policies still require configuration.

D:

Although grafana builds dashboards and alert views using supported data sources, commonly for time-series monitoring, this does not replace terraform infrastructure provisioning in a case where a team provisions VPCs and compute with versioned declarative definitions; moreover, it does not itself replace a metrics collection backend in every architecture.

F:

For the situation where a team provisions VPCs and compute with versioned declarative definitions, choosing this would miss the central need for terraform infrastructure provisioning, because kubernetes schedules containers across worker nodes and reconciles declarative workload state; note that it still needs network, storage and security configuration for production workloads.

CompTIA Cloud+ (CV0-004) Practice Tests