Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Associate Cloud Engineer practice bank has an additional 2,014 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your organization is hosting a public-facing web server on a Compute Engine virtual machine (VM) in Google Cloud. You need to configure name resolution for your registered custom domain so that internet clients can consistently access the web server, even if the VM is stopped, restarted, or updated.
Which combination of actions should you perform to meet these requirements?
Cloud NAT (Network Address Translation) is a managed service that allows instances without public IP addresses to access the internet for outbound connections (such as software updates) without allowing unsolicited inbound connections. A Cloud DNS forwarding zone forwards lookup requests for specific domains to other external or on-premises DNS servers.
A record to a Cloud NAT IP address will not route external web traffic to the web application because NAT gateways do not perform inbound port forwarding.You needed backend database servers without external IP addresses to download patches from the internet and forward internal queries to an on-premises Active Directory DNS server.
A static external IP address is a persistent, publicly routable IPv4 or IPv6 address reserved in Google Cloud that remains dedicated to your project until explicitly deleted. Cloud DNS is a scalable, reliable, and managed Domain Name System service running on Google's globally distributed Anycast network. A public managed zone in Cloud DNS stores DNS records (such as A or CNAME records) that are accessible to the public internet.
A) record maps the fully qualified domain name (FQDN) directly to the VM's static external IPv4 address, allowing web browsers to resolve and reach the application.A, AAAA, CNAME, MX, and TXT.gcloud), Terraform, or REST APIs.This workflow establishes a stable, production-ready architecture for public web hosting. It prevents broken links caused by IP churn and leverages Google's global DNS infrastructure to provide 100% availability for domain name lookup queries.
A static internal IP address is an RFC 1918 private address reserved within a subnet's CIDR range to provide permanent internal addressing for resources within a VPC. A Pointer (PTR) record is used for reverse DNS lookups, which map an IP address back to a hostname, rather than mapping a hostname to an IP address.
example.com to an IP) requires an A or AAAA record. A PTR record performs reverse DNS lookup and does not resolve hostnames for incoming web browser requests.PTR records serve verification tasks such as spam filtering for mail servers, not forward domain name resolution.You were setting up internal service endpoints for private VMs inside your VPC and configuring reverse DNS lookups for internal mail transfer agents.
An ephemeral external IP address is a temporary public IP address assigned to a VM that persists only while the instance is running. A private Cloud DNS managed zone is a DNS zone that is only resolvable from authorized Virtual Private Cloud (VPC) networks within Google Cloud, not from the public internet.
CNAME record must point to another canonical domain name (FQDN), not an internal VM instance resource name or bare IP address.The requirement called for internal-only communication between microservices within the same Google Cloud VPC network where public internet routing and external DNS resolution were explicitly prohibited.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated