QTM250 Midterm

¡Supera tus tareas y exámenes ahora con Quizwiz!

You want to create a virtual machine running the latest version of SUSE Linux Enterprise Server operating system. Which option in the Cloud Console should you modify when creating the virtual machine?

Boot disk

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.

What does API stand for?

Application Programming Interface

You require detailed usage and cost estimation info about your project from your Google Cloud billing data. What action can you take in the Google Cloud Billing console to accomplish this?

Export the information to a BigQuery dataset.

What code can Dataflow be written in? (Choose 2) A. C++ B. Java C. PHP D. Python E. Ruby

Java, Python Feedback: Dataflow code can be written in Go, Java, and Python.

Which of the following is true concerning BigQuery? a. You need to provision a cluster before you use BigQuery b. BigQuery is a fully managed service c. BigQuery is a managed front end that uses Cloud Storage d. BigQuery stores your data via persistent disks

b. BigQuery is a fully managed service

How can I view a file's contents?Before you rename or delete files, you may want to have a look at their contents. The simplest way to do this is with the shell command... A) man B) cat C) cut D) ls

cat

Cloud Datastore is a NoSQL based managed service. Which statement best describes Cloud Datastore? (Choose 1) A) A document store B) A data warehouse C) A relational database D) A sparse, wide-column database

A document store Feedback: Cloud Datastore is a document store similar to a Mongo Database.

You want to deploy your application using App Engine. You execute the command 'gcloud app deploy' without specifying any additional parameters. What next action must you take before Google App Engine is deployed.

Choose the region where App Engine will be located.

What is IaaS?

Infrastructure as a Service

The Google Cloud Platform (GCP) hierarchy helps you manage resources across multiple departments and multiple teams within an organization. Which of the following is at the top level of this hierarchy? A) Folder B) Organization C) Project D) Resource

Organization Feedback: The top level of a GCP hierarchy is an organization. Permissions set on the organization will be inherited by all child resources.

You're testing an application using the Google Cloud development server (dev_appserver.py). You change the welcome message in your application's main.py file and save it. What must you do to view the change?

Reload your web browser

Consider the following query: SELECT start_station_name FROM `bigquery-public-data.london_bicycles.cycle_hire` GROUP BY start_station_name Answer True or False: Without the GROUP BY, the query would have returned the full 24,369,201 rows. GROUP BY will output the unique (non-duplicate) column values found in the table.

True

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.

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

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

In Bigquery, projects contain datasets, and datasets contain tables. True or False?

True

Owner is an example of a basic role.

True

Python is a runtime option for Cloud Functions i.e. you can run Python code in Cloud Functions. True or False?

True

True or False: Compute Engine pricing is based on an hourly rate for the instance (e.g. $0.10 / hour).

True

Suppose that you create a new GCP bucket and upload a picture, sheep.jpg, to the bucket. If you want a link to the picture so that you may, for instance, share the picture with a friend, you must: A) configure permissions on your object so that it is publicly accessible B) The premise of the question is false: to share files one must use the AWS Cloud 9 service C) do nothing, objects are public by default D) change the instance type to high-mem

configure permissions on your object so that it is publicly accessible

True or False. You can use existing SQL skills to query data in Cloud Spanner.

True Feedback: The answer is True. You can use existing SQL skills to query data in Cloud Spanner using familiar, industry-standard ANSI SQL 2011.

Cloud monitoring metrics can be used to trigger an autoscaling event. True or False?

True e.g. CPU usage in Instance groups. The metric here would be CPU utilization

Projects form part of the Google Cloud Platform (GCP) resources hierarchy. Which of the following is true concerning projects? A) Projects are only used for billing. B) You can nest projects inside projects. C) Projects are allocated a changeable Project ID. D) All resources must be associated with a project.

All resources must be associated with a project. Feedback: The GCP resources you use, no matter where they reside, must belong to a project.

Which of the following storage options is not a database? A) BigQuery B) Cloud Bigtable C) Cloud Spanner D) Cloud SQL

BigQuery Feedback: BigQuery is the only option that is not a database. The backend of BigQuery is columnar storage.

You are looking for a managed API service for your cloud based services. Which of these services would meet your needs?

Cloud Endpoints Service for offering your own APIs

What option would you choose to create a private dedicated 10 GB/s link between Google Cloud and your data center? A. Cloud Interconnect B. Peering C. VPC sharing D. VPN

Cloud Interconnect Feedback: Cloud Interconnect is used to create dedicated private physical links between Google Cloud and a physical data center.

GCP has many storage options. Which would be the best option for unstructured storage? A) Cloud Bigtable B) Cloud Datastore C) Cloud SQL D) Cloud Storage

Cloud Storage Feedback: Cloud Storage is an HTTPS-based object store that is ideal for unstructured storage.

What is cloud computing? A) Cloud computing contains the basic building blocks for cloud IT and typically provide access to networking features, computers (virtual or on dedicated hardware), and data storage space. B) Cloud computing is the on-demand delivery of compute power, database storage, applications, and other IT resources through a cloud services platform via the Internet with pay-as-you-go pricing C) Cloud computing provides you with a completed product that is run and managed by the service provider. D) Cloud computing removes the need for your organization to manage the underlying infrastructure (usually hardware and operating systems) and allows you to focus on the deployment and management of your applications.

Cloud computing is the on-demand delivery of compute power, database storage, applications, and other IT resources through a cloud services platform via the Internet with pay-as-you-go pricing.

Google Cloud Platform (GCP) provides a variety of service choices. Which of the following services is infrastructure as a service (IaaS)? A) App Engine B) Cloud Function C) Compute Engine D) Google Kubernetes Engine

Compute Engine Feedback: Compute Engine is the correct answer. WIth IaaS, only the underlying architecture is provided. The user still has to select and care for an operating system and install the required applications.

How would you configure billing notifications in GCP? 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.

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

None of the pre-defined instance types fit your application. What do you do? A) Set up autoscaling. B) Do nothing, the instance will size itself. C) Over allocate resources for the instance. D) Create a custom virtual machine that fits your needs.

Create a custom virtual machine that fits your needs. Feedback: Custom instance types are useful when none of the pre-defined options meet your needs or you need to use GPUs or a specific CPU platform.

You want to automatically perform a test every 5 minutes to ensure your public web servers are up and running. Which of the following is the best option? (Choose 1) A. Open Cloud Shell and periodically ping the servers. B. Write a script and use cron to schedule when it runs. C. When a web server goes down, have it send a log entry to Cloud Logging to alert on the outage. D. Create an uptime check in Cloud Monitoring to periodically test if the web servers are reachable.

Create an uptime check in Cloud Monitoring to periodically test if the web servers are reachable. Feedback: Uptime checks can be configured to periodically test the connection to servers from several remote locations.

Select the global load balancer from the list A. Internal B. Network C. Elastic D. TCP proxy

D. TCP proxy

Which of the following is the container format used with Google Kubernetes Engine? A) Docker B) Glassfish C) Rocket D) Spinnaker

Docker Feedback: Docker is the container format of choice for GKE. Spinnaker, Rocket, and Glassfish are not container formats.

Admin is an example of a basic role.

False

BiqQuery charges $5 per GB scanned. True or False?

False

Use FROM to specify what fields (columns) you want to pull from your dataset. True or False?

False

True or False. Virtual private clouds (VPCs) are global and subnets are zonal.

False. VPCs are global and subnets are regional.

Which of the following is the protocol used by REST APIs?

HTTPS

You have analyzed your data and want to transfer relevant files to Cloud Storage. Which data types are most suited for this type of storage? A) Images B) Documents C) Stock Information D) Billing Information E) Customer Transactions

Images, Documents (unstructured)

You need to implement a big data analytics platform in the cloud. Into which phase of the common big data processing model would you place Pub/Sub? A) Store B) Ingest C) Process D) Analyze

Ingest

A file format that is lightweight, easy to read, and fast to parse.

JSON

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

JSON

Which of the following database engines does Cloud SQL support? A) DB2 B) MongoDG C) MySQL D) Oracle E) PostgreSQL

MySQL, PostgreSQL Feedback: Cloud SQL supports PostgreSQL, MySQL, and SQL Server.

What Cloud Storage storage class would be an inexpensive option for backups that you test once a month? A) Coldline B) Multi-regional C) Nearline D) Regional

Nearline Feedback: Nearline storage is designed to provide inexpensive storage for items accessed no more than once a month. While the price for storing objects is cheaper than Standard, Nearline charges for access to storage.

How many unique start stations are in the table?

SELECT COUNT(DISTINCT start_station) FROM trip_data

You want to ensure that the files you are working on in the Cloud Shell persist across multiple sessions. What action must you take to ensure this happens?

Save the files in your home directory

You require a storage solution that will host videos to be stored frequently and globally. The solution must be geographically redundant. Which solution should you choose?

Standard

[LAB - Introduction to APIs in Google] Which is an example of a valid key-value pair in JSON? a. ["Key1":"Value1"] b. {"Key1":"Value1"} c. None of the choices are valid JSONs d. {"Value1":"Key1"}

b. {"Key1":"Value1"} key:value with {} squiggly brackets

Lab: How to Build a BI Dashboard. Which table are you querying in the lab?

bigquery-public-data.san_francisco_trees.street_trees

Which of the following services is an example of PaaS? a. Google Cloud Storage b. Cloud Function c. App Engine d. Compute Engine

c. App Engine

[LAB - AI Platform: Qwik Start] You want to use AI Platform to build a wide and deep model for predicting income categories based on an income dataset. What does this type of model use to learn high-level abstractions about complex features? (Choose 1) A. Deep neural nets B. Dynamic networks C. Google Kubernetes Engine D. Advanced machine learning

A. Deep neural nets Feedback: Wide and deep models use deep neural nets (DNNs) to learn high-level abstractions about complex features or interactions between such features. These models then combine the outputs from the DNN with a linear regression performed on simpler features. This provides a balance between power and speed that is effective on many structured data problems.

You are training your ML model but the statistical dataset size is now larger than the amount of memory you have available for analysis. What actions must you now take to ensure that you can continue? (Choose 2) A. Split the data into batches. B. Decrease the size of the data. C. Increase the size of the database. D. Scale up by adding more memory to the machine. E. Scale out and distribute the data over many machines.

A. Split the data into batches. E. Scale out and distribute the data over many machines. Feedback: If you have data that fits in memory, pretty much any ML framework will work. Once your datasets get larger these packages won't work. You will need to split your data into batches, and train. However, you will also need to distribute your training over many machines.

[LAB - AI Platform: Qwik Start] You need a way to visualize your machine learning workflow. You want to visualize model graph data and plot quantitative metrics about the execution of your graph to see how it behaves. Which tool allows you to visualize this information? (Choose 1) A. TensorBoard B. Cloud Monitoring C. Google Data Studio D. AI Platform Notebooks

A. TensorBoard Feedback: In machine learning, to improve something you often need to be able to measure it. TensorBoard is a tool for providing the measurements and visualizations needed during the machine learning workflow. It enables the tracking of experiment metrics like loss and accuracy, visualizing the model graph, projecting embeddings to a lower dimensional space, and much more.

What is the purpose of an API?

APIs simplify the way disparate software resources communicate.

What service allows you to inspect detailed latency information for a single request or view aggregate latency for your entire application? A. Cloud logging B. Cloud trace C. Error reporting D. Cloud monitoring

B. Cloud Trace

What is a key distinguishing feature of networking in Google Cloud? A. Unlike other cloud providers, access lists and firewall rules are available (AWS uses the same firewall rules) B. Network topology is not dependent on IP address layout (this is true) C. Network topology is dependent on IP address layout D. IPV4 is supported.

B. Network topology is not dependent on IP address layout Topology (shape of network) -- in diagrams, no CIDR was specified for VPC -- VPC was global. For other VPCs, need to specify a range of addresses for these VPCs.

Which of the following best describes infrastructure as code? A. a series of scripts that manually build systems B. images used to build virtual machines C. tool that automates the construction of an entire infrastructure D. a snapshotting tool

C. tool that automates the construction of an entire infrastructure

You have created two networks, Network A and B. Network A contains a route to Network B. Currently all 50 of the virtual machines connected to Network A can use the route. You want to limit this number to three. How can you achieve this? (Choose 1) A. Create network tags and apply them to the three VMs. B. Create a private network between Network A and Network B. C. Create a tertiary network to re-route the three VMs network traffic. D. Create a firewall rule to only allow ingress traffic for the three VMs.

Create network tags and apply them to the three VMs. Feedback: Network tags are text attributes you can add to Compute Engine VM instances. Tags allow you to make firewall rules and routes applicable to specific VM instances.

Which of the following is true concerning firewall rules? A. By default, firewall rules don't exist B. Firewall rules block all inbound traffic by default. C. Firewall rules allow all inbound and outbound traffic by default. D. Firewall rules allow all inbound traffic but denies outbound traffic by default.

Firewall rules block all inbound traffic by default. Feedback: All traffic is blocked inbound by default. If inbound traffic is configured to be permitted inbound, that traffic will also be permitted outbound.

What does the following query return? SELECT plurality FROM 'publicdata.samples.natality' WHERE year > 2000 LIMIT 10

First ten entries from the "plurality" column where the year of birth is greater than 2000

A file format that is lightweight, easy to read, and fast to parse

JSON

[LAB - Creating a Virtual Machine] You deploy a virtual machine using the following command 'gcloud compute instances create gcelab2 --machine-type n1-standard-2 --zone us-central1-a'. What type of operating system is deployed by default?

Linux

You want to configure a virtual machine with a large amount of RAM. Which option in the Cloud Console should you modify when creating the virtual machine to select the amount of RAM?

Machine type

You want to create two virtual machines in different regions, but in the same project. You want them to be able to communicate directly with each other. What action must you take? A. Route the traffic via a VPN. B. Route the traffic via the internet. C. Create the VMs in the same region. D. Place both VMs in the same VPC Network.

Place both VMs in the same VPC Network. Feedback: Virtual machines that are in different regions but in the same VPC can communicate privately.

You want to create a bucket with a particular project name. You execute 'gsutil mb gs://project.1' but receive the error message 'BadRequestException.' Why is this the case?

Project.1 is not a valid DNS name. ( '.' is not allowed - will mess up the web address)

Your instance needs a public IP address that won't change if the instance is shutdown and restarted. Which of the following is the best option? A. Update the host file on the instance. B. Set the IP address on the boot script. C. Can't be done. Have users point to the server via DNS name D. Reserve a public static IP address from Google and assign it to the instance.

Reserve a public static IP address from Google and assign it to the instance. Feedback: Public IP addresses can be allocated by Google and assigned to an instance if a static IP is needed.

How would you configure the Cloud SDK to work on your laptop? 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.

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

What is the `numericCode` for the country of Algeria?

012

How many IP addresses does a /24 network have?

256 32 - 24 = 8 2^8 = 256

Give meaningful names to the columns returned by this query. SELECT IF(duration > 0.5 * 3600, TRUE, FALSE) AS column_1, SUM(IF(start_station = 31111, 1, 0)) AS column_2 FROM trip_data GROUP BY column_1

Column 1 as 'over_half_an_hour', column 2 as 'number_rides_from_31111'

True or False, 'Track' is one of the pipeline components for Dataflow.

False. Feedback: The answer is False. Dataflow uses a Source of information, a series of PCollections that hold data, and a Sink, where the data will be stored or sent. PCollections are the input and output of every transform operation.

Which of the following is the most common API format in Google (and in general)?

REST

Which of the following can trigger Cloud Functions? A) App Engine notification B) Email C) Stackdriver alert D) Webhook

Webhook Feedback: Cloud Functions can be triggered by a webhook, an action to a Cloud Storage bucket, or a message in Cloud Pub/Sub.

What is the largest object that you can store in Cloud Storage? A) 1 GB B) 5 TB C) Unlimited D) Dependant on the storage class

5 TB Feedback: While Cloud Storage offers a virtually unlimited amount of storage, a single object has a limitation of 5 TB.

You have a requirement to identify parts of speech from unstructured text. Which of the following machine learning APIs should you use for this purpose? (Choose 1) A. Cloud Natural Language API B. Speech-to-Text API C. Text-to-Speech API D. Cloud Translation API

A. Cloud Natural Language API Feedback: The Cloud Natural Language API can do syntax analysis, breaking down sentences into tokens, identifying nouns, verbs, adjectives, and other parts of speech, and figuring out the relationships among the words.

You want to use AutoML to train high-quality models specific to your business needs. What complex steps does AutoML simplify for you? (Choose 2) A. Deployment B. Data gathering C. ML model design D. Matrix multiplication E. Directed Acyclic Graph creation

A. Deployment C. ML model design Feedback: AutoML simplies complex steps that are associated with custom ML model building. Data pre-processing, ML model design, tuning of ML model parameters, evaluation, deployment, and update.

You want to be able to focus on writing code without ever having to touch a server, cluster, or infrastructure. Which service suits your needs?

App Engine

Time-to-market is highly valuable to you and you want to be able to focus on writing code without ever having to touch a server, cluster, or infrastructure. Which service suits your needs? A) App Engine B) Compute Engine C) BigQuery D) Google Kubernetes Engine

App Engine Feedback: App Engine is a PaaS option. The only part of the infrastructure you manage is your code.

Create a new repository in your GitHub account called QTM250-example. Upload an image file to it. Share the link to the file (not the GitHub page, the actual image file) by submitting it here.

At the end of the GitHub link to image, add '?raw=true' to get link to actual image file not GitHub page

What is the purpose of a route? A. A route will always point to a switch. B. A route provides a path for traffic to flow. C. A route allows or denies traffic in a network. D. A route connects two virtual private clouds (VPCs) together.

B. A route provides a path for traffic to flow. Feedback: A route provides a path for data to flow. Every subnet in a VPC will also have a route.

Which statement best describes TensorFlow? (Choose 1) A. Spark ML at scale. B. Scikit-learn at scale. C. An open source language to build machine learning models. D. A proprietary language for building machine learning models.

C. An open source language to build machine learning models. Feedback: TensorFlow was developed by Google and has become the leading open-source tool for building ML models.

Regions are independent geographic areas on the same continent. Which of the following is a regional service? A) Cloud Datastore B) HTTPS Load Balancer C) Network D) Virtual machine

Cloud Datastore Feedback: Cloud Datastore is an example of a service that is regional. HTTPS load balancers and networks are global, and virtual machines are zonal.

What is the operations service that will store, search, and analyse log files? (Choose 1) A. Cloud Debugger B. Cloud Logging C. Cloud Monitoring D. Cloud Trace

Cloud Logging Feedback: The Cloud Logging service allows you to store, search, and analyse log files

What service leverages the Apache Beam SDK to perform ETL operations? (Choose 1) A. Dataflow B. Dataprep C. Dataproc D. Firestore

Dataflow Feedback: Dataflow leverages the Apache Beam SDK to build pipelines to perform ETL operations on batch and streaming data.

Which of the following is a managed solution to run Spark, Pig, Hive, and MapReduce in a batch environment with a managed cluster? (Choose 1)

Dataproc Feedback: Dataproc is a managed Hadoop Cluster where customers can run their Spark, Hive, Pig, and MapReduce environments

You need to create a cluster to carry out nightly batch processing. You only want to pay for the time spent carrying out the processing, not idle time. Which solution should you choose? (Choose 1) A. App Engine B. Cloud Build C. Dataproc D. Datastore

Dataproc Feedback: Dataproc is a managed Spark and Hadoop service that lets you take advantage of open source data tools for batch processing, querying, streaming, and machine learning. Dataproc automation helps you create clusters quickly, manage them easily, and save money by turning clusters off when you don't need them.

You're building a VM for data analysis. You want a disk that delivers very high input/output operations (IOPs) and very low latency. The files will be copied to the VM from Cloud Storage to perform the analysis. Which option should you choose? A) File store B) Local SSD C) HDD Persistent disk D) Cloud Storage bucket

Local SSD

Which of the following virtual disk types is ephemeral? A) Cloud Storage B) HD Persistent Disk C) Local SSD D) SSD Persistent Disk

Local SSD Feedback: Local SSD disks are ephemeral. If the VM is shut down or crashes the disk gets destroyed.

You want to edit the code of a sample application from the Cloud Shell environment. You do not want to launch a text based editor from the Cloud Shell prompt. What tool can you utilize to achieve this?

The Cloud Shell code editor

Which are access points to data or computing resources hosted on a server and they take the form of an HTTP URI? a. Endpoint b. HTTP protocol c. Query string d. Base URL

a. Endpoint

You are using custom subnet mode to create a range of subnets. Which subnet range will allow you to use 65,536 IP addresses?

/16 32 - 16 = 16 2^16 = 65536

[LAB - HTTP Load Balancer with Cloud Armor] You are configuring ingress firewall rules to allow HTTP traffic to backend instances. What source IP range should be included to specify all networks? (Choose 1)

0.0.0.0/0 Feedback:The Source IP ranges field is used to define the source for incoming traffic by IP address ranges. Use 0.0.0.0/0 for a source from any network.

1. In the podcast they mention " commercial APIs" for gender classification using computer vision. What is an example of a company offering such a service? (You will have to google to find it) 2. Here is a quote from the podcast "in both, MLP and computer vision, there tends to be a focus on precision, recall" Why could a machine learning model have high precision and accuracy overall, yet still be biased? Explain in your own words.

1. Microsoft is an example. 2. Several types of bias could still be present in MLP and computer vision, even if such a model has high precision and accuracy. For example, a machine learning model could have automation bias, in which the results generated by the model are favored even though a non-automated system might have even higher precision and recall rates. Another example of biases that could be present in machine learning models is selection and coverage bias: the data used to train the model might not be reflective of the frequency that such data exists in the real world, or the training data might not be similar enough to the data that the machine learning model is going to be used for.

What is the ratio population/area in Turkey according to the data provided by the API? Enter your answer to two significant digits, e.g. the format should read 000.00 with numbers in place of the 0's.

100.49

In the lab, Introduction to SQL for BigQuery and Cloud SQL (Links to an external site.) you ran queries on the `bigquery-public-data.london_bicycles.cycle_hire` public dataset. Run queries on this dataset using the BigQuery console in order to answer the question below. You will need to refer back to the examples in this lab when answering the question. Modify the GROUP BY example in the lab in order to find out the answer to this question. How many distinct London bikeshare ending points are there?

882

Select the service that is a managed data warehouse in Google Cloud. (Choose 1) A. BigQuery B. Cloud Bigtable C. Datastore D. Cloud SQL

A. BigQuery Feedback: BigQuery is a fully managed data warehouse and analytics engine. The user will never have to build servers or manage storage to make use of BigQuery.

