Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 205 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 205
Topic #: 1
[All Associate Cloud Engineer Questions]

You are configuring Cloud DNS. You want to create DNS records to point home.mydomain.com, mydomain.com, and www.mydomain.com to the IP address of your Google Cloud load balancer. What should you do?

  • A. Create one CNAME record to point mydomain.com to the load balancer, and create two A records to point WWW and HOME to mydomain.com respectively.
  • B. Create one CNAME record to point mydomain.com to the load balancer, and create two AAAA records to point WWW and HOME to mydomain.com respectively.
  • C. Create one A record to point mydomain.com to the load balancer, and create two CNAME records to point WWW and HOME to mydomain.com respectively.
  • D. Create one A record to point mydomain.com to the load balancer, and create two NS records to point WWW and HOME to mydomain.com respectively.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
scanner2
Highly Voted 1 year, 2 months ago
Selected Answer: C
Record name | Type | Value mydomain.com | A | load balancer IP www.mydomain.com | CNAME | mydomain.com home.mydomain.com | CNAME | mydomain.com https://cloud.google.com/dns/docs/records-overview#supported_dns_record_types
upvoted 10 times
...
yehia2221
Most Recent 4 months ago
Selected Answer: C Simply, you can't create cname for thr root domain (mydomain.com). When you refe to other GCP services, it is a best practice to use cname/alais for the other records
upvoted 1 times
...
PiperMe
8 months, 4 weeks ago
Selected Answer: C
Option C strikes the right balance between direct mapping with an A record for the root domain and using CNAME aliases for subdomains. This aligns with DNS best practices and simplifies management.
upvoted 1 times
...
Captain1212
1 year, 2 months ago
Selected Answer: C
C is the correct answer, as for this you need to create One A record and two CNAME records
upvoted 3 times
...
3arle
1 year, 3 months ago
Selected Answer: C
A record is always for load balancer IP, then CNAME
upvoted 1 times
...
juliorevk
1 year, 3 months ago
Selected Answer: C
C because the A record which points a domain name to an IPv4 address is used for the main domain (mydomain.com), the other two for www and home are aliases (CNAME) that can be pointed to the main domain of mydomain.com.
upvoted 2 times
...
MrJkr
1 year, 5 months ago
Selected Answer: C
Option A suggests creating one CNAME record to point mydomain.com to the load balancer, which is incorrect because CNAME records cannot coexist with other record types on the same domain/subdomain. In this case, you need to use an A record instead. Option B suggests creating two AAAA records, which are used for IPv6 addresses. Unless you specifically have an IPv6 address for your load balancer, using AAAA records would not be appropriate. Option D suggests creating two NS records, which are used for specifying the authoritative name servers for a domain. NS records are not used to point subdomains to IP addresses or load balancers. Therefore, option C is the correct answer, as it correctly suggests creating one A record to point mydomain.com to the load balancer, and two CNAME records to point WWW and HOME to mydomain.com respectively.
upvoted 4 times
...
georgesouzafarias
1 year, 5 months ago
Selected Answer: C
You can only associate A(IP) record to a domain. https://cloud.google.com/dns/docs/set-up-dns-records-domain-name#create_a_record_to_point_the_domain_to_an_external_ip_address
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...