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

Question 170

An application creates cloud storage containers automatically from approved service requests. Which security practice is most directly relevant?

  1. Cloud command-line interface (CLI)
  2. Group-based access management
  3. OpenID Connect (OIDC)
  4. SAML identity federation
  5. Cloud SDK and API automation

Explanation

Correct Answer

E:

Where an application creates cloud storage containers automatically from approved service requests, SDKs and provider APIs let programs manage cloud services through authenticated programmatic calls; implementation must also recognize that tokens need limited permissions and secure handling.

Incorrect Answers

A:

The situation in which an application creates cloud storage containers automatically from approved service requests needs cloud sdk and api automation; in contrast, a cloud CLI offers scripted management commands for administrators and automation systems, with the additional constraint that the CLI still relies on valid credentials, role authorization and current context.

B:

Although group-based grants assign permissions to identity groups so membership drives access for many users, this does not replace cloud sdk and api automation in a case where an application creates cloud storage containers automatically from approved service requests; moreover, group membership and role scope must both be governed.

C:

When an application creates cloud storage containers automatically from approved service requests, the needed mechanism is cloud sdk and api automation, 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.

D:

For the situation where an application creates cloud storage containers automatically from approved service requests, choosing this would miss the central need for cloud sdk and api automation, because SAML exchanges signed identity assertions to enable enterprise single sign-on with a trusted identity provider; note that assertion audience and trust configuration must match the service provider.

Question 171

An API update should initially reach only 3 percent of users for error-rate evaluation. The team adopts Canary deployment. Which practical constraint remains important?

  1. Flags do not replace versioning, testing or a recoverable artifact.
  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. Destructive column removal before old workers retire can break rollback.

Explanation

Correct Answer

C:

This is the limitation specific to Canary deployment in a situation where an API update should initially reach only 3 percent of users for error-rate evaluation; its underlying operation is that canary releases direct a small fraction of real traffic to the new version before expanding exposure.

Incorrect Answers

A:

This qualification applies instead to Feature flag rollout: feature flags control exposure to functionality independently of binary deployment; it does not identify the defining limitation of Canary deployment when an API update should initially reach only 3 percent of users for error-rate evaluation.

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 Canary deployment when an API update should initially reach only 3 percent of users for error-rate evaluation.

D:

This qualification applies instead to Database backward-compatibility during rollout: expand-and-contract schema changes allow old and new application versions to coexist during staggered deployment; it does not identify the defining limitation of Canary deployment when an API update should initially reach only 3 percent of users for error-rate evaluation.

Question 172

A hypervisor host runs too many busy VMs and all show CPU ready-time spikes. The team suspects Resource oversubscription. Which explanation supports that diagnosis?

  1. API throttling restricts request frequency and may require exponential backoff with jitter and bounded retries.
  2. A quota limits how many resources or units a cloud account may consume within a scope.
  3. An outage in a cloud management service can block creation or modification even when running resources continue serving.
  4. Overcommitting shared compute or storage resources can cause contention and unpredictable performance.

Explanation

Correct Answer

D:

This explains the situation in which a hypervisor host runs too many busy VMs and all show CPU ready-time spikes, by describing the distinctive operation of Resource oversubscription; the operational boundary is that assigned virtual resources are not the same as guaranteed physical throughput.

Incorrect Answers

A:

That description belongs to API rate throttling, which solves a different need; it does not describe Resource oversubscription for the case in which a hypervisor host runs too many busy VMs and all show CPU ready-time spikes. A limitation of that alternative, distinct from Resource oversubscription, is that retrying instantly in a tight loop can worsen throttling.

B:

That description belongs to Cloud service quota exhaustion, which solves a different need; it does not describe Resource oversubscription for the case in which a hypervisor host runs too many busy VMs and all show CPU ready-time spikes. A limitation of that alternative, distinct from Resource oversubscription, is that increasing an application timeout does not raise a provider resource limit.

C:

That description belongs to Control-plane service outage, which solves a different need; it does not describe Resource oversubscription for the case in which a hypervisor host runs too many busy VMs and all show CPU ready-time spikes. A limitation of that alternative, distinct from Resource oversubscription, is that data-plane status and management-plane status must be checked separately.

Question 173

A stateless HTTP API returns JSON representations of catalog items. Which integration or operations tool fits this need?

  1. Idempotent message consumer
  2. SOAP web service
  3. REST web service interface
  4. Event-driven publish-subscribe integration

Explanation

Correct Answer

C:

Where a stateless HTTP API returns JSON representations of catalog items, REST-style APIs expose resources using HTTP semantics such as methods, status codes and representations; implementation must also recognize that REST does not require SOAP envelopes or a persistent WebSocket connection.

Incorrect Answers

A:

For the situation where a stateless HTTP API returns JSON representations of catalog items, choosing this would miss the central need for rest web service interface, because an idempotent consumer safely handles repeated message deliveries without applying the same business action twice; note that delivery retries can occur even when a broker ordinarily attempts at-least-once processing.

B:

The situation in which a stateless HTTP API returns JSON representations of catalog items needs rest web service interface; in contrast, SOAP exchanges structured XML envelopes according to a formal messaging protocol and associated contracts, with the additional constraint that it is heavier than many simple JSON-over-HTTP integrations.

D:

When a stateless HTTP API returns JSON representations of catalog items, the needed mechanism is rest web service interface, not this option: publish-subscribe systems emit events for independent subscribers without direct synchronous calls to each recipient; also, consumers still need ordering, idempotency and failure handling where required.

Question 174

An operator restores a missing file into the same working directory it occupied. Which operations approach is best suited to this situation?

  1. Bulk recovery
  2. Off-site backup copy
  3. In-place recovery
  4. Parallel recovery

Explanation

Correct Answer

C:

When an operator restores a missing file into the same working directory it occupied, in-place recovery restores data onto its original resource or location; the corresponding design boundary is that it can overwrite current state and may prolong unavailability during repair.

Incorrect Answers

A:

The situation in which an operator restores a missing file into the same working directory it occupied needs in-place recovery; in contrast, bulk recovery restores a complete system, volume or large dataset after a major failure, with the additional constraint that it may overwrite more current resources if used unnecessarily for a small incident.

B:

Although an off-site copy resides in a separate location or failure domain from the primary system, this does not replace in-place recovery in a case where an operator restores a missing file into the same working directory it occupied; moreover, physical or logical separation must match disaster and residency constraints.

D:

For the situation where an operator restores a missing file into the same working directory it occupied, choosing this would miss the central need for in-place recovery, because parallel recovery restores into an additional isolated environment while leaving the original available or preserved; note that it requires extra capacity and careful cutover planning.

Question 175

An on-call engineer receives duplicate pages from every replica of one failed service. The operations team considers Alert deduplication and grouping. Which explanation describes its function?

  1. An alert response can invoke controlled remediation or ticket routing after conditions and safeguards are met.
  2. Time-series metrics show numerical behavior such as CPU, memory, latency and throughput over time.
  3. Grouping related alerts reduces noise by consolidating signals from the same underlying failure.
  4. An alert rule evaluates selected signals against a meaningful threshold or condition and triggers a response.

Explanation

Correct Answer

C:

This applies to the situation in which an on-call engineer receives duplicate pages from every replica of one failed service, by describing the distinctive operation of Alert deduplication and grouping; the operational boundary is that excessive suppression can hide independent incidents if grouping criteria are too broad.

Incorrect Answers

A:

That description belongs to Observability response automation, which solves a different need; it does not describe Alert deduplication and grouping for the case in which an on-call engineer receives duplicate pages from every replica of one failed service. A limitation of that alternative, distinct from Alert deduplication and grouping, is that automated fixes should be idempotent and avoid dangerous feedback loops.

B:

That description belongs to Resource utilization metrics, which solves a different need; it does not describe Alert deduplication and grouping for the case in which an on-call engineer receives duplicate pages from every replica of one failed service. A limitation of that alternative, distinct from Alert deduplication and grouping, is that a single average can hide instance skew or short spikes.

D:

That description belongs to Actionable alert threshold, which solves a different need; it does not describe Alert deduplication and grouping for the case in which an on-call engineer receives duplicate pages from every replica of one failed service. A limitation of that alternative, distinct from Alert deduplication and grouping, is that thresholds must avoid transient noise and should reflect service impact.

Question 176

An operating system reaches vendor end of security support next quarter. Which operational practice addresses the requirement?

  1. End-of-support remediation
  2. Patch validation staging
  3. Asset ownership and life-cycle tagging
  4. Persistent data life-cycle management

Explanation

Correct Answer

A:

Where an operating system reaches vendor end of security support next quarter, unsupported software no longer receives expected security fixes and should be upgraded, isolated or replaced on a risk-driven schedule; implementation must also recognize that keeping it running unchanged increases exposure despite apparent availability.

Incorrect Answers

B:

For the situation where an operating system reaches vendor end of security support next quarter, choosing this would miss the central need for end-of-support remediation, because updates should be tested in representative nonproduction environments before broad rollout when risk warrants; note that a passing unit test alone may not cover real dependency behavior.

C:

The situation in which an operating system reaches vendor end of security support next quarter needs end-of-support remediation; in contrast, ownership and expiration metadata help route maintenance and identify resources to review or retire, with the additional constraint that tags are governance aids and require processes to act on them.

D:

Although persistent data requires explicit retention, migration and protection when compute is replaced or decommissioned, this does not replace end-of-support remediation in a case where an operating system reaches vendor end of security support next quarter; moreover, deleting a compute resource must not inadvertently erase required records.

Question 177

A sales department needs hosted customer relationship management without deploying application binaries. An architect proposes Software as a service (SaaS). Which statement accurately describes its role?

  1. A managed application runtime lets developers deploy code without maintaining the underlying guest operating system or runtime infrastructure.
  2. The provider delivers a complete application that subscribers configure and use over a network.
  3. Customers typically remain accountable for data classification, identities and access configuration even when using managed services.
  4. An event-invoked function runs short units of code without a permanently managed server process.

Explanation

Correct Answer

B:

This applies to the situation in which a sales department needs hosted customer relationship management without deploying application binaries, by describing the distinctive operation of Software as a service (SaaS); the operational boundary is that customers still govern users, permissions, settings and their content in the hosted application.

Incorrect Answers

A:

That description belongs to Platform as a service (PaaS), which solves a different need; it does not describe Software as a service (SaaS) for the case in which a sales department needs hosted customer relationship management without deploying application binaries. A limitation of that alternative, distinct from Software as a service (SaaS), is that application code, data and application identities still require customer governance.

C:

That description belongs to Shared responsibility for tenant data and identities, which solves a different need; it does not describe Software as a service (SaaS) for the case in which a sales department needs hosted customer relationship management without deploying application binaries. A limitation of that alternative, distinct from Software as a service (SaaS), is that provider security of the cloud does not automatically make tenant configurations secure.

D:

That description belongs to Function as a service (FaaS), which solves a different need; it does not describe Software as a service (SaaS) for the case in which a sales department needs hosted customer relationship management without deploying application binaries. A limitation of that alternative, distinct from Software as a service (SaaS), is that execution limits, cold starts and state handling can affect suitability for long-running tasks.

Question 178

A low-risk application stays on premises while more suitable services migrate first. The migration team selects Retain migration strategy. Which statement best explains that approach?

  1. Dependency discovery identifies application calls, identity, data and network flows before migration sequencing.
  2. Migration waves group related workloads into ordered batches based on dependencies and business risk.
  3. Data location and jurisdiction requirements must be mapped to permissible regions and service processing paths.
  4. Retaining leaves a workload in its current environment when moving it is not yet justified.

Explanation

Correct Answer

D:

This applies to the situation in which a low-risk application stays on premises while more suitable services migrate first, by describing the distinctive operation of Retain migration strategy; the operational boundary is that dependencies and future review dates should be documented.

Incorrect Answers

A:

That description belongs to Application dependency mapping, which solves a different need; it does not describe Retain migration strategy for the case in which a low-risk application stays on premises while more suitable services migrate first. A limitation of that alternative, distinct from Retain migration strategy, is that moving only one component without its dependencies can produce hidden failures.

B:

That description belongs to Migration-wave planning, which solves a different need; it does not describe Retain migration strategy for the case in which a low-risk application stays on premises while more suitable services migrate first. A limitation of that alternative, distinct from Retain migration strategy, is that arbitrary simultaneous moves can magnify outages and complicate rollback.

C:

That description belongs to Data residency evaluation, which solves a different need; it does not describe Retain migration strategy for the case in which a low-risk application stays on premises while more suitable services migrate first. A limitation of that alternative, distinct from Retain migration strategy, is that choosing a region alone may not control all support, replication or transfer flows.

Question 179

Two scanners report the same flaw using different prose and need a common reference. Which security issue or safeguard should the team identify?

  1. Vulnerability scanning scope
  2. Compensating security control
  3. Common Vulnerabilities and Exposures (CVE)
  4. Asset vulnerability inventory
  5. Vulnerability remediation

Explanation

Correct Answer

C:

Where two scanners report the same flaw using different prose and need a common reference, a CVE identifier references a publicly cataloged vulnerability to aid consistent tracking across tools and vendors; implementation must also recognize that a CVE ID alone does not specify exploitability in a particular environment.

Incorrect Answers

A:

Although a scan scope defines authorized systems, cloud accounts, networks and asset classes to assess, this does not replace common vulnerabilities and exposures (cve) in a case where two scanners report the same flaw using different prose and need a common reference; moreover, missing ephemeral instances or unsupported targets can create false confidence in coverage.

B:

When two scanners report the same flaw using different prose and need a common reference, the needed mechanism is common vulnerabilities and exposures (cve), not this option: a compensating control reduces risk when a direct fix cannot be applied immediately; also, it should be documented and time-bounded; it is not equivalent to removing the flaw.

D:

The situation in which two scanners report the same flaw using different prose and need a common reference needs common vulnerabilities and exposures (cve); in contrast, asset identification ties discovered vulnerabilities to the actual software versions and deployed resources, with the additional constraint that untracked images and abandoned instances can hide exposure.

E:

Although remediation removes or reduces an identified flaw through patches, configuration fixes or component replacement, this does not replace common vulnerabilities and exposures (cve) in a case where two scanners report the same flaw using different prose and need a common reference; moreover, a scan finding remains open until the corrective change is validated.

Question 180

A payment service should reach only approved external settlement endpoints. Which security control or security concept best applies?

  1. Network security group (NSG)
  2. Network access control list (network ACL)
  3. Egress network filtering
  4. Data loss prevention (DLP)

Explanation

Correct Answer

C:

When a payment service should reach only approved external settlement endpoints, outbound firewall policies restrict which external destinations workloads can contact; the corresponding design boundary is that they do not replace detection of application compromise or data classification.

Incorrect Answers

A:

When a payment service should reach only approved external settlement endpoints, the needed mechanism is egress network filtering, not this option: security groups apply virtual firewall policies to cloud network interfaces, instances or similar scope; also, provider defaults and statefulness vary; rules alone do not create missing routes.

B:

For the situation where a payment service should reach only approved external settlement endpoints, choosing this would miss the central need for egress network filtering, because network ACLs filter network traffic at an associated network boundary or subnet scope using defined rules; note that stateful versus stateless behavior differs by provider and should be verified.

D:

Although DLP policies detect or restrict sensitive information leaving approved channels or destinations, this does not replace egress network filtering in a case where a payment service should reach only approved external settlement endpoints; moreover, accurate classification and policy scope determine effectiveness.

CompTIA Cloud+ (CV0-004) Practice Tests