20+ practice questions focused on Deployment — one of the most tested topics on the CompTIA Cloud+ CV0-004 exam. Each question includes a detailed explanation so you learn why the right answer is correct.
Start Deployment PracticeA company is using Azure to host a web application. The application is deployed using ARM templates. The operations team has noticed that some resources have been manually modified via the Azure portal, causing configuration drift. The team wants to detect these changes and optionally revert them to the template-defined state. Which Azure feature should they use?
Explanation: The 'what-if' operation in Azure Resource Manager templates allows you to preview the changes that will be applied to resources. By running a what-if operation against the current state of resources, the operations team can detect configuration drift by comparing the current state with the desired state defined in the ARM template. This feature also supports optional remediation by applying the template again. In contrast, Azure Resource Graph is a query tool for exploring resources but does not provide native drift detection or remediation.
A company is adopting a blue/green deployment strategy for their web application running on AWS. They have two identical environments (blue and green) behind an Application Load Balancer. What must they change to switch traffic from blue to green?
Explanation: In a blue/green deployment, traffic is directed to the active environment. Since both environments are behind an Application Load Balancer, the simplest way to switch traffic from blue to green is to update the DNS record to point to the green environment's IP address. This approach ensures a seamless cutover, as the DNS record change propagates and new users are directed to the green environment. Other options like restarting the web server, updating the security group, or modifying the Auto Scaling group do not directly switch traffic between environments. Therefore, option C is correct.
A cloud engineer is using Ansible to automate cloud resource provisioning. Which statement about Ansible is true?
Explanation: Ansible uses YAML for playbook definitions. Playbooks are YAML files that define automation tasks, making them human-readable and easy to write. Ansible is agentless (uses SSH/WinRM), not JSON, and can manage both cloud and on-premises servers.
An engineer is deploying a Kubernetes application on EKS and needs to ensure that pods are only considered healthy after a startup delay, and that traffic stops to unhealthy pods. Which two probe types should be configured in the deployment manifest?
Explanation: Startup probes delay health checks until the pod has had time to initialize, which satisfies the startup delay requirement. Readiness probes control when the pod receives traffic, stopping traffic to unhealthy pods. Together, they meet both needs. Liveness probes restart unhealthy pods but do not handle startup delay or traffic routing.
An organization uses a CI/CD pipeline with Jenkins. The pipeline includes stages: source, build, test, deploy, and verify. During the deploy stage, the team wants to automatically roll back if the verify stage fails. Which Jenkins feature supports this?
Explanation: In Jenkins, the declarative pipeline's 'post' section allows defining actions that run after the pipeline's stages complete, with conditions such as 'failure' to trigger a rollback. This feature directly supports automatic rollback if the verify stage fails, as the rollback can be specified in the post block. Option C, 'Post-build actions with rollback script,' refers to a legacy feature that is not part of the pipeline syntax and is less suitable for stage-based rollback. Therefore, D is correct.
+15 more Deployment questions available
Practice all Deployment questions1. Baseline your knowledge
Start with 10 questions to gauge your current understanding of Deployment. This tells you whether you need a concept refresher or just practice.
2. Review every explanation
For each question — right or wrong — read the full explanation. Understanding why an answer is correct is more valuable than knowing the answer itself.
3. Focus on exam traps
Deployment questions on the CV0-004 frequently use trap wording. Look for subtle differences in answers that test your precision, not just general knowledge.
4. Reach 80% consistently
Do repeated sessions until you score 80%+ three times in a row. Then move to mixed-mode practice to test cross-topic recall under realistic conditions.
The exact number varies per candidate. Deployment is tested as part of the CompTIA Cloud+ CV0-004 blueprint. Practicing with targeted Deployment questions ensures you can handle any format or difficulty that appears.
Yes. Courseiva provides free CV0-004 practice questions across all exam topics and domains. The platform includes topic-based practice, mock exams, missed-question review, bookmarked questions, and readiness tracking — no account required.
Difficulty is subjective, but Deployment is a high-priority exam concept tested in multiple ways — direct recall, scenario analysis, and command-output interpretation. Consistent practice is the best way to build confidence.
Launch a full Deployment practice session with instant scoring and detailed explanations.
Start Deployment Practice →