exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 10 question 4 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 4
Topic #: 10
[All Professional Cloud Architect Questions]

For this question, refer to the TerramEarth case study. TerramEarth has a legacy web application that you cannot migrate to cloud. However, you still want to build a cloud-native way to monitor the application. If the application goes down, you want the URL to point to a "Site is unavailable" page as soon as possible. You also want your Ops team to receive a notification for the issue. You need to build a reliable solution for minimum cost. What should you do?

  • A. Create a scheduled job in Cloud Run to invoke a container every minute. The container will check the application URL. If the application is down, switch the URL to the "Site is unavailable" page, and notify the Ops team.
  • B. Create a cron job on a Compute Engine VM that runs every minute. The cron job invokes a Python program to check the application URL. If the application is down, switch the URL to the "Site is unavailable" page, and notify the Ops team.
  • C. Create a Cloud Monitoring uptime check to validate the application URL. If it fails, put a message in a Pub/Sub queue that triggers a Cloud Function to switch the URL to the "Site is unavailable" page, and notify the Ops team.
  • D. Use Cloud Error Reporting to check the application URL. If the application is down, switch the URL to the "Site is unavailable" page, and notify the Ops team.
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
raf2121
Highly Voted 3 years, 1 month ago
C Cloud monitoring for Uptime check to validate the application URL and leverage pub/sub to trigger Cloud Function to switch URL https://cloud.google.com/monitoring/uptime-checks?hl=en
upvoted 30 times
ashish_t
2 years, 11 months ago
@raf2121, You had submitted this question, so you should update the Suggested Answer accordingly. Such wrong answer configurations creates confusion. Anyways thanks for submitting the questions.
upvoted 2 times
...
fahad01hbti
3 years ago
will cloud monitoring work for on prem app without installing stackdriver agent ?
upvoted 3 times
MikeB19
3 years ago
Looks like cloud monitor will work on prem .. c looks correct https://cloud.google.com/architecture/monitoring-on-premises-resources-with-blue-medora
upvoted 4 times
...
...
...
[Removed]
Most Recent 9 months ago
Selected Answer: C
https://cloud.google.com/monitoring/api/resources?hl=en#tag_uptime_url Cloud monitoring works with on-prem? Yes. https://cloud.google.com/architecture/monitoring-on-premises-resources-with-bindplane
upvoted 2 times
...
BiddlyBdoyng
1 year, 3 months ago
If A is the correct answer what;s the point in the uptime checks in cloud monitoring? Why wouldn't we always use Clour Run for this purpose?
upvoted 1 times
...
stfnz
1 year, 4 months ago
I understand now... the key is in the question "you still want to build a cloud-native way "... hence only option C, even if A is the cheapest, it is not cloud-native way.
upvoted 2 times
...
stfnz
1 year, 4 months ago
though if you think about it really hard - Option A *does* the job and does it at *MINIMAL* cost... so it should be A?
upvoted 1 times
...
stfnz
1 year, 4 months ago
Selected Answer: C
should be C...
upvoted 1 times
...
surajkrishnamurthy
1 year, 9 months ago
Selected Answer: C
C is the correct answer
upvoted 1 times
...
megumin
1 year, 10 months ago
Selected Answer: C
C is ok
upvoted 1 times
...
Mahmoud_E
1 year, 11 months ago
Selected Answer: C
C is correct https://cloud.google.com/blog/products/management-tools/how-to-use-pubsub-as-a-cloud-monitoring-notification-channel
upvoted 1 times
...
AzureDP900
2 years, 2 months ago
C is right
upvoted 1 times
...
mad314
2 years, 5 months ago
Selected Answer: C
Had this question on my exam.
upvoted 4 times
...
brushek
2 years, 8 months ago
Selected Answer: C
use cloud monitoring
upvoted 2 times
...
ttosl
2 years, 9 months ago
Selected Answer: C
Cloud monitor uptime check can check http(s) outside of GCP. This is different from getting other matric like CPU, mem etc.
upvoted 3 times
...
vincy2202
2 years, 9 months ago
Selected Answer: C
C is the correct answer
upvoted 2 times
...
[Removed]
2 years, 9 months ago
Selected Answer: C
Marked A is wrong. Cloud Monitoring is right for uptime checks.
upvoted 2 times
...
pakilodi
2 years, 9 months ago
Selected Answer: C
Select C
upvoted 1 times
...
joe2211
2 years, 10 months ago
Selected Answer: C
vote C
upvoted 2 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