Questions
Answer the following questions to test your knowledge of this chapter:
- You are deploying a production application on GCE and want to prevent anyone from deleting the data stored on its disk. How can you achieve this?
- Disable automatic restart on the instance.
- Disable perceptibility on the instance.
- Enable the
Delete boot disk when the instance is
deleted
flag. - Enable delete protection on the instance.
- You are tasked to create a GCE instance using a command-line interface. What is the next step after creating a Google Cloud project?
- Create a VPC in the project.
- B. Grant yourself the Compute Admin IAM role.
- Configure an organizational policy.
- Enable the Google Compute API.
- Your project and all its resources are deployed in the
europe-west4
region. You want to set the europe-west4 region as the default region for thegcloud
command-line tool. How can you achieve this?- It is not possible to set the default value of a region.
- B. Use the
gcloud
config set compute/region europe...