You want to classify and detect images at scale. You want to achieve this by using a machine learning (ML) framework designed for advanced users, so that you can use your Python expertise to write your own computation code. Which ML option do you need? (Choose 1) A. TensorFlow B. AutoML C. Cloud Talent Solution API D. Video Intelligence API

A. TensorFlow Feedback: TensorFlow is an ML framework which provides more control for advanced users. TensorFlow as a numeric programming library is appealing because you can write your computation code in the high-level language Python and have it be executed in a fast way.

Which of the following statements best describes AutoML? (Choose 1) A. Enables users with no ML expertise to deploy models specific to their business needs. B. Enables users with limited ML expertise to train models specific to their business needs. C. Enables users with extensive ML expertise to train models specific to their business needs. D. Enables users with limited ML expertise to deploy pre-trained models specific to their business needs.

B. Enables users with limited ML expertise to train models specific to their business needs. Feedback: AutoML is a suite of machine learning products that enables developers with limited machine learning expertise to train high-quality models specific to their business needs. It relies on Google's state-of-the-art transfer learning and neural architecture search technology. AutoML helps customers with limited ML experience to build models based on their data.

You require a way to analyse the performance of CPU or memory-intensive functions executed across an application. The solution must not slow down code execution when carrying out the analysis. Which solution should you use? (Choose 1) A. Cloud Trace B. Cloud Logging C. Cloud Profiler D. Cloud Monitoring

C. Cloud Profiler Feedback: Cloud Profiler uses statistical techniques and extremely low-impact instrumentation that runs across all production application instances to provide a complete picture of an application's performance without slowing it down.

[VPC Networks - Controlling Access] Your virtual machine is using a service account that has been granted the cloudfunctions.admin role. You are connected to the virtual machine using SSH and attempt to delete a firewall rule. You receive the error 'Insufficient Permission'. Which additional role should you grant to the service account to allow you to delete firewall rules? (Choose 1) A. role/viewer B. Network Admin C. Security Admin D. iam.securityReviewer

C. Security Admin Feedback: The following roles are used in conjunction with single-project networking to independently control administrative access to each VPC Network: Network Admin: Permissions to create, modify, and delete networking resources, except for firewall rules and SSL certificates. Security Admin: Permissions to create, modify, and delete firewall rules and SSL certificates.

You have a dedicated on-premises cluster which stores and processes logs with MapReduce. You process 100 gigabytes of data per day from several sources and store them on the server. You want to move these functions to Google Cloud to remove dedicated hardware costs, reduce processing time, and store the data offsite. Which solutions can you utilize to achieve this? (Choose 2) A. App Engine B. Cloud Storage C. Cloud Function D. Dataproc E. Compute Engine

Cloud Storage, Dataproc Feedback: Cloud Storage can be used to store the data that was previously stored on the server and is a low-cost effective storage option. An ephemeral Dataproc cluster can be created in less than 2 mins. Data is processed with existing MapReduce.

You want to install and run RStudio on a VM. Which service suites your needs? App Engine BigQuery Compute Engine Google Kubernetes Engine

Compute Engine

What statement best describes infrastructure as code (IaC)? A. Replacing virtual servers with containers. B. Using Java scripts to build your systems. C. Using Templates to build virtual machines. D. Automating systems construction using templates.

D. Automating systems construction using templates. Feedback: Cloud Deployment Manager is used to automate the building of infrastructure through the use of declarative templates.

You are in need of a service that can process both streaming and batch data, but you don't want to manage the infrastructure. Which of the following is the best solution? (Choose 1) A. BigQuery B. Dataflow C. Dataprep D. Dataproc

Dataflow Feedback: Dataflow is a managed service that can process both batch and streaming data.

You require a fully managed NoSQL database to store user profile information for your application. Which solution should you deploy?

Datastore

Data Studio: Qwik Start. Which month is the least popular for bikeshares?

December

You have accidentally deleted your firewall rules. What rule is now applied to ingress traffic? A. Deny all B. Allow all C. Source only D. Destination only

Deny all Feedback: If all firewall rules in a network are deleted, there is still an implied "Deny all" ingress rule and an implied "Allow all" egress rule for the network.

Access points to data or computing resources hosted on a server and they take the form of an HTTP URI

Endpoint

