passdrill
AWS SAA-C03 · VPC & Networking · Card 014/024 easy

A VPC has enableDnsSupport set to true and enableDnsHostnames set to false. An EC2 instance in this VPC is launched with a public IPv4 address. What is the practical effect of this specific combination?

  1. The instance can still resolve DNS names (including public internet hostnames) using the Amazon-provided DNS resolver, but it is not assigned a public DNS hostname of its own, and the resolver cannot resolve Amazon-provided private DNS hostnames
  2. The instance cannot resolve any DNS names at all, because enableDnsHostnames is false
  3. The instance is assigned a public DNS hostname, but all resolver queries fail
  4. AWS rejects this combination and forces both attributes to the same value
Next card → Shuffle