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

Question 90

License restrictions require a VM to remain on approved hypervisor hosts. What mechanism does this situation call for?

  1. Host affinity rules
  2. Storage area network (SAN)
  3. Network-attached storage (NAS)
  4. Overlay networking

Explanation

Correct Answer

A:

When license restrictions require a VM to remain on approved hypervisor hosts, affinity or anti-affinity rules influence which physical hosts run related virtual machines; the corresponding design boundary is that hard rules may reduce scheduling flexibility when capacity is constrained.

Incorrect Answers

B:

Although a SAN exposes shared block-level storage to hosts, commonly using storage networking protocols, this does not replace host affinity rules in a case where license restrictions require a VM to remain on approved hypervisor hosts; moreover, it differs from a NAS shared-file service and needs multipath/volume design.

C:

When license restrictions require a VM to remain on approved hypervisor hosts, the needed mechanism is host affinity rules, not this option: NAS provides file-level access from storage servers over network file protocols; also, file sharing is distinct from raw block LUN presentation.

D:

For the situation where license restrictions require a VM to remain on approved hypervisor hosts, choosing this would miss the central need for host affinity rules, because an overlay creates logical network segments on top of an existing physical transport fabric; note that encapsulation adds overhead and the underlay must remain reachable.

Question 91

A promotion workflow should reuse the original tested release output instead of compiling again. What pipeline or automation capability should the team use?

  1. Immutable build artifact
  2. Continuous delivery gate
  3. Continuous deployment
  4. Private artifact repository
  5. Build-and-package stage

Explanation

Correct Answer

A:

For a situation where a promotion workflow should reuse the original tested release output instead of compiling again, an immutable versioned artifact ensures the same tested binary, image or package is promoted between environments, although rebuilding independently in production can create version drift.

Incorrect Answers

B:

When a promotion workflow should reuse the original tested release output instead of compiling again, the needed mechanism is immutable build artifact, not this option: continuous delivery prepares tested releases for deployment, often with an explicit approval before production; also, delivery readiness differs from automatically deploying every change without approval.

C:

For the situation where a promotion workflow should reuse the original tested release output instead of compiling again, choosing this would miss the central need for immutable build artifact, because continuous deployment automatically releases changes that pass required pipeline gates into production; note that appropriate automated quality and security gates are essential when there is no routine manual release step.

D:

The situation in which a promotion workflow should reuse the original tested release output instead of compiling again needs immutable build artifact; in contrast, a private repository limits access to internal packages, images or build artifacts, with the additional constraint that repository ACLs and artifact provenance still need explicit governance.

E:

Although a build stage transforms source into deployable binaries, container images or other versioned outputs, this does not replace immutable build artifact in a case where a promotion workflow should reuse the original tested release output instead of compiling again; moreover, successful packaging does not imply functional tests or secure release approval have passed.

Question 92

A feature must be enabled only for internal accounts after code reaches production. Which deployment practice best meets this requirement?

  1. Feature flag rollout
  2. Health-gated rollout
  3. Blue-green deployment
  4. In-place deployment

Explanation

Correct Answer

A:

Where a feature must be enabled only for internal accounts after code reaches production, feature flags control exposure to functionality independently of binary deployment; implementation must also recognize that flags do not replace versioning, testing or a recoverable artifact.

Incorrect Answers

B:

For the situation where a feature must be enabled only for internal accounts after code reaches production, choosing this would miss the central need for feature flag rollout, because a rollout gate waits for functional or health criteria before advancing deployment to further instances; note that passing a build alone does not show the new service serves traffic successfully.

C:

The situation in which a feature must be enabled only for internal accounts after code reaches production needs feature flag rollout; in contrast, blue-green keeps two production-capable environments and switches traffic between versions for rapid rollback, with the additional constraint that parallel capacity costs more and data schema changes must be compatible.

D:

Although in-place updates modify the currently deployed application or host directly, this does not replace feature flag rollout in a case where a feature must be enabled only for internal accounts after code reaches production; moreover, rollback may be slower or riskier than switching to an untouched parallel environment.

Question 93

A rolling update runs two software versions against one database for several hours. What deployment or migration action is indicated?

  1. Health-gated rollout
  2. Automated rollback trigger
  3. Database backward-compatibility during rollout
  4. Canary deployment
  5. Feature flag rollout

Explanation

Correct Answer

C:

When a rolling update runs two software versions against one database for several hours, expand-and-contract schema changes allow old and new application versions to coexist during staggered deployment; the corresponding design boundary is that destructive column removal before old workers retire can break rollback.

Incorrect Answers

A:

For the situation where a rolling update runs two software versions against one database for several hours, choosing this would miss the central need for database backward-compatibility during rollout, because a rollout gate waits for functional or health criteria before advancing deployment to further instances; note that passing a build alone does not show the new service serves traffic successfully.

B:

The situation in which a rolling update runs two software versions against one database for several hours needs database backward-compatibility during rollout; in contrast, an automated rollback restores a prior known-good deployment when objective failure thresholds occur, with the additional constraint that it still requires a viable prior artifact and compatible data changes.

D:

When a rolling update runs two software versions against one database for several hours, the needed mechanism is database backward-compatibility during rollout, not this option: canary releases direct a small fraction of real traffic to the new version before expanding exposure; also, monitoring and traffic segmentation are required to judge the small cohort.

E:

For the situation where a rolling update runs two software versions against one database for several hours, choosing this would miss the central need for database backward-compatibility during rollout, because feature flags control exposure to functionality independently of binary deployment; note that flags do not replace versioning, testing or a recoverable artifact.

Question 94

A development subscription must prevent accidental deployment of extremely costly instance families. Which implementation approach is appropriate?

  1. Provisioning compliant encryption
  2. Provisioning for IOPS
  3. Provisioning region eligibility
  4. Provisioning cost guardrails
  5. Provisioning high-availability replicas

Explanation

Correct Answer

D:

For a situation where a development subscription must prevent accidental deployment of extremely costly instance families, budgets, quotas and resource policies can constrain accidental or unauthorized spending, although a budget alert alone is not a hard spending cap for all cloud services.

Incorrect Answers

A:

The situation in which a development subscription must prevent accidental deployment of extremely costly instance families needs provisioning cost guardrails; in contrast, encryption configuration and key control need to meet the workload's data-handling policy, with the additional constraint that encryption alone does not establish correct authorization or retention settings.

B:

Although disk provisioning must meet small-operation rate requirements for latency-sensitive storage workloads, this does not replace provisioning cost guardrails in a case where a development subscription must prevent accidental deployment of extremely costly instance families; moreover, allocated capacity alone does not guarantee the necessary IOPS tier.

C:

When a development subscription must prevent accidental deployment of extremely costly instance families, the needed mechanism is provisioning cost guardrails, not this option: region selection must satisfy residency, supported-service and disaster-design constraints; also, not all instance families or managed features are offered in every region.

E:

The situation in which a development subscription must prevent accidental deployment of extremely costly instance families needs provisioning cost guardrails; in contrast, placing independent replicas in appropriate failure domains reduces single-instance outage risk, with the additional constraint that load balancing and data consistency requirements remain part of the design.

Question 95

A warehouse can afford to lose at most five minutes of new orders after a crash. Which cloud capability should be selected?

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

Explanation

Correct Answer

A:

Where a warehouse can afford to lose at most five minutes of new orders after a crash, RPO states the maximum acceptable amount of data loss expressed as a time interval; implementation must also recognize that it does not indicate how long restarting the service may take.

Incorrect Answers

B:

When a warehouse can afford to lose at most five minutes of new orders after a crash, the needed mechanism is recovery point objective (rpo), not this option: a warm site has some provisioned capacity and recoverable data but needs additional activation before serving full production; also, its recovery time usually exceeds that of an already active hot site.

C:

For the situation where a warehouse can afford to lose at most five minutes of new orders after a crash, choosing this would miss the central need for recovery point objective (rpo), because a cold site provides a location and basic facilities but requires significant provisioning or restoration to become operational; note that it is generally unsuitable for very short RTO targets.

D:

The situation in which a warehouse can afford to lose at most five minutes of new orders after a crash needs recovery point objective (rpo); in contrast, RTO is the maximum acceptable elapsed time before the service must be restored after disruption, with the additional constraint that RTO measures recovery duration, not the age of recoverable data.