True or False? For classification problems in ML, you want to maximize the False Positive Rate (predict that the user will return and purchase and they don't) and minimize the True Positive Rate (predict that the user will return and purchase and they do).

False

True or False. Google Cloud's operations suite are partner product services that are easily installed through the Cloud Console.

False. Feedback: The answer is False. The services provided through Google Cloud's operations suite are Google solutions.

True or False. 'Regional' is a type of virtual private cloud (VPC).

False. The types of VPCs are Default, Auto, and Custom.

Which of the following statements regarding BigQuery is accurate? (Choose 1) A. BigQuery is a NoOps managed service. B. BigQuery is a drop-in replacement for Oracle. C. Before using BigQuery, you have to build a cluster. D. BigQuery is a SQL database and requires tight schema.

Feedback: BigQuery is a fully managed service. No operations on your part are required.

Consider the query below: #standardSQL SELECT (v2ProductName) AS ProductName FROM `data-to-insights.ecommerce.all_sessions` GROUP BY ProductName ORDER BY ProductName Which part of the previous query deduplicates the records?

GROUP BY

You are using Google Cloud Shell to create a virtual machine. You run the gcloud compute command to create a virtual machine but omit the --zone flag. What effect will this have when provisioning the machine? (Q not in google doc)

Gcloud will infer your desired zone based on your default properties.

You want to utilize Cloud Endpoints to control access to your API. What actions can you take to achieve this? (2 answers)

Generate and share API keys Validate calls with JSON web tokens

You have connected to your virtual machine using the SSH connect button in the Cloud Console. You run the command 'apt-get'update' but receive the error "permission denied." What action must you take?

Get root access using the sudo command and retry.

You must support the retrieval of objects that have been overwritten or deleted using Cloud Storage. Which feature should you enable to achieve this? Archiving Snapshots Cloud API Object Versioning

Object versioning

You need an application that will send notifications to remote applications that will be offline for extended periods of time. What solution will guarantee that the remote applications will receive the notifications when they come back online?

Pub/Sub

For a solution that allows an HR system to notify other department services that a new employee has been hired without having to directly connect your application to all of the other services. What Google service should you use?

Pub/Sub Will allow message for new hire to be broadcast to subscribers (other departments) without having to directly connect app to those department services

An architectural style that prescribes standards for web-based communication. REST Headers Body RESTful APIs

REST

Write a query to find the ending station and duration of all of trips by bike number W00153 that lasted over 8 hours.

SELECT end_station,duration FROM trip_data WHERE duration >= 28800 AND bike_number = 'W00153'

What does SQL stand for?

Structured Query Language

You deploy a virtual machine using the following command 'gcloud compute instances create gcelab2-- machine-type n1-standard-2 -- zone us-central1-a'. What operating system is deployed by default?

The latest Debian image

What is the purpose of Error Reporting? (Choose 1) A. To inject errors into an application for testing. B. To send notifications when an Instance crashes. C. To report on storage issues with persistent disks. D. To count, analyze, and aggregate crashes in running cloud services in real time.

To count, analyze, and aggregate crashes in running cloud services in real time. Feedback: Error Reporting counts, analyzes, and aggregates the crashes in your running cloud services in real time

True or False. Cloud storage pricing is based on a monthly rate (e.g. $0.02 per GB per month).

True

True or False. Data can be loaded into BigQuery using the BigQuery Web UI, the BigQuery API, or the BQ command line.

True. Feedback: The answer is True. BigQuery is a fully managed data warehouse and analytics engine. The user will never have to build servers or manage storage to make use of BigQuery. Loading data into the data warehouse can be easily completed by using the Cloud Console, The BigQuery REST based APIs, or through the use of the BigQuery command line (bq)via the SDK.

True or False. The Cloud Translation API supports language detection in cases where the source language is unknown.

True. Feedback: The answer is True. The Cloud Translation API can dynamically translate text between thousands of language pairs. The Cloud Translation API lets websites and programs to programmatically integrate with the translation service The Cloud Translation API supports language detection even in cases where the source language is unknown.

You execute the command 'gsutil acl ch -u AllUsers:R gs://bucket1/ada.jpg' in Cloud Shell to make the file available to anyone. What visual allows you to verify that the permission level has been set?

You see a public link to the image.

[Multiple VPC Networks] You execute the following command in Cloud Shell: 'gcloud compute networks create privatenet --subnet-mode=custom'. How will the subnets be created? (Choose 1) A. You must choose a range of custom subnets. B. You will need to create the subnets manually. C. Subnets will be automatically created for you. D. Subnets will be created in your default region.

You will need to create the subnets manually. Feedback: A network must have at least one subnet before you can use it. Auto mode VPC networks create subnets in each region automatically. Custom mode VPC networks start with no subnets, giving you full control over subnet creation. You can create more than one subnet per region.

Virtual private cloud networks (VPCs) allow the deployment of infrastructure as a service resources, such as compute instances and containers. Which of these statements best describes a VPC? (Choose 1) a. A VPN connection b. Virtual network adapters used for virtual machines c. A software-defined network built on top of Google's network d. A dedicated link from Google Cloud to a customer's network.

c. A software-defined network built on top of Google's network

In one of the Qwiklabs you use the Natural Language API text classification method to classify news articles by creating a Natural Language API classifyText request and calling the API with ________ .

curl

What will be the output if you enter the following command in the Google cloud shell: history

displays the previous commands that have been entered to the shell

Which of the following is a valid shell command? ls -l ls -w ls -z ls +l

ls -l

[LAB - Dataflow: Qwik Start - Templates] You are creating a job from a template using Dataflow. In the Cloud Console you select the Pub/Sub Topic to BigQuery template. In what format must you now enter the Pub/Sub input topic information? (Choose 1) A. gs://MyBucket/topic B. projects/<project>/topics/<topic> C. (<project>:<dataset>.<table_name>) D. "regions/REGION/zones/ZONE/topics/TOPIC"

projects/<project>/topics/<topic> Feedback: Pub/Sub topic to read the input from information is entered in the format of 'projects/<project>/topics/<topic>'

What best describes the purpose of quotas? 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

True or False. Compute Engine pricing is based on a daily rate for the instance.

False Feedback: The answer is False. You are billed for the first minute at boot-time and then per second of use. (At an hourly rate though)

Copy and paste the list of the three letter country codes of the countries that border Algeria. Do not include the square brackets.

'TUN', 'LBY', 'NER', 'ESH', 'MRT', 'MLI', 'MAR'

Suppose cell B1 contains the amount of money between you and your friends. Write a formula to check if this amount is enough for Spotify Premium which is $15. If it is enough, the result should evaluate TRUE, otherwise FALSE.

=IF(B1>=15, TRUE, FALSE)

Cloud Bigtable provides a NoSQL based managed service option. Which one of the following is a valid use case for this service? A) An object store. B) A data warehouse. C) A transactional database for a bank. D) A backend for an Internet of Things (IoT) system.

A backend for an Internet of Things (IoT) system. Feedback: The sparse, wide table format and extremely low write latency of Cloud Bigtable makes it a great option for fast streaming services like IoT.

You want to utilize auto subnet mode when creating a network. The broadest prefix that you can use is /16 when expanding your network. Why is this the case? (Choose 1) A. A broader prefix is not available until you specify a greater scope. B. A broader prefix cannot be created as subnets are not automatically defined. C. A broader prefix cannot be created as auto subnet created networks are legacy networks. D. A broader prefix would conflict with the primary IP ranges of other automatically created subnets.

A broader prefix would conflict with the primary IP ranges of other automatically created subnets. Feedback: When expanding the IP range in an auto mode network, the broadest prefix you can use is /16. Any prefix broader than /16 would conflict with the primary IP ranges of other automatically created subnets. Due to its limited flexibility, an auto mode network is better suited to isolated use cases, such as proof of concepts, testing, and so on.

What is the purpose of Cloud Trace? (Choose 1) A. Find performance bottlenecks in production. B. Inject errors in an application so the error can be traced. C. Send latency statistics to the Error Reporting dashboard. D. Collect network latency statistics and publish to a latency dashboard.

A. Find performance bottlenecks in production. Feedback: With Cloud Trace, you can inspect detailed latency information for a single request or view aggregate latency for your entire application.

You want to use Cloud Deployment Manager to specify all the resources needed for your application using declarative language. How will Deployment Manager deploy your application? (Choose 1) A. It will take your configuration and figure out the steps to take to deploy it. B. It will prompt you at each stage for your input to ensure the application is built correctly. C. It will require you to deploy the basic infrastructure then deploy the application to it. D. It will create a configuration file for you to edit. You must validate the configuration file before building the application.

A. It will take your configuration and figure out the steps to take to deploy it. Feedback: Many tools use an imperative approach, requiring the user to define the steps to take to create and configure resources. Cloud Deployment Manager uses a declarative approach, allowing the user to specify what the configuration should be and let the system figure out the steps to take.

You need to schedule recurring data loads from Cloud Storage to BigQuery and automate data movement from SaaS applications on a managed basis. How can you achieve this? (Choose 1) A. Use the BigQuery Data Transfer Service. B. Stream the data to BigQuery using the gsutil tool. C. Import data on a daily basis using the Cloud Storage API tool. D. Create a script to pull data from Cloud Storage and push it to BigQuery.

A. Use the BigQuery Data Transfer Service. Feedback: The BigQuery Data Transfer Service for Cloud Storage allows you to schedule recurring data loads from Cloud Storage to BigQuery. It also automates data movement from a range of SaaS applications to BigQuery on a scheduled, managed basis. The BigQuery Data Transfer Service is accessed through the Cloud Console, the BigQuery web UI, the bq command-line tool, or the BigQuery Data Transfer Service API.

Which of the following is true? A. VPCs are global and subnets are regional B. VPCs are regional and subnets are zonal C. VPCs are regional. Subnets are not used in Google Clod D. Both VPCs and subnets are global

A. VPCs are global and subnets are regional

Which option would you select if you want to write your own model leveraging Tensorflow in a managed environment? (Choose 1) A. AI Platform B. AutoML C. Dataproc D. Google Machine Learning APIs

AI Platform Feedback: AI Platform is a service that can manage resources for the ML models you build using TensorFlow.

Which of the spreadsheet grouping functions (COUNTIF, SUMIF, AVERAGEIF) would you use to answer the following question from the text? : What is the mean number of paintings by Italian painters?

AVERAGEIF

You want to define user access to individual files on a Cloud Storage bucket. You want users to only be able to read from a single object. What type of user permission should you define to achieve this?

Access control lists

Which is an example of a valid key-value pair in JSON?

All of the following: {"Key1":"Value 1"} {"Key2":64} {"Key3":True} {"Key4": ["this", "is","an", "array"]}

Google Kubernetes Engine is built on the open-source Kubernetes system. Which of the following statements best describes what Kubernetes is? A) A format of container. B) A virtualization platform. C) An orchestration engine to manage containers. D) An execution environment for building and connecting cloud services.

An orchestration engine to manage containers. Feedback: Kubernetes is used for container orchestration. It helps you manage your containerized application environment.

You want to use App Engine, but you will need to use a custom runtime. Which of the following is the best option? A) App Engine Internal B) App Engine Flexible C) App Engine Standard D) Google Kubernetes Engine

App Engine Flexible Feedback: App Engine Flexible allows for custom runtimes, use of persistent disks, and the ability to log into the infrastructure.

[LAB - AI Platform: Qwik Start] You want to use your trained model for prediction. You expect your trained model will be hit with many prediction requests in a short period of time and you need a solution that will scale to service these requests. What action can you take to be able to handle the demand? (Choose 1) A. Deploy your trained model to Cloud Monitoring. B. Deploy your trained model to AI Platform. C. Optimize your trained model to handle these requests. D. Revalidate your trained model to handle these requests.

B. Deploy your trained model to AI Platform. Feedback: To support prediction you should deploy your trained model to AI Platform to serve online prediction requests. You get the benefit of scalable serving, which is useful if you expect your trained model to be hit with many prediction requests in a short period of time.

Which of the following statements most accurately describes machine learning? (Choose 1) A. Machine learning is a way to generate data needed for analytics. B. Machine learning is a way to derive predictive insights from data. C. Machine learning uses algorithms that are applicable to a focussed group of datasets. D. Machine learning has to do with the theory and methods to build machines that think and act like humans.

B. Machine learning is a way to derive predictive insights from data. Feedback: Machine learning is a way to derive 'predictive' insights from data. You do this using algorithms that are relatively general and applicable to a wide variety of datasets.

[LAB - HTTP Load Balancer with Cloud Armor] You want to create a group of identical virtual machines from an existing template. These will be used to create backends for a HTTP load balancer. Which type of instance group should you create? (Choose 1) A. Sole tenant group B. Managed instance group C. Network endpoint group D. Unmanaged instance group

B. Managed instance group Feedback: A managed instance group uses an instance template to create a group of identical instances. Managed instance groups (MIGs) let you operate apps on multiple identical VMs. You can make your workloads scalable and highly available by taking advantage of automated MIG services, including: autoscaling, autohealing, regional (multiple zone) deployment, and automatic updating.

There are two APIs that apply to speech. If you need to create a lifelike interaction with users to support a customer service application, which of the two Speech APIs would you use? (Choose 1) A. Speech-to-Text B. Text-to-Speech

B. Text-to-Speech Feedback: With the Text-to-Speech API, you can create lifelike interactions with users that transform customer service, device interaction, and other applications.

You need a solution that can extract text from scanned documents or images with text. You want the data to be available in a wide range of languages and searchable. What solution can you utilize to achieve this? (Choose 1) A. Cloud Talent Solution API B. Vision API C. Cloud Translation API D. Video Intelligence API

B. Vision API Feedback: The Vision API takes images with text, like scanned documents or signs and uses optical character recognition, or OCR, to extract the text of a wide range of languages into a selectable, searchable format.

In the lab, Introduction to SQL for BigQuery and Cloud SQL (Links to an external site.) you ran queries on the `bigquery-public-data.london_bicycles.cycle_hire` public dataset. Run queries on this dataset using the BigQuery console in order to answer the question below. You will need to refer back to the examples in this lab when answering the question. At which station do the greatest number of rides end?

Belgrove Street , King's Cross

You want to use BigQuery to analyze business events in real time. You are unsure of the amount of upfront storage resources you might need to provision and how much CPU and RAM will be required to carry out the analysis. What action will you need to take to ensure you have enough resources? (Choose 1) A. BigQuery will notify you when you need to add additional resources. B. You need to ensure that adequate resources are provisioned upfront. C. BigQuery allocates additional resources for you based on usage patterns. D. You need to allocate sufficient resources initially and can reduce them later.

BigQuery allocates additional resources for you based on usage patterns. Feedback: Users don't need to provision resources before using BigQuery, unlike many RDBMS systems. BigQuery allocates storage and query resources dynamically based on usage patterns.

I am thinking of a country. Its name starts with the letter B. Among all such countries, it has the greatest number of borders. Which country am I thinking of?

Brazil

You need to derive insights from images in the cloud for your business. You want to utilize Google's data labeling service so their team can help you annotate your images, videos, and text. Which service should you use? (Choose 1) A. TensorFlow B. Cloud Talent Solution API C. AutoML Vision D. AutoML Video Intelligence

C. AutoML Vision Feedback: AutoML is a suite of machine learning products that enables developers with limited machine learning expertise to train high-quality models specific to their business needs. Google's human labeling service can put a team of people to work annotating or cleaning your labels to make sure your models are being trained on high-quality data.

You want to deploy a pre-trained machine language solution that allows customers of a global delivery site to be able to submit queries in their local language via webchat regarding their package. The staff in London must be able to read all the queries in English. What API should you deploy? (Choose 1) A. Vision API B. Speech API C. Cloud Translation API D. Cloud Natural Language

C. Cloud Translation API Feedback: Translation API's pre-trained model supports more than one hundred languages, from Afrikaans to Zulu. When you don't know your source text language for instance, in user-generated content that doesn't include a language code, Cloud Translation API automatically identifies languages with high accuracy.

Which service of Google Cloud's operations suite provides visibility of the uptime and overall performance of your app? A. Cloud Debugger B. Cloud Logging C. Cloud Monitoring D. Cloud Trace

C. Cloud monitoring Feedback: Cloud Monitoring provides insight into how your applications are performing.

You want to use Cloud Deployment Manager to deploy your templates. Which languages can you use to create your templates? (Choose 2) A. Ruby B. Bash C. Jinja2 D. Python E. Javascript

C. Jinja2 D. Python Feedback: A template file is written in either Python or Jinja2. The Cloud Deployment Manager system will interpret each template recursively and inline the results within the configuration file. The interpretation of each template eventually results in the same YAML syntax for resources as that defined for the configuration file itself.

[LAB - Create an Internal Load Balancer] You want to create an internal load balancer to distribute traffic among a number of internal web services. In the Cloud Console, you navigate to Network services > Load balancing. Which option will allow you to create an internal load balancer. (Choose 1) A. Cloud NAT B. Traffic Director C. Only between my VMs D. From internet to my VMs

C. Only between my VMs Feedback: Choosing Only between my VMs makes this load balancer internal. This choice requires the backends to be in a single region (us-central1) and does not allow offloading TCP processing to the load balancer.

You have successfully created VPC Network Peering between network1 and network2. Network3 is connected to network1. Why is network2 not able to see traffic on network3? A. You do not have an available private IP address. B. You have not created the necessary firewall rules. C. VPC Network Peering does not support transitive peering. D. VPC Network Peering is not supported across organizations.

C. VPC Network Peering does not support transitive peering. Feedback: When using VPC Network Peering only directly peered networks can communicate, meaning that transitive peering is not supported.

You have non-relational data and want a serverless database without having to worry about nodes or cluster management. Which service would best suit your needs? A) Cloud Bigtable B) Cloud Datastore C) Cloud Spanner D) Cloud SQL

Cloud Datastore Feedback: Cloud Datastore is the only option that does not require the construction of a server.

GCP has different options for SQL-based managed services. Which of these options is horizontally scalable and globally available? A) Cloud Bigtable B) Cloud Datastore C) Cloud Spanner D) Cloud SQL

Cloud Spanner Feedback: Cloud Spanner is unique in that it is a horizontally scalable, globally available database service offering up to five nines of availability.

[LAB - HTTP Load Balancer with Cloud Armor] You require a solution that will restrict or allow access to your HTTP(S) load balancer at the edge of the Google Cloud to prevent malicious traffic from consuming resources? What solution should you deploy? (Choose 1) A. Firebase B. Firestore C. Google DNS Server D. Google Cloud Armor IP

D. Google Cloud Armor IP Feedback: Google Cloud Armor IP deny/allow rules enable you to restrict or allow access to your HTTP(S) load balancer at the edge of the Google Cloud, as close as possible to the user and to malicious traffic. This prevents malicious users or traffic from consuming resources or entering your virtual private cloud (VPC) networks.

You are migrating your SQL database to BigQuery. Currently, you manage user access using SQL GRANT and REVOKE to enforce database security. What do you now need to use in order to manage user access? (Choose 1) A. Manage user access using SQL Management Studio. B. Continue using SQL Permissions to manage database security. C. Manager user permissions using Cloud Key Management Service. D. Manage user permissions using Cloud Identity and Access Management.

D. Manage user permissions using Cloud Identity and Access Management. Feedback: Cloud Identity and Access Management is used to grant permission to perform specific actions in BigQuery. This replaces the SQL GRANT and REVOKE statements that are used to manage access permissions in traditional SQL databases.

You want to make your Dataproc cluster disposable while keeping your data safe. Which of the following is the best option? (Choose 1) A. Leverage persistent disks. B. Have the cluster stream data to filestore. C. Keep the cluster and continue to use HDFS. D. Replace your HDFS filesystem with Cloud Storage.

D. Replace your HDFS filesystem with Cloud Storage. Feedback: Cloud Storage can be used as a replacement for the HDFS. In this example, the cluster can be destroyed without losing data.

Google provides quick start templates for Dataflow. Why would you use them? (Choose 1) A. To help get started coding. B. To make it easier to use Spark. C. To build pipelines using Cloud Deployment Manager. D. To rapidly deploy data pipelines without programming expertise.

D. To rapidly deploy data pipelines without programming expertise. Feedback: Google provides quick start templates for Dataflow to allow you to rapidly deploy a number of useful data pipelines without requiring any Apache Beam programming expertise.

[LAB - Create an Internal Load Balancer] You want to distribute TCP/UDP based traffic among virtual machine instances in the same region in a Virtual Private Cloud (VPC) network using an internal load balancer. How is load balancing traffic distributed among the virtual machine instances? (Choose 1) A. Using a TCP proxy B. Using an SSL proxy C. Using an external IP address D. Using an internal IP address

D. Using an internal IP address Feedback: Internal TCP/UDP Load Balancing is a regional load balancer that enables you to run and scale your services behind an internal load balancing IP address that is accessible only to your internal virtual machine (VM) instances. Internal TCP/UDP Load Balancing distributes traffic among VM instances in the same region in a Virtual Private Cloud (VPC) network by using an internal IP address.

You want to perform MapReduce operations. You do not have any specific Hadoop package dependencies. However, you prefer to have a hands-on approach to operations and want to create the clusters needed to perform ETL jobs. Which solution should you choose? (Choose 1) A. BigQuery B. Dataflow C. Dataprep D. Dataproc

Dataproc Feedback: Both Dataproc and Dataflow can perform MapReduce operations. The biggest difference between them is that Dataproc works similarly to how Hadoop would work in the physical infrastructure. You would still create a cluster of servers to perform the ETL jobs. In the case of Dataflow, the process is serverless.

[LAB - VPC Networking Fundamentals] You are configuring VPC Networking in the Cloud Console. You navigate to VPC network > VPC networks and find the default network. What is each subnet associated with? (Choose 1) A. Each subnet is associated with a zonal range of private IP addresses. B. Each subnet is associated with a range of manually created IP addresses. C. Each subnet is associated with a Google Cloud region and a private RFC 1918 CIDR block. D. Each subnet is associated with a range of static IP addresses and a random RFC 1918 CIDR block.

Each subnet is associated with a Google Cloud region and a private RFC 1918 CIDR block. Feedback: The default network has a range of subnets. Each subnet is associated with a Google Cloud region and a private RFC 1918 CIDR block for its internal IP addresses range and a gateway.

True or False. Facial detection and facial recognition are the key capabilities of the Vision API used to detect what an image is and classify it.

False. Feedback: The answer is False. While facial detection can detect when a face appears in photos, facial recognition isn't supported and Google doesn't store facial detection information on any Google server.

True or False. The Video Intelligence API only supports the annotation of MPEG4, MP4, and AVI video formats.

False. Feedback: The answer is False. The Video Intelligence API is similar to the Vision API, where it can perform a variety of actions including logo detection, facial recognition, text discovery, except the Video Intelligence API can provide this same feedback on video. The API supports the annotation of common video formats, including MOV, MPEG4, MP4, and AVI.

[LAB - HTTP Load Balancer with Cloud Armor] You have configured HTTP(S) Load Balancing to handle IPv6 and IPv4 addresses for client traffic. Where are the IPv6 requests terminated? (Choose 1) A. Global load balancing layer B. Internal load balancing layer C. Zonal network Endpoint Group D. Internet Network Endpoint Group

Global load balancing layer Feedback: HTTP(S) Load Balancing supports both IPv4 and IPv6 addresses for client traffic. Client IPv6 requests are terminated at the global load balancing layer, then proxied over IPv4 to your backends.

Cloud Identity and Access Management (Cloud IAM) allows you to manage privileges. What do these privileges apply to? (Choose 1) A) Applications. B) Operating systems. C) Google Cloud Platform (GCP) resources. D) Applications, GCP, and operating systems.

Google Cloud Platform (GCP) resources. Feedback: IAM only applies to the GCP resources you use. Application and operating system security must be handled separately.

Which statement accurately describes Google's relationship with open source infrastructure as code (IaC) tools? (Choose 1) A. Open source tools are currently in beta. B. Open source IaC tools cannot be used with Google. C. Open source tools can only be used with a valid license. D. Google has a team of engineers available to support third-party, open source IaC tools.

Google has a team of engineers available to support third-party, open source IaC tools.

Which of the following best describes a major advantages GCP has over other cloud providers? A) Google uses satellite links as a way of interconnecting Regions, Zones, and POPS.. B) Google leverages traditional networking gear from commercial vendors.. C) Google leases fiber from multiple vendors. In the event of a vendor's fiber failing, another vendors network can be used as a backup. D) Google owns one of the largest networks in the world. All regions and zones are connected on the same network.

Google owns one of the largest networks in the world. All regions and zones are connected on the same network. Feedback: Google owns one of the worlds largest networks with 100,000s of kilometers of fiber and over 100 POPs all interconnecting regions and zones. The network also leverages multiple intercontinental fiber connections.

Which load balancing option can be used if you want to distribute web traffic to two applications in different parts of the world? A. HTTP(S) Load Balancer B. Internal Load Balancer C. Network Load Balancer D. TCP Proxy Load Balancer

HTTP(S) Load Balancer HTTP(S) load balancers can distribute web traffic to multiple regions that are geographically separated.

What type of service best describes Google Kubernetes Engine? A) Hybrid B) IaaS C) PaaS D) SaaS

Hybrid Feedback: GKE is a hybrid service. On the one hand, the infrastructure is managed for Kubernetes. But you still have to run Kubernetes to build your applications.

What is the purpose of Cloud Debugger? A. Write code tools to interrogate issues. B. Investigate the behavior of code in production. C. Report on bugs and send notifications to users. D. Slow down an application and step through the code.

Investigate the behavior of code in production. Feedback: Cloud Debugger allows you to inspect the state of a running application in real time, without stopping or slowing the application down.

[LAB - Dataflow: Qwik Start - Templates] You want to use a Dataflow template to allow you to stage your pipelines on Cloud Storage and run them from a variety of environments. You choose the Pub/Sub to BigQuery template that will read messages from a Pub/Sub topic and push them to a BigQuery table. What message format does this template use? (Choose 1) A. CSV B. XML C. Avro D. JSON

