exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 57 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 57
Topic #: 1
[All Professional Cloud Developer Questions]

You are deploying a single website on App Engine that needs to be accessible via the URL http://www.altostrat.com/.
What should you do?

  • A. Verify domain ownership with Webmaster Central. Create a DNS CNAME record to point to the App Engine canonical name ghs.googlehosted.com.
  • B. Verify domain ownership with Webmaster Central. Define an A record pointing to the single global App Engine IP address.
  • C. Define a mapping in dispatch.yaml to point the domain www.altostrat.com to your App Engine service. Create a DNS CNAME record to point to the App Engine canonical name ghs.googlehosted.com.
  • D. Define a mapping in dispatch.yaml to point the domain www.altostrat.com to your App Engine service. Define an A record pointing to the single global App Engine IP address.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
__rajan__
7 months, 1 week ago
Selected Answer: A
A is correct.
upvoted 1 times
...
telp
1 year, 3 months ago
Selected Answer: A
A, I have done that on a project and you don't need to fo routing with a dispatch.yaml file so A is enough to have a custom domain link to your app engine.
upvoted 1 times
...
omermahgoub
1 year, 3 months ago
Yes, you are correct guys that you can use a custom domain with App Engine and map it to your app. However, option A is incorrect because it is not sufficient to just create a DNS CNAME record pointing to the App Engine canonical name ghs.googlehosted.com. You also need to map the domain to your app in App Engine as described in option C or D.
upvoted 1 times
omermahgoub
1 year, 3 months ago
B is incorrect because it involves defining an A record, which can cause issues with latency and is not the recommended method for mapping a custom domain to App Engine.
upvoted 1 times
...
omermahgoub
1 year, 3 months ago
Option A is incorrect because it does not include the dispatch.yaml mapping, which is necessary to associate the custom domain with your App Engine service.
upvoted 1 times
...
omermahgoub
1 year, 3 months ago
The correct answer is C. To use a custom domain with App Engine, you need to define a mapping in the dispatch.yaml file to point the domain to your App Engine service. Additionally, you should create a DNS CNAME record to point to the App Engine canonical name ghs.googlehosted.com.
upvoted 2 times
...
omermahgoub
1 year, 3 months ago
D is incorrect because it involves defining an A record, which can cause issues with latency and is not the recommended method for mapping a custom domain to App Engine. Additionally, it does not include the dispatch.yaml mapping, which is necessary to associate the custom domain with your App Engine service.
upvoted 1 times
...
...
tomato123
1 year, 8 months ago
Selected Answer: A
A is correct
upvoted 3 times
...
nqthien041292
2 years ago
Selected Answer: A
Vote A
upvoted 2 times
...
herocc
2 years, 3 months ago
A is right
upvoted 2 times
...
Gini
2 years, 5 months ago
Agree with A. That is what we are doing in our current project.
upvoted 2 times
...
celia20200410
2 years, 9 months ago
A: https://support.google.com/domains/answer/6009957?hl=en app.mydomain.com CNAME 1H ghs.googlehosted.com.
upvoted 3 times
...
syu31svc
2 years, 9 months ago
I would take B https://cloud.google.com/appengine/docs/flexible/dotnet/mapping-custom-domains?hl=fa: "In A or AAAA records, the record data is an IP address"
upvoted 2 times
syu31svc
2 years, 9 months ago
Changing to A based on the link celia20200410 gave
upvoted 1 times
...
...
saurabh1805
3 years, 5 months ago
A is correct option here.
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago