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

Question 280

A payroll portal predictably sees heavy traffic every Friday afternoon. Which operational practice addresses the requirement?

  1. Manual scaling
  2. Safe scale-in and connection draining
  3. Autoscaling cooldown and stabilization
  4. Scheduled scaling

Explanation

Correct Answer

D:

For a situation where a payroll portal predictably sees heavy traffic every Friday afternoon, scheduled scaling changes capacity at defined times based on predictable demand patterns, although unexpected demand outside the schedule still needs monitoring or fallback.

Incorrect Answers

A:

When a payroll portal predictably sees heavy traffic every Friday afternoon, the needed mechanism is scheduled scaling, not this option: manual scaling involves an operator explicitly changing capacity based on an approved judgment or test; also, it does not react automatically to unexpected traffic unless paired with other controls.

B:

For the situation where a payroll portal predictably sees heavy traffic every Friday afternoon, choosing this would miss the central need for scheduled scaling, because scale-in should stop new work and allow existing requests or jobs to finish before removing capacity; note that abrupt termination can drop sessions or lose in-flight tasks.

C:

The situation in which a payroll portal predictably sees heavy traffic every Friday afternoon needs scheduled scaling; in contrast, cooldown or stabilization intervals prevent rapid scale reversals caused by short-lived metric changes, with the additional constraint that overly long cooldowns can delay response to genuine changes.

Question 281

A licensed database cannot add nodes and must increase RAM in one instance. Which mechanism should the operations team use?

  1. Vertical instance scaling
  2. Scheduled scaling
  3. Event-driven scaling
  4. Predictive scaling

Explanation

Correct Answer

A:

Where a licensed database cannot add nodes and must increase RAM in one instance, vertical scaling increases CPU or memory of an existing resource rather than adding replicas; implementation must also recognize that it may require restart and has instance-size ceilings.

Incorrect Answers

B:

The situation in which a licensed database cannot add nodes and must increase RAM in one instance needs vertical instance scaling; in contrast, scheduled scaling changes capacity at defined times based on predictable demand patterns, with the additional constraint that unexpected demand outside the schedule still needs monitoring or fallback.

C:

Although event-driven autoscaling responds to an event source or workload indicator rather than a calendar alone, this does not replace vertical instance scaling in a case where a licensed database cannot add nodes and must increase RAM in one instance; moreover, the event signal must map to actual processing capacity and downstream limits.

D:

When a licensed database cannot add nodes and must increase RAM in one instance, the needed mechanism is vertical instance scaling, not this option: predictive scaling uses learned or forecast demand trends to provision capacity ahead of anticipated load; also, forecast error requires safe minimum capacity and monitoring.

Question 282

A VM should restart on another physical host after one hypervisor fails. The architecture uses Virtualization host clustering. Which limitation should the design review document?

  1. File sharing is distinct from raw block LUN presentation.
  2. Hard rules may reduce scheduling flexibility when capacity is constrained.
  3. Guest application resilience and shared storage prerequisites still matter.
  4. It can constrain live migration and sharing of that device among VMs.

Explanation

Correct Answer

C:

This is the limitation specific to Virtualization host clustering in a situation where a VM should restart on another physical host after one hypervisor fails; its underlying operation is that a host cluster coordinates multiple hypervisor hosts to improve availability and resource placement.

Incorrect Answers

A:

This qualification applies instead to Network-attached storage (NAS): NAS provides file-level access from storage servers over network file protocols; it does not identify the defining limitation of Virtualization host clustering when a VM should restart on another physical host after one hypervisor fails.

B:

This qualification applies instead to Host affinity rules: affinity or anti-affinity rules influence which physical hosts run related virtual machines; it does not identify the defining limitation of Virtualization host clustering when a VM should restart on another physical host after one hypervisor fails.

D:

This qualification applies instead to Hardware pass-through: device pass-through exposes a physical device directly to a virtual machine for specialized access or performance; it does not identify the defining limitation of Virtualization host clustering when a VM should restart on another physical host after one hypervisor fails.