JSON Feedback: The Pub/Sub Subscription to BigQuery template is a streaming pipeline that reads JSON-formatted messages from a Pub/Sub subscription and writes them to a BigQuery table. You can use the template as a quick solution to move Pub/Sub data to BigQuery. The template reads JSON-formatted messages from Pub/Sub and converts them to BigQuery elements.

You are using AI Platform to train and evaluate your model in the cloud. Which two sets of data must you provide? (Choose 2) A. Groups B. Labels C. Insights D. Features E. Properties

Labels, Features Feedback: The first stage of ML is to train an ML model with examples. An example consists of an input, called a feature, and the correct answer for that input. This is called the label.

Google Cloud provides resources in multi-regions, regions, and zones. What best describes a zone? A) An edge location. B) One or more data centers. C) A point of presence (PoP). D) Geographic location to leverage services.

One or more data centers. Feedback: Regions are made up of zones. Each Region will have at least 3 data centers or zones to provide high availability.

You need a simple and reliable staging location for your event data on its journey towards processing, storage, and analysis. Which of the following services should you consider?

Pub/Sub Managing data thats coming in, diff tasks that need to be done w data. Pub Sub allows diff tasks in data pipeline to communicate so that when one part of data pipeline is done w its task, its completion is published as a message so next task can be started.

You want to create a single location to control traffic to all the virtual private clouds (VPCs) in your organization. What is the best option? A. Cloud Interconnect B. Peering C. Shared VPC D. VPC Peering

Shared VPC Feedback: Shared VPC allows for a central point of control for all VPCs in an organization.

What does it mean for a system to be elastic? A) The system is multi-cloud. B) The system can bounce back after an outage. C) The system can be moved from region to region. D) The system can add and remove resources based on need.

The system can add and remove resources based on need. Feedback: Elastic systems can add or remove resources based on performance needs.

Adding LIMIT 10 to your query won't reduce the cost of the query. True or False?

True

True or False: The Google Cloud shell runs on the Linux operating system.

True

True or False. Python is a runtime option for Cloud Functions.

True Feedback: The answer is True. Cloud Functions supports code written in Go, Python, and Node.js.

True or False. Stackdriver metrics can be used to trigger an autoscaling event.

True Feedback: The answer is True. Stackdriver metrics, CPU usage, and load balancer usage are all examples of triggers for an autoscaling event.

True or False. Cloud Deployment Manager allows you to specify all the resources needed for your application in a declarative format using YAML.

True. Feedback: The answer is True. Cloud Deployment Manager is an Infrastructure as Code (IAC) tool, designed for the automated construction, modification, and destruction of cloud infrastructures. Deployment Manager allows you to specify all the resources needed for your application in a declarative format using YAML.

True or False. Machine learning uses standard algorithms because it allows you to use the same code on different datasets to generate different models.

True. Feedback: The answer is True. ML allows for the use of standard algorithms for generating different models including classification, and linear regression models. The same code can be used on different datasets promoting code reuse.

How would you test a Google API and learn how it works? 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.

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.

What is the purpose of a folder? A) Used to organize projects B) Used to organize instances C) Used to organize users D) Folders are not part of the hierarchy

Used to organize projects Feedback: Folders are used to organize projects. You can put projects or other folders into a folder.

Which managed service should you use if you want to do a lift and shift of an existing Hadoop cluster without having to rewrite your Spark code? a. Dataproc b. Dataflow c. BigQuery d. Cloud Bigtable

a. Dataproc use if you are already working with Hadoop/Spark

In the lab, which are reasons to create a new dataset called Reports? Select three. (from original BigQuery public dataset) a. It reduces the amount of data queried by the dashboard b. It removes unnecessary access to your source datasets by users who are only interested in aggregated data c. To keep your dashboard up-to-date d. To reduce query costs

a. It reduces the amount of data queried by the dashboard b. It removes unnecessary access to your source datasets by users who are only interested in aggregated data d. To reduce query costs

In the query that you ran to train your model, a WHERE clause condition is being used to filter and train on only the first 9 months of session data in your 12 month dataset. Why? a. You need to save some unseen data points for model evaluation and testing b. The ROC curve is better when using only 9 months of data. c. The other three months where not relevant to the business model. d. The training will be too slow if using all 12 months of data.

a. You need to save some unseen data points for model evaluation and testing

Which of the following services leverages the Apache Beam SDK to perform ETL operations on both batch and streaming data? a. Dataproc b. Dataflow c. BigQuery d. Cloud Bigtable

b. Dataflow

Suppose that you will create a Machine Learning model in BigQuery to predict whether or not a new user is likely to purchase in the future. If you are bucketing visitors into "will buy in future" or "won't buy in future", which model should you use? a. Linear regression (numeric value) b. Logistic regression (0 or 1 for binary classification)

b. Logistic regression

[LAB - Cloud Storage: Qwik Start - CLI/SDK] You want to create a bucket with a particular project name. You execute 'gsutil mb gs://project' but receive an error message. Why is this the case? (Choose 1) a. project reveals sensitive information b. The bucket name is already taken c. project is not a valid DNS name d. the bucket name cannot start with a letter

b. The bucket name is already taken

The internet is the standard communication channel that APIs use to transmit requests and responses between programs. The client-server model is the underlying architecture that web-based APIs use for exchanging information. The ________ is a computing device (e.g. a smartphone, laptop, etc.) that makes a request for some computing resource or data. The request needs to be formatted in the agreed upon protocol. The ________ has data and/or computing resources stored on it. Its job is to interpret and fulfill requests.

client ; server

Which of the following is true concerning Deployment Manager? a. Templates can be written in XML or YAML b. Deployment manager is only used for building virtual machines c. Deployment manager is an imperative tool d. Deployment manager is a declarative tool

d. Deployment manager is a declarative tool explanation: can be written with YAML only

EXAMPLE: A sentiment-analysis model is trained to predict whether book reviews are positive or negative based on a corpus of user submissions to a popular website. The majority of reviews in the training data set reflect extreme opinions (reviewers who either loved or hated a book), because people were less likely to submit a review of a book if they did not respond to it strongly. As a result, the model is less able to correctly predict sentiment of reviews that use more subtle language to describe a book. Is this an example of bias in ML? If yes, what kind? If no, why not? a. Yes. Automation Bias. b. No. This is an example of lack of stationarity in the dataset. c. No. This is an example of overfitting. d. Yes. Reporting Bias.

d. Yes. Reporting Bias.

What is the output of the following bash code? pwd A) There is no output, pwd is a command for changing directory to the working directory B) 'pwd' is not recognized as an internal or external command operable program or batch file C) displays the names and values of all shell variables and functions D) the full pathname of the current working directory

the full pathname of the current working directory

What is the difference between a single and double hashtag in a markdown cell? A) Double hashtag is title header, single hashtag is a smaller header B) There is no difference C) Single hashtag is title header, double hashtag is a smaller header

C) Single hashtag is title header, double hashtag is a smaller header

Every GCP service you use is associated with a project. Which of the following statements regarding projects are correct? 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.


Conjuntos de estudio relacionados

Negative Symptoms: flat affect, alogia & avolition (Psyc 460 - Chapter 14)

View Set

Connecting to and Setting Up an Network Chapter 14

View Set

Home Inspection - Report Writing & SOP

View Set

NURS 2207- Oncology Evolve EAQ (Graded)

View Set

Social Psychology Test 1- Chapter 4

View Set

N257 Jeopardy and quiz questions

View Set

Pediatrics: Growth & Development school age child

View Set