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

Question 80

A deployment template suddenly fails because a resource field has been removed. What is the most likely underlying problem?

  1. API rate throttling
  2. Control-plane service outage
  3. Stale deployment provider definition
  4. Deprecated API version

Explanation

Correct Answer

D:

Where a deployment template suddenly fails because a resource field has been removed, an outdated API or resource schema version may be removed and reject previously working requests; implementation must also recognize that the correct fix is usually a supported API or provider definition, not broader IAM rights.

Incorrect Answers

A:

When a deployment template suddenly fails because a resource field has been removed, the needed mechanism is deprecated api version, not this option: API throttling restricts request frequency and may require exponential backoff with jitter and bounded retries; also, retrying instantly in a tight loop can worsen throttling.

B:

For the situation where a deployment template suddenly fails because a resource field has been removed, choosing this would miss the central need for deprecated api version, because an outage in a cloud management service can block creation or modification even when running resources continue serving; note that data-plane status and management-plane status must be checked separately.

C:

The situation in which a deployment template suddenly fails because a resource field has been removed needs deprecated api version; in contrast, outdated infrastructure tooling providers or resource definitions may not recognize new properties or supported service versions, with the additional constraint that a platform feature being available does not guarantee old client tooling understands it.

Question 81

A support organization is separating authorization and accountability for its cloud operators: (1) service-desk accounts may reboot approved VMs but cannot change networks; (2) compliance officers must be able to identify who made privileged configuration changes. Choose TWO security controls or incident classifications that explain or address these distinct requirements.

  1. Security audit trail
  2. Bastion host for administration
  3. Role-based access control (RBAC)
  4. Group-based access management
  5. Cloud command-line interface (CLI)

Explanation

Correct Answers

A:

When compliance officers must be able to identify who made privileged configuration changes, an audit trail records who performed actions, when and against which resources for accountability; the corresponding design boundary is that logs must be protected, retained and correlated with authenticated identities.

C:

When service-desk accounts may reboot approved VMs but cannot change networks, RBAC grants permissions through named roles assigned to principals at defined resource scopes; the corresponding design boundary is that a role assignment must match the required actions and not be broader than necessary.

Incorrect Answers

B:

For the combined case involving (1) service-desk accounts may reboot approved VMs but cannot change networks; (2) compliance officers must be able to identify who made privileged configuration changes, the requested set is Security audit trail and Role-based access control (RBAC), not this alternative: a hardened bastion provides a controlled entry point for management access to private workloads; also, authentication and target-host authorization remain necessary behind the bastion.

D:

For the combined case involving (1) service-desk accounts may reboot approved VMs but cannot change networks; (2) compliance officers must be able to identify who made privileged configuration changes, the requested set is Security audit trail and Role-based access control (RBAC), not this alternative: group-based grants assign permissions to identity groups so membership drives access for many users; also, group membership and role scope must both be governed.

E:

For the combined case involving (1) service-desk accounts may reboot approved VMs but cannot change networks; (2) compliance officers must be able to identify who made privileged configuration changes, the requested set is Security audit trail and Role-based access control (RBAC), not this alternative: a cloud CLI offers scripted management commands for administrators and automation systems; also, the CLI still relies on valid credentials, role authorization and current context.

Question 82

An engineer increases the lab cluster size for a one-time benchmark. What operational capability is needed?

  1. Vertical instance scaling
  2. Manual scaling
  3. Scheduled scaling
  4. Metric-triggered scaling

Explanation

Correct Answer

B:

For a situation where an engineer increases the lab cluster size for a one-time benchmark, manual scaling involves an operator explicitly changing capacity based on an approved judgment or test, although it does not react automatically to unexpected traffic unless paired with other controls.

Incorrect Answers

A:

The situation in which an engineer increases the lab cluster size for a one-time benchmark needs manual scaling; in contrast, vertical scaling increases CPU or memory of an existing resource rather than adding replicas, with the additional constraint that it may require restart and has instance-size ceilings.

C:

When an engineer increases the lab cluster size for a one-time benchmark, the needed mechanism is manual scaling, not this option: scheduled scaling changes capacity at defined times based on predictable demand patterns; also, unexpected demand outside the schedule still needs monitoring or fallback.

D:

For the situation where an engineer increases the lab cluster size for a one-time benchmark, choosing this would miss the central need for manual scaling, because a metric-triggered rule adjusts capacity when measurements cross chosen thresholds and evaluation windows; note that poor thresholds and short windows may create oscillation.

Question 83

A burst of pub-sub events needs scalable handlers without manually preprovisioning instances. Which mechanism should the operations team use?

  1. Autoscaling cooldown and stabilization
  2. Safe scale-in and connection draining
  3. Scheduled scaling
  4. Event-driven scaling
  5. Metric-triggered scaling

Explanation

Correct Answer

D:

Where a burst of pub-sub events needs scalable handlers without manually preprovisioning instances, event-driven autoscaling responds to an event source or workload indicator rather than a calendar alone; implementation must also recognize that the event signal must map to actual processing capacity and downstream limits.

Incorrect Answers

A:

Although cooldown or stabilization intervals prevent rapid scale reversals caused by short-lived metric changes, this does not replace event-driven scaling in a case where a burst of pub-sub events needs scalable handlers without manually preprovisioning instances; moreover, overly long cooldowns can delay response to genuine changes.

B:

When a burst of pub-sub events needs scalable handlers without manually preprovisioning instances, the needed mechanism is event-driven scaling, not this option: scale-in should stop new work and allow existing requests or jobs to finish before removing capacity; also, abrupt termination can drop sessions or lose in-flight tasks.

C:

For the situation where a burst of pub-sub events needs scalable handlers without manually preprovisioning instances, choosing this would miss the central need for event-driven scaling, because scheduled scaling changes capacity at defined times based on predictable demand patterns; note that unexpected demand outside the schedule still needs monitoring or fallback.

E:

Although a metric-triggered rule adjusts capacity when measurements cross chosen thresholds and evaluation windows, this does not replace event-driven scaling in a case where a burst of pub-sub events needs scalable handlers without manually preprovisioning instances; moreover, poor thresholds and short windows may create oscillation.

Question 84

Staff lose access to documents and discover an extortion demand on a cloud file share. What security measure or risk does the scenario illustrate?

  1. Cryptojacking detection
  2. Phishing attack detection
  3. Ransomware indicators
  4. Zombie cloud instances
  5. Unnecessary exposed management ports

Explanation

Correct Answer

C:

When staff lose access to documents and discover an extortion demand on a cloud file share, ransomware frequently causes mass file encryption or destructive changes accompanied by extortion behavior; the corresponding design boundary is that response requires containment and verified recovery, not just restarting hosts.

Incorrect Answers

A:

When staff lose access to documents and discover an extortion demand on a cloud file share, the needed mechanism is ransomware indicators, not this option: cryptojacking abuses compute resources to mine cryptocurrency without authorization, often raising CPU demand and cost; also, high CPU alone is not conclusive without process and account evidence.

B:

For the situation where staff lose access to documents and discover an extortion demand on a cloud file share, choosing this would miss the central need for ransomware indicators, because phishing lures users into revealing credentials or launching malicious actions through deceptive messages; note that blocking phishing messages does not eliminate all credential theft routes.

D:

Although zombie instances are forgotten or abandoned resources still running and potentially abused or billed, this does not replace ransomware indicators in a case where staff lose access to documents and discover an extortion demand on a cloud file share; moreover, they may lack owners, patching and valid business purpose.

E:

When staff lose access to documents and discover an extortion demand on a cloud file share, the needed mechanism is ransomware indicators, not this option: unexpected open management ports increase attack surface and should be monitored and closed when unauthorized; also, restricting a port does not by itself remove credential leaks or malware.

Question 85

A live dashboard needs continuous server-to-browser updates without repeated polling. Which DevOps approach meets the goal?

  1. SOAP web service
  2. GraphQL query API
  3. Idempotent message consumer
  4. WebSocket bidirectional channel
  5. REST web service interface

Explanation

Correct Answer

D:

For a situation where a live dashboard needs continuous server-to-browser updates without repeated polling, WebSockets maintain a full-duplex connection for ongoing client-server messages, although they need connection management and do not automatically guarantee durable message storage.

Incorrect Answers

A:

For the situation where a live dashboard needs continuous server-to-browser updates without repeated polling, choosing this would miss the central need for websocket bidirectional channel, because SOAP exchanges structured XML envelopes according to a formal messaging protocol and associated contracts; note that it is heavier than many simple JSON-over-HTTP integrations.

B:

The situation in which a live dashboard needs continuous server-to-browser updates without repeated polling needs websocket bidirectional channel; in contrast, GraphQL lets clients request specific fields from a typed API schema in a single query, with the additional constraint that field-level authorization and query complexity limits remain necessary.

C:

Although an idempotent consumer safely handles repeated message deliveries without applying the same business action twice, this does not replace websocket bidirectional channel in a case where a live dashboard needs continuous server-to-browser updates without repeated polling; moreover, delivery retries can occur even when a broker ordinarily attempts at-least-once processing.

E:

For the situation where a live dashboard needs continuous server-to-browser updates without repeated polling, choosing this would miss the central need for websocket bidirectional channel, because REST-style APIs expose resources using HTTP semantics such as methods, status codes and representations; note that REST does not require SOAP envelopes or a persistent WebSocket connection.

Question 86

A compliance officer demands evidence of where migrated personal information is processed and retained. Which deployment practice best meets this requirement?

  1. Migration cutover and rollback plan
  2. Data residency evaluation
  3. Refactor migration
  4. Retain migration strategy

Explanation

Correct Answer

B:

Where a compliance officer demands evidence of where migrated personal information is processed and retained, data location and jurisdiction requirements must be mapped to permissible regions and service processing paths; implementation must also recognize that choosing a region alone may not control all support, replication or transfer flows.

Incorrect Answers

A:

The situation in which a compliance officer demands evidence of where migrated personal information is processed and retained needs data residency evaluation; in contrast, a cutover plan defines measurable acceptance criteria, traffic switching and a tested route back to the old system, with the additional constraint that database divergence can make simplistic reversals unsafe after writes switch.

C:

When a compliance officer demands evidence of where migrated personal information is processed and retained, the needed mechanism is data residency evaluation, not this option: refactoring changes application code and internal design to exploit cloud-native capabilities; also, development effort and regression risk are usually greater than for a direct rehost.

D:

For the situation where a compliance officer demands evidence of where migrated personal information is processed and retained, choosing this would miss the central need for data residency evaluation, because retaining leaves a workload in its current environment when moving it is not yet justified; note that dependencies and future review dates should be documented.

Question 87

A service account's token is past its expiry when the deployment pipeline runs. Which fault or misconfiguration best explains the symptoms?

  1. Vulnerable software exploitation
  2. Expired authentication credential
  3. Insufficient resource authorization
  4. Leaked credential incident

Explanation

Correct Answer

B:

When a service account's token is past its expiry when the deployment pipeline runs, an expired password, certificate or token can cause authentication failures despite valid routes and endpoints; the corresponding design boundary is that authorizing more resource actions does not make an invalid credential acceptable.

Incorrect Answers

A:

Although an unpatched or misconfigured component can provide an attacker an entry point or unintended capabilities, this does not replace expired authentication credential in a case where a service account's token is past its expiry when the deployment pipeline runs; moreover, changing an unrelated password may not remove the exploitable code path.

C:

For the situation where a service account's token is past its expiry when the deployment pipeline runs, choosing this would miss the central need for expired authentication credential, because a valid identity can still receive 403-style authorization failures when it lacks a needed role or policy action; note that authentication success and resource authorization are different checks.

D:

The situation in which a service account's token is past its expiry when the deployment pipeline runs needs expired authentication credential; in contrast, compromised credentials require revocation, rotation, scope investigation and audit review, with the additional constraint that merely deleting a source code copy does not invalidate a stolen working token.

Question 88

A security-sensitive infrastructure change requires another engineer's approval before integration. Which DevOps component or practice is appropriate?

  1. Code review
  2. Pull request review
  3. Git merge
  4. Feature branch management

Explanation

Correct Answer

B:

For a situation where a security-sensitive infrastructure change requires another engineer's approval before integration, a pull request proposes integrating changes and creates an auditable discussion and review workflow, although opening a pull request does not automatically merge or test every change.

Incorrect Answers

A:

When a security-sensitive infrastructure change requires another engineer's approval before integration, the needed mechanism is pull request review, not this option: code review evaluates proposed code changes for correctness, security, maintainability and standards; also, review helps but cannot replace automated tests or runtime verification.

C:

The situation in which a security-sensitive infrastructure change requires another engineer's approval before integration needs pull request review; in contrast, merging integrates the histories and content changes from separate branches, with the additional constraint that conflicts may need resolution and tests after combining changes.

D:

Although branches isolate concurrent lines of development so unfinished work need not change the main release line, this does not replace pull request review in a case where a security-sensitive infrastructure change requires another engineer's approval before integration; moreover, branches eventually require integration and conflict handling.

Question 89

A hybrid router should automatically learn updated cloud network prefixes over a private link. Which cloud design or component is most appropriate?

  1. Border Gateway Protocol (BGP)
  2. Transit gateway or hub routing
  3. Site-to-site virtual private network (VPN)
  4. Network load balancer

Explanation

Correct Answer

A:

Where a hybrid router should automatically learn updated cloud network prefixes over a private link, BGP exchanges reachability information and routing decisions between participating network routers; implementation must also recognize that advertisements must be filtered and connectivity still requires correct firewall and return routes.

Incorrect Answers

B:

The situation in which a hybrid router should automatically learn updated cloud network prefixes over a private link needs border gateway protocol (bgp); in contrast, a central transit routing service connects multiple networks through a managed hub-and-spoke topology, with the additional constraint that routes and attachment policies still need deliberate configuration.

C:

Although an encrypted tunnel carries traffic between existing networks over a shared Internet connection, this does not replace border gateway protocol (bgp) in a case where a hybrid router should automatically learn updated cloud network prefixes over a private link; moreover, throughput and latency still depend on Internet conditions and endpoint capacity.

D:

When a hybrid router should automatically learn updated cloud network prefixes over a private link, the needed mechanism is border gateway protocol (bgp), not this option: a network-layer load balancer distributes transport connections such as TCP or UDP with low protocol overhead; also, it usually does not interpret URL paths or application cookies for routing.

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.

CompTIA Cloud+ (CV0-004) Practice Tests