Question 283

An attacker deleting production snapshots should not be able to modify locked backup objects. Which mechanism should the operations team use?

  1. Backup retention schedule
  2. Immutable backup retention
  3. Differential backup
  4. Incremental backup
  5. Full backup

Explanation

Correct Answer

B:

For a situation where an attacker deleting production snapshots should not be able to modify locked backup objects, immutable backup storage prevents modification or deletion within a protected retention period, although authorized retention design and credential separation still matter.

Incorrect Answers

A:

Although retention rules preserve recovery points for appropriate periods and prune expired copies, this does not replace immutable backup retention in a case where an attacker deleting production snapshots should not be able to modify locked backup objects; moreover, too-short schedules may fail legal or business recovery windows.

C:

For the situation where an attacker deleting production snapshots should not be able to modify locked backup objects, choosing this would miss the central need for immutable backup retention, because a differential backup captures data changed since the last full backup; note that differentials usually grow until the next full and need that full for restoration.

D:

The situation in which an attacker deleting production snapshots should not be able to modify locked backup objects needs immutable backup retention; in contrast, an incremental backup captures changes since the most recent backup of the applicable chain, with the additional constraint that restoration may require the full baseline plus several increments in order.

E:

Although a full backup captures the complete protected dataset at a backup point, this does not replace immutable backup retention in a case where an attacker deleting production snapshots should not be able to modify locked backup objects; moreover, large datasets can make frequent full copies expensive in time and storage.

Question 284

Multiple VMs need a common NFS share for project files. Which architecture concept best fits?

  1. Storage area network (SAN)
  2. Host affinity rules
  3. Network-attached storage (NAS)
  4. Virtualization host clustering

Explanation

Correct Answer

C:

Where multiple VMs need a common NFS share for project files, NAS provides file-level access from storage servers over network file protocols; implementation must also recognize that file sharing is distinct from raw block LUN presentation.

Incorrect Answers

A:

When multiple VMs need a common NFS share for project files, the needed mechanism is network-attached storage (nas), not this option: a SAN exposes shared block-level storage to hosts, commonly using storage networking protocols; also, it differs from a NAS shared-file service and needs multipath/volume design.

B:

For the situation where multiple VMs need a common NFS share for project files, choosing this would miss the central need for network-attached storage (nas), because affinity or anti-affinity rules influence which physical hosts run related virtual machines; note that hard rules may reduce scheduling flexibility when capacity is constrained.

D:

Although a host cluster coordinates multiple hypervisor hosts to improve availability and resource placement, this does not replace network-attached storage (nas) in a case where multiple VMs need a common NFS share for project files; moreover, guest application resilience and shared storage prerequisites still matter.

Question 285

A production update follows a staging rehearsal with realistic application workloads. What operational capability is needed?

  1. Major-version upgrade testing
  2. Secure decommissioning
  3. Minor-version maintenance
  4. Persistent data life-cycle management
  5. Patch validation staging

Explanation

Correct Answer

E:

When a production update follows a staging rehearsal with realistic application workloads, updates should be tested in representative nonproduction environments before broad rollout when risk warrants; the corresponding design boundary is that a passing unit test alone may not cover real dependency behavior.

Incorrect Answers

A:

For the situation where a production update follows a staging rehearsal with realistic application workloads, choosing this would miss the central need for patch validation staging, because major updates can change interfaces and compatibility and therefore need focused regression and rollback planning; note that a major version jump is not equivalent to a routine security hotfix.

B:

The situation in which a production update follows a staging rehearsal with realistic application workloads needs patch validation staging; in contrast, decommissioning must revoke access, remove dependencies, handle data securely and stop billing, with the additional constraint that deletion without retention and ownership review can destroy required records.

C:

Although minor updates generally introduce incremental fixes or functionality within a product's supported release line, this does not replace patch validation staging in a case where a production update follows a staging rehearsal with realistic application workloads; moreover, release notes and regression testing remain appropriate despite smaller scope.

