CV0-004 • Practice Test 17
Free CV0-004 practice test — 15 questions with explanations. Set 17. No signup required.
A cloud engineer is reviewing a Terraform configuration for deploying a web server. The instance is created successfully, but the web server does not start. What is the most likely cause?
Refer to the exhibit.
```
resource "aws_instance" "web" {
ami = "ami-0abcdef1234567890"
instance_type = "t2.micro"
subnet_id = "subnet-abc123"
vpc_security_group_ids = ["sg-12345678"]
user_data = <<-EOF
#!/bin/bash
yum install -y httpd
systemctl start httpd
EOF
}
```