Google Cloud Module 2 - Start with a Solid Platform

Ace your homework & exams now with Quizwiz!

How would you configure billing notifications in GCP? (Choose 1) A Configure budgets and alerts. B Set up a billing alert in Stackdriver. C Use Cloud Functions to fire off an email with daily budget totals. D Enable a script using cron to kick off when a threshold is reached.

A Configure budgets and alerts. Feedback: To be notified when costs approach your budget limit, you can define a budget and create an alert.

In what format will a majority of the APIs return data in? (Choose 1) A JSON B TEXT C XML D YAML

A JSON Feedback: The format an API will return data in is JSON.

What best describes the purpose of quotas? (Choose 2) A Quotas are used to send billing alerts. B Configuration used to prevent billing surprises. C Configuration used by Google to prevent building large systems. D Configuration used to prevent over consumption due to malicious attacks. E Quotas can automatically build infrastructure based on Stackdriver metrics.

B Configuration used to prevent billing surprises. D Configuration used to prevent over consumption due to malicious attacks. Feedback: Google Cloud Platform (GCP) enforces quotas on resource usage, setting a hard limit on how much of a particular GCP resource a project can use. Quotas are designed to help prevent billing surprises and to prevent overconsumption of resources due to malicious attacks.

How would you configure the Cloud SDK to work on your laptop? (Choose 1) A Edit the .profile file of the SDK. B Run the gcloud init command. C Sync your laptop with Cloud Shell. D Download the config file from https://cloud.google.com.

B Run the gcloud init command. Feedback: The gcloud init command sets your login, your default project, and your default region and zone.

How would you test a Google API and learn how it works? (Choose 1) A Use the help files in Cloud Shell. B Use the gcloud command in the Cloud SDK. C Use the APIs Explorer that is part of the GCP console. D Use the console to get the directions on how to build the api by service.

C Use the APIs Explorer that is part of the GCP console. Feedback: APIs Explorer helps you learn about the APIs interactively. It lets you see what APIs are available, in what versions, as well as how they work.

Every GCP service you use is associated with a project. Which of the following statements regarding projects are correct? (Choose 2) A Projects have a single owner. B A project cannot be restored once deleted. C Projects are billed and managed collectively. D Projects are the basis for enabling and using GCP services. E Each project is a separate account, and each resource belongs to exactly one.

D Projects are the basis for enabling and using GCP services. E Each project is a separate account, and each resource belongs to exactly one. Feedback: Projects are the basis for enabling and using GCP services, like managing APIs, enabling billing, adding and removing collaborators, and enabling other Google services. Each project is a separate account, and each resource belongs to exactly one. Projects can have different owners and users. They're billed separately, and they're managed separately.

Which command line tool can be used to manage Cloud Storage? (Choose 1) A bq B Cloud Shell C gcloud D gsutil

D gsutil Feedback: The gsutil CLI tool is used for managing Cloud Storage.

True or False. When using Cloud Shell you must also install the Cloud SDK locally to manage your projects and resources.

False Feedback: The answer is False. Using Cloud Shell, you can manage your projects and resources easily without having to install the Cloud SDK or other tools locally.

True or False. s3config is a command-line option for the Cloud SDK?

False Feedback: The answer is False. s3config is not a command-line option. gcloud (all), gsutil (Cloud Storage), and bq (BigQuery) are the command-line options that are part of the Cloud SDK.

True or False. Cloud Shell code editor is one of the developer tools built into the GCP console.

True Feedback: The answer is True. Cloud Shell, Cloud Shell code editor, and Cloud Source Repositories are all examples of developer tools built into the GCP console.


Related study sets

Civil Rights and Voting Rights Quiz

View Set

P2: Writing Process & Unit Assignment

View Set

Ch 15.1 Environmental Hazards and Human Health

View Set