Question 96

Two different consortium proposals require a deployment-model decision: (1) a manufacturer will keep regulated records on premises while elastically hosting a customer portal in the public cloud; (2) several research institutions will jointly operate infrastructure under agreed membership and governance rules. Choose TWO deployment or migration practices that explain or address these distinct requirements.

  1. Private cloud self-service control
  2. Hybrid cloud deployment
  3. Community cloud deployment
  4. Multicloud architecture
  5. On-premises private cloud

Explanation

Correct Answers

B:

When a manufacturer will keep regulated records on premises while elastically hosting a customer portal in the public cloud, hybrid architecture connects private/on-premises resources and public cloud components into a coordinated environment; the corresponding design boundary is that data movement, identity and network design can become more complex.

C:

When several research institutions will jointly operate infrastructure under agreed membership and governance rules, a community cloud is shared by organizations with a common mission or set of governance requirements; the corresponding design boundary is that the participant group differs from an unrestricted public multitenant customer base.

Incorrect Answers

A:

For the combined case involving (1) a manufacturer will keep regulated records on premises while elastically hosting a customer portal in the public cloud; (2) several research institutions will jointly operate infrastructure under agreed membership and governance rules, the requested set is Hybrid cloud deployment and Community cloud deployment, not this alternative: private cloud management can provide standardized automation and service catalogs on organization-controlled infrastructure; also, a virtualized data center is not automatically a mature self-service cloud.

D:

For the combined case involving (1) a manufacturer will keep regulated records on premises while elastically hosting a customer portal in the public cloud; (2) several research institutions will jointly operate infrastructure under agreed membership and governance rules, the requested set is Hybrid cloud deployment and Community cloud deployment, not this alternative: multicloud uses cloud services from more than one distinct provider; also, multiple providers alone do not imply a private-cloud component or automatic portability.

E:

For the combined case involving (1) a manufacturer will keep regulated records on premises while elastically hosting a customer portal in the public cloud; (2) several research institutions will jointly operate infrastructure under agreed membership and governance rules, the requested set is Hybrid cloud deployment and Community cloud deployment, not this alternative: a private cloud on owned premises gives one organization exclusive control of its cloud infrastructure and facilities; also, it brings capital, physical security and maintenance responsibilities.

Question 97

A team temporarily adds capacity during a controlled disaster recovery exercise. The operations team considers Manual scaling. Which explanation describes its function?

  1. Manual scaling involves an operator explicitly changing capacity based on an approved judgment or test.
  2. Predictive scaling uses learned or forecast demand trends to provision capacity ahead of anticipated load.
  3. A metric-triggered rule adjusts capacity when measurements cross chosen thresholds and evaluation windows.
  4. Scheduled scaling changes capacity at defined times based on predictable demand patterns.

Explanation

Correct Answer

A:

This applies to the situation in which a team temporarily adds capacity during a controlled disaster recovery exercise, by describing the distinctive operation of Manual scaling; the operational boundary is that it does not react automatically to unexpected traffic unless paired with other controls.

Incorrect Answers

B:

That description belongs to Predictive scaling, which solves a different need; it does not describe Manual scaling for the case in which a team temporarily adds capacity during a controlled disaster recovery exercise. A limitation of that alternative, distinct from Manual scaling, is that forecast error requires safe minimum capacity and monitoring.

C:

That description belongs to Metric-triggered scaling, which solves a different need; it does not describe Manual scaling for the case in which a team temporarily adds capacity during a controlled disaster recovery exercise. A limitation of that alternative, distinct from Manual scaling, is that poor thresholds and short windows may create oscillation.

D:

That description belongs to Scheduled scaling, which solves a different need; it does not describe Manual scaling for the case in which a team temporarily adds capacity during a controlled disaster recovery exercise. A limitation of that alternative, distinct from Manual scaling, is that unexpected demand outside the schedule still needs monitoring or fallback.

Question 98

A release branch needs a traceable reversal of a problematic code commit. Which DevOps component or practice is appropriate?

  1. Code review
  2. Version revert strategy
  3. Git push
  4. Feature branch management
  5. Git commit

Explanation

Correct Answer

B:

Where a release branch needs a traceable reversal of a problematic code commit, a revert creates a new change that undoes a prior commit while preserving project history; implementation must also recognize that reverting source does not automatically reverse external database mutations or deployed state.

Incorrect Answers

A:

The situation in which a release branch needs a traceable reversal of a problematic code commit needs version revert strategy; in contrast, code review evaluates proposed code changes for correctness, security, maintainability and standards, with the additional constraint that review helps but cannot replace automated tests or runtime verification.

C:

When a release branch needs a traceable reversal of a problematic code commit, the needed mechanism is version revert strategy, not this option: pushing transfers local commits and updated references to a remote Git repository; also, a push does not itself mean a change has been reviewed or merged into the default branch.

D:

For the situation where a release branch needs a traceable reversal of a problematic code commit, choosing this would miss the central need for version revert strategy, because branches isolate concurrent lines of development so unfinished work need not change the main release line; note that branches eventually require integration and conflict handling.

E:

The situation in which a release branch needs a traceable reversal of a problematic code commit needs version revert strategy; in contrast, a commit records a local repository snapshot and message in the version history, with the additional constraint that a commit does not automatically publish changes to a remote repository.

Question 99

Rerunning a failed provisioning job must not create a second network each time. The migration team selects Idempotent automation. Which statement best explains that approach?

  1. Idempotent provisioning converges on the same intended state when repeated rather than creating duplicates.
  2. Selecting numbers, strings, booleans or collections correctly prevents malformed parameters and comparisons.
  3. Conditionals execute different code paths depending on evaluated expressions or requirements.
  4. JSON encodes structured data with objects, arrays and explicit syntax, commonly for APIs and configuration files.

Explanation

Correct Answer

A:

This applies to the situation in which rerunning a failed provisioning job must not create a second network each time, by describing the distinctive operation of Idempotent automation; the operational boundary is that idempotence does not prove the requested state is secure or correct.

Incorrect Answers

B:

That description belongs to Correct scripting data type, which solves a different need; it does not describe Idempotent automation for the case in which rerunning a failed provisioning job must not create a second network each time. A limitation of that alternative, distinct from Idempotent automation, is that implicit coercion can lead to unintended conditions in provisioning logic.

C:

That description belongs to Conditional scripting, which solves a different need; it does not describe Idempotent automation for the case in which rerunning a failed provisioning job must not create a second network each time. A limitation of that alternative, distinct from Idempotent automation, is that a conditional branch needs explicit test coverage for each path.

D:

That description belongs to JSON structured configuration, which solves a different need; it does not describe Idempotent automation for the case in which rerunning a failed provisioning job must not create a second network each time. A limitation of that alternative, distinct from Idempotent automation, is that JSON does not natively include comments and requires correct quoting and separators.

Question 100

A large dataset should remain current while the source accepts writes until cutover. Which implementation approach is appropriate?

  1. Vendor lock-in assessment
  2. Cloud-to-cloud migration
  3. Cloud repatriation
  4. Migration data seeding with delta sync

Explanation

Correct Answer

D:

For a situation where a large dataset should remain current while the source accepts writes until cutover, bulk initial copies followed by incremental synchronization reduce final downtime for large data migrations, although the last delta and consistency checkpoint must finish before authoritative cutover.

Incorrect Answers

A:

When a large dataset should remain current while the source accepts writes until cutover, the needed mechanism is migration data seeding with delta sync, not this option: lock-in analysis examines dependencies on proprietary services, APIs or data formats that impede future moves; also, a vendor-neutral interface may mitigate risk but cannot eliminate all conversion cost.

B:

For the situation where a large dataset should remain current while the source accepts writes until cutover, choosing this would miss the central need for migration data seeding with delta sync, because cloud-to-cloud migration transfers workloads or data between distinct cloud provider environments; note that APIs, identity, network and data service differences can complicate portability.

C:

The situation in which a large dataset should remain current while the source accepts writes until cutover needs migration data seeding with delta sync; in contrast, repatriation moves workload capacity from public cloud back to private or on-premises infrastructure, with the additional constraint that the destination must support the performance, skills and capital requirements.

CompTIA Cloud+ (CV0-004) Practice Tests