CompTIA Cloud+ (CV0-002) — Question 154

As part of a nightly testing process, new version of an application is deployed to the set of web servers in the development environment.
Which of the following is the BEST way to ensure the test environment is consistent with the previous night's test?

Answer options

Correct answer: D

Explanation

The correct answer is D because reverting to a previous state with configuration management tools ensures that all settings and configurations are restored accurately, providing a consistent test environment. Options A and B may not guarantee the same state as they involve creating or modifying environments, which could introduce discrepancies. Option C does not address the need for consistency, as it simply replaces the application without ensuring the rest of the environment matches the previous state.