A company needs to deploy a web application quickly and reliably. Which approach is best?
CI/CD automates testing and deployment, improving reliability and speed.
Why this answer
A CI/CD pipeline with automated deployment is the best approach because it integrates code changes, runs tests, and deploys to production in a repeatable, auditable manner. This ensures speed, consistency, and rollback capability, which are critical for reliable web application deployment in a cloud or on-premises environment.
Exam trap
CompTIA Cloud+ emphasizes that while manual or semi-automated methods (like manual blue-green) may seem quick, they lack the repeatability, audit trails, and automated rollback that a full CI/CD pipeline provides. Candidates often overlook that 'quick and reliable' in the exam context specifically requires automation and consistency.
How to eliminate wrong answers
Option A is wrong because FTP is an unencrypted, manual file transfer protocol that lacks automation, version control, and rollback mechanisms, making it slow and error-prone for reliable deployment. Option B is wrong because performing a blue-green deployment manually introduces human error risk, lacks automated health checks, and does not provide the consistency of an automated pipeline. Option D is wrong because manually copying files to the server is error-prone, lacks versioning, and cannot ensure consistent configuration across environments, leading to configuration drift and deployment failures.