D:

When a production update follows a staging rehearsal with realistic application workloads, the needed mechanism is patch validation staging, not this option: persistent data requires explicit retention, migration and protection when compute is replaced or decommissioned; also, deleting a compute resource must not inadvertently erase required records.

Question 286

An automation runner must prevent simultaneous writes to infrastructure state. Which cloud deployment consideration does this describe?

  1. Infrastructure state locking
  2. Reusable script function
  3. Drift detection
  4. Infrastructure as code (IaC)

Explanation

Correct Answer

A:

For a situation where an automation runner must prevent simultaneous writes to infrastructure state, state locking prevents concurrent infrastructure operations from racing to modify the same managed state, although state storage still needs encryption, access control and backups.

Incorrect Answers

B:

Although a function packages a named set of steps that can be invoked with inputs from multiple locations, this does not replace infrastructure state locking in a case where an automation runner must prevent simultaneous writes to infrastructure state; moreover, functions do not automatically make side effects safe or idempotent.

C:

When an automation runner must prevent simultaneous writes to infrastructure state, the needed mechanism is infrastructure state locking, not this option: drift detection compares actual resources with approved declared configuration to find out-of-band changes; also, detection alone may require a reviewed reconciliation plan rather than blind replacement.

D:

For the situation where an automation runner must prevent simultaneous writes to infrastructure state, choosing this would miss the central need for infrastructure state locking, because IaC uses declarative or programmatic definitions to provision and manage infrastructure reproducibly; note that state, drift and secrets handling must be managed throughout the workflow.

Question 287

An organization wants resilience features of managed middleware without maintaining broker hosts. Which cloud design or component is most appropriate?

  1. Managed cloud service
  2. Loosely coupled messaging
  3. Fan-out messaging pattern
  4. Microservices decomposition

Explanation

Correct Answer

A:

Where an organization wants resilience features of managed middleware without maintaining broker hosts, using provider-managed capabilities can reduce the team's responsibility for maintaining undifferentiated platform components; implementation must also recognize that data, configuration and application-level controls remain tenant responsibilities.

Incorrect Answers

B:

When an organization wants resilience features of managed middleware without maintaining broker hosts, the needed mechanism is managed cloud service, not this option: asynchronous queues or events can decouple services so producers need not wait for consumers; also, consumers still need retries, idempotency and failure handling.

C:

For the situation where an organization wants resilience features of managed middleware without maintaining broker hosts, choosing this would miss the central need for managed cloud service, because fan-out delivers one event to multiple independent consumers for separate processing; note that delivery semantics and subscriber failures must be managed per consumer.

D:

The situation in which an organization wants resilience features of managed middleware without maintaining broker hosts needs managed cloud service; in contrast, microservices divide functionality into independently deployable services with defined APIs, with the additional constraint that distributed calls add observability and operational complexity.

Question 288

An engineer needs to list cloud resources from a terminal in a maintenance script. Which security control or security concept best applies?

  1. OpenID Connect (OIDC)
  2. Cloud command-line interface (CLI)
  3. Bastion host for administration
  4. Role-based access control (RBAC)

Explanation

Correct Answer

B:

When an engineer needs to list cloud resources from a terminal in a maintenance script, a cloud CLI offers scripted management commands for administrators and automation systems; the corresponding design boundary is that the CLI still relies on valid credentials, role authorization and current context.

Incorrect Answers

A:

When an engineer needs to list cloud resources from a terminal in a maintenance script, the needed mechanism is cloud command-line interface (cli), not this option: OIDC adds an identity layer on OAuth 2.0 and provides standardized ID tokens for application sign-in; also, ID tokens are not interchangeable with access tokens for arbitrary API authorization.

C:

The situation in which an engineer needs to list cloud resources from a terminal in a maintenance script needs cloud command-line interface (cli); in contrast, a hardened bastion provides a controlled entry point for management access to private workloads, with the additional constraint that authentication and target-host authorization remain necessary behind the bastion.

