
EC-CouncilCertified DevSecOps Engineer
Domain 5Objective 3
Infrastructure as Code (IaC) Security ECDE Practice Questions (Page 7)
Part of the Release and Deploy Stage domain, which makes up ~14% of our current practice bank.
51questions here
11free pages
9concepts
Questions 31–35
- 31
What is the primary security benefit of using Infrastructure as Code (IaC) in the release and deploy stage?
Select an answer first - 32
A company runs a web application on a set of EC2 instances that are updated in-place using configuration management tools. After a recent security incident, the security team wants to reduce the attack surface and ensure that any change to the base image results in a completely new instance, rather than modifying existing ones. Which strategy should the team adopt?
Select an answer first - 33
A team is using Terraform to provision AWS resources. They need to pass database passwords to an EC2 instance's user data script. The security team mandates that secrets must not be stored in the Terraform state file or in the code repository. Which approach should the team use?
Select an answer first - 34
A company uses Terraform to manage a production environment. They have a scheduled job that runs 'terraform plan' and alerts on drift. Recently, the job has been alerting on a security group rule that was manually added for a temporary troubleshooting session. The team wants to maintain security posture but also avoid alert fatigue. What is the most effective approach?
Select an answer first - 35
A multi-team organization wants to enforce that all Terraform deployments use approved resource types and tag standards. They want to automate this enforcement in the CI pipeline. Which tool should they choose?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “ECDE” is a trademark of its owner, used for identification only.