CompTIA Cloud+ CV0-004 Practice Test 65
Question 640
A cloud engineer is asked to advise a financial technology firm on its account application. The stakeholder describes the situation as follows: A tested feature branch should become part of the approved main branch without silently replacing teammate work. What is the best response to that specific requirement?
- Overwrite main history without checking for conflicts
- Change all repository tags to the same value
- Merge the reviewed branch and resolve conflicts deliberately
- Create a feature branch and commit the changes there
Explanation
Correct Answer
C:Controlled merging integrates parallel histories while preserving review evidence. This recommendation is justified for its account application because a tested feature branch should become part of the approved main branch without silently replacing teammate work.
Incorrect Answers
A:Blind replacement may discard concurrent contributions. The requirement at a financial technology firm is better met when the team chooses to merge the reviewed branch and resolve conflicts deliberately.
B:Tag naming does not integrate the desired code. The requirement at a financial technology firm is better met when the team chooses to merge the reviewed branch and resolve conflicts deliberately.
D:Branches isolate parallel work before review and integration. For this cloud architecture decision, “Create a feature branch and commit the changes there” does not supply the requested “Merge the reviewed branch and resolve conflicts deliberately”. Controlled merging integrates parallel histories while preserving review evidence.
Question 641
At a telecom engineering group, engineers responsible for its service application are planning a change. The requirement is: An accidental credential was committed to a repository and then removed in the latest commit. Which cloud action most directly satisfies it?
- Revoke the exposed credential and follow approved history-cleanup procedures
- Assume deletion in the latest file invalidates the secret
- Increase the secret's length while leaving it active
- Publish the repository publicly to obtain more reviews
Explanation
Correct Answer
A:A deleted line may persist in repository history, so credential revocation is essential. For a telecom engineering group, the requirement concerns an accidental credential was committed to a repository and then removed in the latest commit. The selected action addresses that requirement directly.
Incorrect Answers
B:Older commits and clones may still expose it. For its service application, the requirement instead calls for the team to revoke the exposed credential and follow approved history-cleanup procedures.
C:An already exposed secret remains compromised regardless of original complexity. For its service application, the requirement instead calls for the team to revoke the exposed credential and follow approved history-cleanup procedures.
D:Publicity amplifies potential secret exposure. For its service application, the requirement instead calls for the team to revoke the exposed credential and follow approved history-cleanup procedures.
Question 642
A readiness review for a media technology group focuses on its subscription service. The reviewers record this operational need: An accidental credential was committed to a repository and then removed in the latest commit. What should the team select?
- Create a feature branch and commit the changes there
- Revoke the exposed credential and follow approved history-cleanup procedures
- Increase the secret's length while leaving it active
- Publish the repository publicly to obtain more reviews
Explanation
Correct Answer
B:A deleted line may persist in repository history, so credential revocation is essential. In the context of its subscription service, this choice meets the stated constraint: an accidental credential was committed to a repository and then removed in the latest commit.
Incorrect Answers
A:Branches isolate parallel work before review and integration. For this cloud architecture decision, “Create a feature branch and commit the changes there” does not supply the requested “Revoke the exposed credential and follow approved history-cleanup procedures”. A deleted line may persist in repository history, so credential revocation is essential.
C:An already exposed secret remains compromised regardless of original complexity. The review at a media technology group calls for the team to revoke the exposed credential and follow approved history-cleanup procedures instead.
D:Publicity amplifies potential secret exposure. The review at a media technology group calls for the team to revoke the exposed credential and follow approved history-cleanup procedures instead.
Question 643
During a technical design session, an analytics company is evaluating its data platform before a controlled rollout. The issue under discussion is: An accidental credential was committed to a repository and then removed in the latest commit. Which solution best fits?
- Assume deletion in the latest file invalidates the secret
- Open a pull request with review and automated checks
- Revoke the exposed credential and follow approved history-cleanup procedures
- Publish the repository publicly to obtain more reviews
Explanation
Correct Answer
C:A deleted line may persist in repository history, so credential revocation is essential. That is the relevant cloud design or operating action for an analytics company, given that an accidental credential was committed to a repository and then removed in the latest commit.
Incorrect Answers
A:Older commits and clones may still expose it. This does not deliver the capability requested for its data platform; the team should revoke the exposed credential and follow approved history-cleanup procedures instead.
B:Pull requests expose diffs and gate integration through review and tests. For this cloud architecture decision, “Open a pull request with review and automated checks” does not supply the requested “Revoke the exposed credential and follow approved history-cleanup procedures”. A deleted line may persist in repository history, so credential revocation is essential.
D:Publicity amplifies potential secret exposure. This does not deliver the capability requested for its data platform; the team should revoke the exposed credential and follow approved history-cleanup procedures instead.
Question 644
A cloud engineer is asked to advise an online retailer on its order API. The stakeholder describes the situation as follows: An accidental credential was committed to a repository and then removed in the latest commit. What is the best response to that specific requirement?
- Assume deletion in the latest file invalidates the secret
- Increase the secret's length while leaving it active
- Create a feature branch and commit the changes there
- Revoke the exposed credential and follow approved history-cleanup procedures
Explanation
Correct Answer
D:A deleted line may persist in repository history, so credential revocation is essential. This recommendation is justified for its order API because an accidental credential was committed to a repository and then removed in the latest commit.
Incorrect Answers
A:Older commits and clones may still expose it. The requirement at an online retailer is better met when the team chooses to revoke the exposed credential and follow approved history-cleanup procedures.
B:An already exposed secret remains compromised regardless of original complexity. The requirement at an online retailer is better met when the team chooses to revoke the exposed credential and follow approved history-cleanup procedures.
C:Branches isolate parallel work before review and integration. For this cloud architecture decision, “Create a feature branch and commit the changes there” does not supply the requested “Revoke the exposed credential and follow approved history-cleanup procedures”. A deleted line may persist in repository history, so credential revocation is essential.
Question 645
At a media technology group, engineers responsible for its subscription service are planning a change. The requirement is: A team manually builds a web service after each merge and sometimes forgets unit tests. Which cloud action most directly satisfies it?
- Run tests only after a production outage
- Run automated builds and tests on every approved code integration
- Build separately on each developer laptop without recording dependencies
- Disable test failures in the pipeline
Explanation
Correct Answer
B:Continuous integration detects regressions early and makes build outputs repeatable. For a media technology group, the requirement concerns a team manually builds a web service after each merge and sometimes forgets unit tests. The selected action addresses that requirement directly.
Incorrect Answers
A:Post-incident testing misses pre-release quality gates. For its subscription service, the requirement instead calls for the team to run automated builds and tests on every approved code integration.
C:Laptop-specific builds can yield inconsistent artifacts. For its subscription service, the requirement instead calls for the team to run automated builds and tests on every approved code integration.
D:Ignoring failed tests defeats the integration gate. For its subscription service, the requirement instead calls for the team to run automated builds and tests on every approved code integration.
Question 646
A readiness review for a travel startup focuses on its booking engine. The reviewers record this operational need: A team manually builds a web service after each merge and sometimes forgets unit tests. What should the team select?
- Configure ordered CI/CD quality gates that block promotion on failure
- Build separately on each developer laptop without recording dependencies
- Run automated builds and tests on every approved code integration
- Disable test failures in the pipeline
Explanation
Correct Answer
C:Continuous integration detects regressions early and makes build outputs repeatable. In the context of its booking engine, this choice meets the stated constraint: a team manually builds a web service after each merge and sometimes forgets unit tests.
Incorrect Answers
A:Automated gates prevent a known failing artifact from reaching production. For this cloud architecture decision, “Configure ordered CI/CD quality gates that block promotion on failure” does not supply the requested “Run automated builds and tests on every approved code integration”. Continuous integration detects regressions early and makes build outputs repeatable.
B:Laptop-specific builds can yield inconsistent artifacts. The review at a travel startup calls for the team to run automated builds and tests on every approved code integration instead.
D:Ignoring failed tests defeats the integration gate. The review at a travel startup calls for the team to run automated builds and tests on every approved code integration instead.
Question 647
During a technical design session, a public sector product team is evaluating a digital forms service before a controlled rollout. The issue under discussion is: A team manually builds a web service after each merge and sometimes forgets unit tests. Which solution best fits?
- Run tests only after a production outage
- Publish and consume versioned Debian-compatible packages from a controlled repository
- Disable test failures in the pipeline
- Run automated builds and tests on every approved code integration
Explanation
Correct Answer
D:Continuous integration detects regressions early and makes build outputs repeatable. That is the relevant cloud design or operating action for a public sector product team, given that a team manually builds a web service after each merge and sometimes forgets unit tests.
Incorrect Answers
A:Post-incident testing misses pre-release quality gates. This does not deliver the capability requested for a digital forms service; the team should run automated builds and tests on every approved code integration instead.
B:Package repositories provide traceable distribution to compatible target systems. For this cloud architecture decision, “Publish and consume versioned Debian-compatible packages from a controlled repository” does not supply the requested “Run automated builds and tests on every approved code integration”. Continuous integration detects regressions early and makes build outputs repeatable.
C:Ignoring failed tests defeats the integration gate. This does not deliver the capability requested for a digital forms service; the team should run automated builds and tests on every approved code integration instead.
Question 648
A cloud engineer is asked to advise a telecom engineering group on its service application. The stakeholder describes the situation as follows: A team manually builds a web service after each merge and sometimes forgets unit tests. What is the best response to that specific requirement?
- Run automated builds and tests on every approved code integration
- Run tests only after a production outage
- Build separately on each developer laptop without recording dependencies
- Promote the immutable tested image digest through environments
Explanation
Correct Answer
A:Continuous integration detects regressions early and makes build outputs repeatable. This recommendation is justified for its service application because a team manually builds a web service after each merge and sometimes forgets unit tests.
Incorrect Answers
B:Post-incident testing misses pre-release quality gates. The requirement at a telecom engineering group is better met when the team chooses to run automated builds and tests on every approved code integration.
C:Laptop-specific builds can yield inconsistent artifacts. The requirement at a telecom engineering group is better met when the team chooses to run automated builds and tests on every approved code integration.
D:Digest-based promotion preserves artifact identity between test and production. For this cloud architecture decision, “Promote the immutable tested image digest through environments” does not supply the requested “Run automated builds and tests on every approved code integration”. Continuous integration detects regressions early and makes build outputs repeatable.
Question 649
At an analytics company, engineers responsible for its data platform are planning a change. The requirement is: A container build succeeds but production must deploy exactly the artifact that passed security testing. Which cloud action most directly satisfies it?
- Rebuild an unpinned image from changing dependencies during deployment
- Deploy the floating latest tag without verification
- Promote the immutable tested image digest through environments
- Copy the source directory to servers and compile ad hoc
Explanation
Correct Answer
C:Digest-based promotion preserves artifact identity between test and production. For an analytics company, the requirement concerns a container build succeeds but production must deploy exactly the artifact that passed security testing. The selected action addresses that requirement directly.
Incorrect Answers
A:A fresh rebuild may differ from the tested artifact. For its data platform, the requirement instead calls for the team to promote the immutable tested image digest through environments.
B:Mutable tags can point to unreviewed images. For its data platform, the requirement instead calls for the team to promote the immutable tested image digest through environments.
D:On-host builds break tested artifact provenance. For its data platform, the requirement instead calls for the team to promote the immutable tested image digest through environments.
Question 650
A readiness review for an online retailer focuses on its order API. The reviewers record this operational need: A container build succeeds but production must deploy exactly the artifact that passed security testing. What should the team select?
- Configure ordered CI/CD quality gates that block promotion on failure
- Deploy the floating latest tag without verification
- Copy the source directory to servers and compile ad hoc
- Promote the immutable tested image digest through environments
Explanation
Correct Answer
D:Digest-based promotion preserves artifact identity between test and production. In the context of its order API, this choice meets the stated constraint: a container build succeeds but production must deploy exactly the artifact that passed security testing.
Incorrect Answers
A:Automated gates prevent a known failing artifact from reaching production. For this cloud architecture decision, “Configure ordered CI/CD quality gates that block promotion on failure” does not supply the requested “Promote the immutable tested image digest through environments”. Digest-based promotion preserves artifact identity between test and production.
B:Mutable tags can point to unreviewed images. The review at an online retailer calls for the team to promote the immutable tested image digest through environments instead.
C:On-host builds break tested artifact provenance. The review at an online retailer calls for the team to promote the immutable tested image digest through environments instead.