D:

Although RBAC grants permissions through named roles assigned to principals at defined resource scopes, this does not replace cloud command-line interface (cli) in a case where an engineer needs to list cloud resources from a terminal in a maintenance script; moreover, a role assignment must match the required actions and not be broader than necessary.

Question 289

Workforce sign-ins should authenticate against one enterprise identity directory. An analyst identifies Directory-based identity authentication. Which statement correctly characterizes this security concept?

  1. A directory service centrally validates identities and can supply group or account attributes.
  2. MFA requires independent authentication factors so a compromised password alone is insufficient.
  3. SAML exchanges signed identity assertions to enable enterprise single sign-on with a trusted identity provider.
  4. RDP provides interactive graphical remote administration, commonly for Windows workloads.

Explanation

Correct Answer

A:

This applies to the situation in which workforce sign-ins should authenticate against one enterprise identity directory, by describing the distinctive operation of Directory-based identity authentication; the operational boundary is that directory login alone does not grant every cloud resource permission.

Incorrect Answers

B:

That description belongs to Multifactor authentication (MFA), which solves a different need; it does not describe Directory-based identity authentication for the case in which workforce sign-ins should authenticate against one enterprise identity directory. A limitation of that alternative, distinct from Directory-based identity authentication, is that MFA does not replace authorization or eliminate session/token theft risk.

C:

That description belongs to SAML identity federation, which solves a different need; it does not describe Directory-based identity authentication for the case in which workforce sign-ins should authenticate against one enterprise identity directory. A limitation of that alternative, distinct from Directory-based identity authentication, is that assertion audience and trust configuration must match the service provider.

D:

That description belongs to Remote Desktop Protocol (RDP), which solves a different need; it does not describe Directory-based identity authentication for the case in which workforce sign-ins should authenticate against one enterprise identity directory. A limitation of that alternative, distinct from Directory-based identity authentication, is that exposing RDP directly to the Internet raises brute-force and access risks.

Question 290

A web release policy combines risk-limited exposure with objective rollback: (1) a new binary should reach a small traffic sample before wider promotion; (2) the platform must revert automatically if the sampled group breaches its error budget. Choose TWO deployment or migration practices that explain or address these distinct requirements.

  1. Feature flag rollout
  2. Canary deployment
  3. Automated rollback trigger
  4. Blue-green deployment
  5. Traffic mirroring or shadow testing

Explanation

Correct Answers

B:

Where a new binary should reach a small traffic sample before wider promotion, canary releases direct a small fraction of real traffic to the new version before expanding exposure; implementation must also recognize that monitoring and traffic segmentation are required to judge the small cohort.

C:

Where the platform must revert automatically if the sampled group breaches its error budget, an automated rollback restores a prior known-good deployment when objective failure thresholds occur; implementation must also recognize that it still requires a viable prior artifact and compatible data changes.

Incorrect Answers

A:

For the combined case involving (1) a new binary should reach a small traffic sample before wider promotion; (2) the platform must revert automatically if the sampled group breaches its error budget, the requested set is Canary deployment and Automated rollback trigger, not this alternative: feature flags control exposure to functionality independently of binary deployment; also, flags do not replace versioning, testing or a recoverable artifact.

D:

For the combined case involving (1) a new binary should reach a small traffic sample before wider promotion; (2) the platform must revert automatically if the sampled group breaches its error budget, the requested set is Canary deployment and Automated rollback trigger, not this alternative: blue-green keeps two production-capable environments and switches traffic between versions for rapid rollback; also, parallel capacity costs more and data schema changes must be compatible.

E:

For the combined case involving (1) a new binary should reach a small traffic sample before wider promotion; (2) the platform must revert automatically if the sampled group breaches its error budget, the requested set is Canary deployment and Automated rollback trigger, not this alternative: shadow testing copies production requests to a new service without using its responses for users; also, side effects and sensitive payloads must be controlled to avoid duplicate transactions.

CompTIA Cloud+ (CV0-004) Practice Tests