Exam style questions across every VA-002-P domain
Last Update 4 days ago
Total Questions : 200
Start with our free VA-002-P practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real HashiCorp Security Automation Certification exam. Each VA-002-P exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your HashiCorp weak domains, see where you're losing marks, and build a focused study plan in minutes.
Which of the following Terraform files should be ignored by Git when committing code to a repo? (select two)
True or False? Each Terraform workspace uses its own state file to manage the infrastructure associated with that particular workspace.
From the code below, identify the implicit dependency:
1. resource "aws_eip" "public_ip" {
2. vpc = true
3. instance = aws_instance.web_server.id
4. }
5. resource "aws_instance" "web_server" {
6. ami = "ami-2757f631"
7. instance_type = "t2.micro"
8. depends_on = [aws_s3_bucket.company_data]
9. }
When using constraint expressions to signify a version of a provider, which of the following are valid provider versions that satisfy the expression found in the following code snippet: (select two)
1. terraform {
2. required_providers {
3. aws = "~> 1.2.0"
4. }
5. }
Which Terraform command will check and report errors within modules, attribute names, and value types to make sure they are syntactically valid and internally consistent?
A user has created a module called "my_test_module" and committed it to GitHub. Over time, several commits have been made with updates to the module, each tagged in GitHub with an incremental version number. Which of the following lines would be required in a module configuration block in terraform to select tagged version v1.0.4?
In the example below, where is the value of the DNS record's IP address originating from?
1. resource "aws_route53_record" "www" {
2. zone_id = aws_route53_zone.primary.zone_id
3. name = "www.helloworld.com "
4. type = "A"
5. ttl = "300"
6. records = [module.web_server.instance_ip_addr]
7. }
When Vault is sealed, which are the only two options available to a Vault administrator? (select two)
When creating a dynamic secret in Vault, Vault returns what value that can be used to renew or revoke the lease?
From the answers below, select the advantages of using Infrastructure as Code. (select four)
