ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 81 - Professional Cloud Architect discussion

Report
Export

You have created several pre-emptible Linux virtual machine instances using Google Compute Engine. You want to properly shut down your application before the virtual machines are preempted.

What should you do?

A.
Create a shutdown script named k99.shutdown in the /etc/rc.6.d/ directory
Answers
A.
Create a shutdown script named k99.shutdown in the /etc/rc.6.d/ directory
B.
Create a shutdown script registered as a xinetd service in Linux and configure a Stackdriver endpoint check to call the service
Answers
B.
Create a shutdown script registered as a xinetd service in Linux and configure a Stackdriver endpoint check to call the service
C.
Create a shutdown script and use it as the value for a new metadata entry with the key shutdown-script in the Cloud Platform Console when you create the new virtual machine instance
Answers
C.
Create a shutdown script and use it as the value for a new metadata entry with the key shutdown-script in the Cloud Platform Console when you create the new virtual machine instance
D.
Create a shutdown script, registered as a xinetd service in Linux, and use the gcloud compute instances add-metadata command to specify the service URL as the value for a new metadata entry with the key shutdownscript-url
Answers
D.
Create a shutdown script, registered as a xinetd service in Linux, and use the gcloud compute instances add-metadata command to specify the service URL as the value for a new metadata entry with the key shutdownscript-url
Suggested answer: C

Explanation:

A startup script, or a shutdown script, is specified through the metadata server, using startup script metadata keys. Reference: https://cloud.google.com/compute/docs/startupscript

asked 18/09/2024
Robert Andrade
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first