Question-19: Because the TerramEarth case study serves as the basis for this question, you will need to have a thorough understanding of the case study in order to respond appropriately. TerramEarth makes use of a very outdated programme that was intended to run in web browsers; hence, moving it to Google Cloud presents some challenges. However, the Cloud Architecture team at your company wants you to develop a cloud-native method to monitor the application. This is because there are a significant number of escalations over the availability of the programme each and every month. In the event that the application becomes inaccessible, you want the URL to immediately direct users to a page that states Site is unavailable. You also want to ensure that a notice is sent to the Operations team on the problem. You need to construct a solution that is dependable while keeping the costs as low as possible. What is it that you ought to do?
A. Establish a recurring task on the Cloud. Run to call a container's invocation method every minute. The application's URL will be validated by the container. Notify the Operations team and change the URL to go to the Site is unavailable page if the application becomes inaccessible.
B. Make sure a Compute Engine virtual machine has a cron task that runs once per minute. A Python programme is called upon by the cron job in order to examine the application URL. Notify the Operations team and change the URL to go to the Site is unavailable page if the application becomes inaccessible.
C. You can design a solution line creating 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. Make sure the application URL is correct by using Cloud Error Reporting. In the event that the application cannot be accessed, the URL should be changed to the Site is Unavailable page, and the Operations team should be notified.
Correct Answer
Get All 340 Questions and Answer for Google Professional Cloud Architect
: 3 Explanation: The uptime check on the cloud monitor may now verify HTTP(S) connections outside of GCP. Obtaining other matrices, such as CPU, memory, and so on, is not the same as doing this. The first choice is not correct. Uptime tests should be performed using cloud monitoring. Creating a task that runs on schedule in the Cloud Run to call a container's invocation method every minute. is expensive on a per-minute basis like this. Instead, if you try to activate a cloud function using Pub/Sub, it will only execute if the application URL is incorrect. This will be the one with the lower cost. The correct answer is number 3. Make that the application URL is correct by setting up an uptime check with the cloud monitoring service. In the event that it fails, a message should be placed in a Pub/Sub queue, which should then trigger a Cloud Function to move the URL to the Site is offline page, and the Operations team should be notified.