Professional Cloud Architect Flashcards

1
Q

What is a GCP Service that handles streaming and batch data?

A

Cloud DataFlow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does DLP stand for and how is it used?

A

Data Loss Prevention and it is used to sanitize data and remove sensitive information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

App Engine is what type of service?

A

PAAS Platform as a Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Compute Engine (GCE) is what type of service?

A

IAAS Infrastructure as a Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the FireStore Components?

A

Field
Collection Group
Document
Document ID

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the Cloud DataStore Components?

A

Kind
Entity
Property
Key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

If a Compute Engine Application exists in a single VPC across three regions and your application must communicate over VPN to your company’s on-premise network then how many VPN Gateways are required?

A

3 Cloud VPN gateways are required.
Cloud VPN Gateways are bound to a single region.
Create a Cloud VPN Gateway in each region

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What type of migration model does Dress4Win state in their business requirements?

A

Lift and Shift

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the 5 sequential steps for cloud migration?

A
1 Assess
2 Pilot
3 Move Data
4 Move Applications
5 Cloudify & Optimize
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Dynamic Routing uses a _________ to automatically discover new subnet routes

A

Cloud Router

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The 4 layers of the GCP Cloud Resource Hierarchy

A

1 Organization
2 Folders
3 Projects
4 Resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which network interconnect method connects your network to a GCP VPC over a public internet encrypted tunnel?

A

Cloud VPN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Command to create a new storage bucket

A

gsutil mb -l {location} -c {storage class} gs://BucketName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Cloud Router uses this protocol to handle dynamic routing between locations

A

BGP Border Gateway Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Where can you export Stackdriver logs to (not counting customer locations)

A

1 Cloud Storage
2 Cloud Pub/Sub
3 BigQuery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the max speed of a single Cloud VPN tunnel (non-peered)

A

1.5 Gbps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Every load balancer must have a ___ and a ____

A

Frontend || Backend

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Role necessary to link a project to a billing account

A

Billing Account User

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

How many VPN tunnels can you create in a single Cloud VPN gateway

A

8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is the default, implied status of all egress traffic in a VPC firewall

A

Allow All

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Google Cloud Storage holds what type of data?

A

Unstructured

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

This service is required to setup dynamic routing over a Cloud VPN Service

A

Cloud Router

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Where does Cloud Dataaprep load data from?

A

Cloud Storage and BigQuery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

The two methods of permissions for Google Cloud Storage

A

1 IAM: Identity and Access management

2 ACL: Access control list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

This database service is ideal for low-latency storage of time-series data

A

Cloud BigTable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Relational Databases

A

Cloud SQL

Cloud Spanner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

Non-Relational Databases

A

Cloud DataStore
Cloud FireStore
Cloud BigTable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

DataWareHouse

A

BigQuery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

This managed database is a no-ops petabyte-scale data warehouse that queries data in standard SQL Format

A

Big Query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

Retention period for data access logs

A

30 days

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

______ Roles apply to the entire project.

A

Primitive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

An HTTP load balancer can forward traffic by ____ and ____

A

location

content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

Which GCP load balancers are multi-regional in scope?

A

1 HTTP Load Balancer
2 TCP Proxy
3 SSL Proxy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

VPC subnets can exist in more than one _____

A

zone (in the same region)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

Which connection protocol does the Cloud VPN service use?

A

IPSEC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

This IAM member allows public/anonymous access to a resource

A

allUsers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

Google account type for members of an organization WITHOUT access to Google apps

A

Cloud Identity Domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

What type of managed database is ideal for web and mobile applications?

A

Cloud DataStore

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

More lightweight container image option to run on GKE

A

Alpine Linux

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

The name for the modular components of a Cloud Deployment Manager Configuration

A

Templates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

GCP Service for Providing a ‘single pane of glass’ for monitoring resources and alerts across projects in AWS

A

StackDriver Monitoring

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

VPC firewall rules are applied on a per-instance basis

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

What layer of the Cloud Resource Hierarchy are chargeable resources hosted in?

A

Projects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

Which networking interconnect option connects your business directly to Google, but not directly to GCP VPC?

A

Peering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

The 3 Primitive Roles and the types of access they give:

A

1 Owner: Full Project Access (Billing and Assigning IAM Roles)
2 Editor: Full Access minus- Billing and IAM access
3 Viewer: View only

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

Google account type for a collection of individual Google Accounts

A

Google Groups

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

When to use Dataproc over Data Flow

A

When using Hadoop/Spark workflows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

Another term for mapping Cloud Identity to Active Directory to duplicate account information.

A

Federation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

What is a pod on GKE?

A

Smallest deployable unit. Contains one or more containers that run on nodes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

The three IAM Role Types

A

1 Primitive
2 Predefined
3 Custom

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q

Two format options for Cloud Deployment Manager template files

A

Jinja

Python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
52
Q

The five (non-beta) Stackdriver services

A

1) . Logging
2) . Trace
3) . Monitoring
4) . Error Reporting
5) . Debug

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

Cloud Storage can act as a block-level SAN replacement (True/False)

A

False; you would need to use a persistent disk for a direct SAN replacement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
54
Q

The two Memcache service levels

A

1 Dedicated

2 Shared

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
55
Q

GCP service for asynchronous messaging, used for streaming data ingest

A

Cloud Pub/Sub

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
56
Q

In a Shared VPC network, the ____ project hosts the VPC components, and the ___ project uses hosted VPC resources

A

Host

Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
57
Q

This managed database is ideal for NoSQL purposes, is NoOps in setup/maintenance, and is ideal for mobile save game state

A

Cloud DataStore

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
58
Q

What is a service account?

A

1 Assigned to an application or a server
2 Authenticated with a service account key
3 Both a member and a resource

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
59
Q

How to easily apply VPC firewall rules to individual instances instead of the entire network

A

Network Tags

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
60
Q

Admin Activity Logs are ____ by default

A

Enabled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
61
Q

When are un-managed instance groups useful?

A

Migrating grouped servers to the cloud with minimal disruption in workflow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
62
Q

____ provides a direct physical connection to connect your on-premises network to a Google Cloud VPC network.

A

Cloud Interconnect

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
63
Q

How to optimize your CDN cache performance:

A

Configure Cache Hit Ratio

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
64
Q

Collection of statements that define who has access to what resource on GCP

A

IAM Policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
65
Q

This application is required to configure a Cloud Storage bucket as a mounted disk on a GCE instance.

A

Google Cloud Storage Fuse (gcs-fuse)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
66
Q

a managed instance group is created from an ____

A

Instance Template

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
67
Q

Permissions for working with VPC networks fall under this service.

A

Compute Engine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
68
Q

What are the 5 load balancer options in GCP

A

1) Internal
2) Network
3) HTTP(s)
4) TCP Proxy
5) SSL Proxy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
69
Q

How to add subnets in other regions to the same VPC network:

A

No configuration necessary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
70
Q

What are the two database structure formats we discussed in this course?

A

Relational (SQL) || Non-Relational (NoSQL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
71
Q

An export in Stackdriver Logging requires what components to setup?

A

A filter to select log entries
A destination to export filtered logs
Sink: Select which filtered logs to send to which destination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
72
Q

Format of Deployment Manager configuration files

A

YAML format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
73
Q

GCP’s service that is build on Apache Beam, used for processing both batch and streaming data

A

Cloud DataFlow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
74
Q

Retention period for admin activity logs

A

400 days

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
75
Q

This type of disk is directly connected to a GCE instance and must be set up on instance creation

A

Local SSD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
76
Q

Where can billing data be exported?

A

1 Cloud Storage

2 Big Query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
77
Q

Which are the benefits of quotas?

A

Protection of unexpected spikes in resource usage

Prevent runaway consumption due to error or malicious intent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
78
Q

What could be the cause if an Instance Group VMs keep restarting every minute?

A

1 Failing Health Check

2 Configure the firewall to allow proper access to instance group VM’s (subnet, tag) from load balancer IP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
79
Q

MountKirk Games is looking to migrate how many environments to the cloud?

A

(2) environments different storage for each service
1 Game BackEnd on Google Cloud Compute Engine (GCE)
2 Analytics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
80
Q

What would fulfill the MountKirk technical requirement for “connecting a trans-actional database service to manage user profiles and game state”?

A

Cloud Datastore - NoSQL transactional database - perfect for game user-profiles and game states

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
81
Q

What would fulfill the MountKirk technical requirement “Store game activity in a timeseries database service for future analysis”?

A

Store in BigQuery
BigQuery vs BigTable
BigQuery a lot more managed
No requirement for low latency analytics response time (Big Table)
BigQuery has a response measured in seconds, scales efficiently
BigQuery reading from BigTable possible response as well

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
82
Q

What would fulfill the MountKirk technical requirement “As the System scales, ensure that data is not lost due to processing backlogs. “?

A

1 HTTP Load Balancer- Automatically scales to meet demand
2 Managed Instance Groups - also auto-scales
3 Pub/Sub - Buffers late/slow data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
83
Q

What would fulfill the MountKirk technical requirement “Run hardened Linux Distro”?

A

Managed Instance groups with custom images

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
84
Q

What would fulfill the MountKirk technical requirement “Process incoming (streaming) data on the fly directly from the game servers?

A
Connect services (stackdriver logs metrics, gce game serverss) with Pub/Sub
Process with DataFlow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
85
Q

What would fulfill the MountKirk technical requirement “Process data that arrives late because of slow mobile networks” ?

A

Pub/Sub: Scales and Buffers messages

DataFlow: Accounts for late/out of order data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
86
Q

What would fulfill the MountKirk technical requirement “Allow queries to access at least 10 TB of historical data.”?

A

BigQuery - SQL Queries against data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
87
Q

What would fulfill the MountKirk technical requirement “Process files that are regulary uploaded by users’ mobile devices. ?

A

Upload to Cloud Storage

Process via DataFlow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
88
Q

What would fulfill the Dress4Win technical requirement equivalent of “MySQL”?

A

DataCenter&raquo_space; GCP
MySQL&raquo_space; Cloud SQL (Lift . Shift)
5TB&raquo_space; 10 TB Size Limit
Single Region - no global footprint requirement
Migration -
1 Create replica server managed by Cloud SQL
2 Once replica is synced: Update applications to point to replica
3 Promote replica to stand-alone instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
89
Q

What would fulfill the Dress4Win technical requirement “Redis 3 server Cluster” ?

A

Two options

1) Run Redis server on Compute Engine
2) Use new Memorystore managed Redis database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
90
Q

What would fulfill the Dress4Win technical requirement “40 Web Application servers providing micro-services based APIs and static content. “Tomcat - Java”, “Nginx”, “4 core CPUs”,”32 GB of RAM”?

A

The existing environment has lots of idle time
- Managed instance groups - autoscaling using custom machine types (Fits Lift . Shift)
Alternatively - can re-architect for GKE/GAE for microservices deployments for future phases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
91
Q

What would fulfill the Dress4Win technical requirement “20 Apache Hadoop/Spark servers:”?

A

Cloud Dataproc connecting to Cloud Storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
92
Q

What would fulfill the Dress4Win technical requirement “3 RabbitMQ servers for messaging, social notifications, and events:”?

A

Pub/Sub likely replacement

Can also deploy same environment on Compute engine instance group (lift and shift)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
93
Q

What would fulfill the Dress4Win technical requirement “Jenkins, monitoring, bastion hosts, security scanners”?

A

No managed service equivalents
Use GCE instances - custom machine types
Think about using the Market Place as well

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
94
Q

What would fulfill the Dress4Win technical requirement “iSCSI for VM hosts/Fiber channel SAN - Backup for MySQL databases” ?

A

SAN/iSCSI requires block storage

Persistent disks working in a SAN Cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
95
Q

What would fulfill the Dress4Win technical requirement “NAS - image storage, logs, backups”?

A

Cloud Storage - direct replacement
Infinite scale in a single bucket
Persistent also an option

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
96
Q

What would fulfill the TerramEarth business requirement “Decrease unplanned vehicle downtime to less than 1 week”?

A

Convert to 100% cellular connectivity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
97
Q

What would fulfill the TerramEarth business requirement “Support the dealer network with more data on how their customers use their equipment to better position new products and services”?

A

Share insights with Data Studio

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
98
Q

What would fulfill the TerramEarth business requirement “Have the ability to partner with different companies – especially with seed and fertilizer suppliers in the fast-growing agricultural business – to create compelling joint offerings for their customers”?

A
  • Share insights with Data Studio
  • BigQuery / ML analytics to predict customer needs
  • Tech lead will enable partnerships
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
99
Q

What would fulfill the TerramEarth technical requirement “expand beyond a single datacenter to decrease latency to American midwest and east coast”?

A

Multi-regional/global services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
100
Q

What would fulfill the TerramEarth technical requirement “create a backup strategy”?

A

Regular BigQuery Exports to Cloud Storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
101
Q

What would fulfill the TerramEarth technical requirement “Increase the security of data transfer from equipment to the datacenter”?

A
  • Cloud Endpoints - manage and protect APIs
  • Cloud IoT Core - also managed security
  • Customer supplied encryption keys
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
102
Q

What would fulfill the TerramEarth technical requirement “Improve data warehouse”?

A
  • Cloud dataflow - transform incoming streaming data to the preferred format
  • Alternatively, stage in Cloud Storage, clean with Cloud Dataprep, and run job backed by DataFlow into BigQuery
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
103
Q

What would fulfill the TerramEarth technical requirement “Use Customer and equipment data to anticipate customer needs”?

A

Pair BigQuery with machine learning services for predictive analytics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
104
Q

_______ provides visual notebooks for working with BigQuery/Cloud ML Engine data for ML/analytics?

A

Datalab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
105
Q

What does CSEKs stand for?

A

Customer-supplied encryption keys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
106
Q

What does CMEK stand for?

A

Customer-managed encryption keys

107
Q

What is a use case for a .boto file?

A

use a .boto configuration file to supply the customer_managed encryption key, then use gsutil to upload the files

108
Q

______ works with Global HTTP(s) Load Balancers to Deliver defense against ddos attacks.

A

Cloud Armor

109
Q

_________ will allow vms on your subnet to access GCP resources

A

Private Google Access

110
Q

Resources not hosted on GCP should use a _____

A

CSEK Custome Service Encryption key for authentication

111
Q

Subnets are ________ resources

A

Regional

112
Q

An IAM Policy Consists of a ____________

A

List of Bindings

113
Q

What role gives you permission to set up a Shared VPC

A

Shared VPC Admin Role

114
Q

Based on MountKirk Games’ technical requirements, what GCP services/infrastructure will they use to host their game backend?

A

Managed Instance Group on Compute Engine

115
Q

What is Google Container Engine?

A

GKE Google Container Engine is the older naming convention of the container orchestration Google Kubernetes

116
Q

What does the HTTP status Error response 401?

A

Unauthorized

117
Q

You want to enable your running Google Kubernetes cluster to scale as demand for your application changes. What should you do?

A

Update the existing Kubernetes Engine Cluster with the following command; “gcloud container clusters update CLUSTER_NAME –enable-autoscaling –min-nodes=1 –max-nodes=10”

118
Q

Your company places a high value on being responsive and meeting customer needs quickly. Their primary business objectives are release speed and agility. You want to reduce the chance of security errors being accidentally introduced. Which two actions can you take?

A

1) Use source code security analyzers as part of the CI/CD pipeline
2) . Run a vulnerability security scanner as part of your continuous-integration - delivery (CI/CD) pipeline

119
Q

What are 2 characteristics of GCP VPC subnets?

A

1) . Each subnet can span at least 2 Availability Zones to provide a high-availability environment.
2) . By default, all subnets can route between each other, whether they are private or public

120
Q

What is the minimum CIDR size for a subnet?

A

/29

121
Q

Which of TerramEarth’s legacy enterprise processes in their existing data centers would experience significant change as a result of increased Google Cloud Platform adoption?

A

Capacity planning, utilization measurement, data center expansion

122
Q

You have a mission-critical database running on an instance on Google Compute Engine. You need to automate a database backup once per day to another disk. The database must remain fully operational and functional and can have no downtime. How can you best perform an automated backup of the database with minimal downtime and minimal costs?

A

Use a cron job to schedule your application to backup the database to another persistent disk.

123
Q

Once a month Terram Earth’s vehicles are serviced and the data is downloaded from the maintenance port. the data analysts would want to query this huge data collected from these vehicles and analyze the overall condition of the vehicles. Terram Earth’s management is looking at a solution which cost-effective and would scale for future requirements.

A

Load the data from Cloud Storage to BigQuery and run queries on BigQuery

124
Q

Your company’s architecture is shown in the diagram. You want to automatically and simultaneously deploy new code to each Google Container Engine cluster. Which method should you use?

A

Use an automation tool, such as Jenkins

125
Q

BigQuery Best practices for controlling cost

A

1) . Avoid SELECT * Query only the columns that you need
2) . Use the –dry_run flag in the CLI before running queries, preview them to estimate costs
3) . If possible, partition your BigQuery tables by date

126
Q

The security team has disabled external SSH access into production virtual machines in GCP. The operations team needs to remotely manage the VMs and other resources. What can they do?

A

Grant the operations team access to use Google Cloud Shell

127
Q

Dress4Win has asked you to recommend machine types they should deploy their application servers t. How should you proceed?

A

Recommend that Dress4Win deploy into production with the smallest instances available, monitor them over time, and scale the machine type up until the desired performance is reached.

128
Q

What is Google’s continuous integration solution?

A

Cloud Build

129
Q

Kubernetes Engine offers integrated support for two types of ________ for a publicly accessible application:

A

Cloud Load Balancing

130
Q

URL maps are used with the following Google Cloud products:

A

1) . External HTTP(S) Load Balancing
2) . Internal HTTP(S) Load Balancing
3) . Traffic Director

131
Q

Your customer is moving an existing corporate application from an on-premises data center to the Google Cloud Platform. The business owner requires minimal user disruption. There are strict security team requirements for storing passwords. What authentication strategy should they use?

A

Federate authentication via SAML 2.0 to the existing Identity Provider

132
Q

You write a Python script to connect to Google BigQuery from a Google Compute Engine virtual machine. The script is printing errors that it cannot connect to BigQuery. What should you do to fix the script?

A

Run your script on a new virtual machine with the BigQuery access scope enable.

“The error is most like caused by the access scope issue. When a new instance is created you have the Compute Engine default service account but most services like access including BigQuery is not enabled.”

133
Q

AS part of migrating plans to the cloud, Dress4Win wants to set up a managed logging and monitoring system so they can understand and manage workload based on the traffic spikes and patterns.

They want to ensure that:
- The infrastructure can be notified when it needs to scale up and down to handle the daily workload

  • Their administrators are notified automatically when their application reports errors
  • They can filter their aggregated logs down to debug one piece of the application across many hosts.

Which Google StackDriver features should they use?

A

Monitoring, Logging, Debug, Error Report

134
Q

You work in a small company where everyone should be able to view the resources of a specific project. You want to grant them access following Google’s recommended practices. What should you do?

A

Create a new Google Group and add all users to the group. Use “gcloud projects add-iam-policy-binding” with the Project Viewer role and Group email address

135
Q

One of your primary business objectives is being able to trust the data stored in your application. You want to log all changes to the application data. How can you design your logging system to verify the authenticity of your logs?

A

Digitally sign each timestamp and log entry and store the signature.

“To verify the authenticity of your logs if they are tampered or forged, you can use certain algorithms to generate digest by hashing each timestamp or log entry and then digitally sign the digest with a private key to generate a signature. Anybody with your public key can verify that signature to confirm that it was made with your private key and they can tell if the timestamp or log entry was modified.

You can put the signature files into a folder separate from the log files. This separation enables you to enforce granular security policies.

136
Q

Mountkrik is setting up its backend platform for a new game. They expect the new game to become popular once it is released. The platform must adhere to their technical requirements. Please select the Google Cloud Services that would fulfill all their requirements.

A

Managed Instance Group with Auto Scaling enabled, Cloud Datastore BigQuery, DataFlow

  1. Dynamically scale up or down based on game activity (Managed Instance Group w/ Autoscaling)
  2. Connect to a transactional database service to manage user profiles and game state (Cloud Datastore because Cloud Datastore is good for user profiles that deliver a customized experience based on the user’s past activities and preferences(gaming).
  3. Store game activity in a time-series database server for future analysis (BigQuery is good for time-series data unless it is specified for ‘low-latency’, BigTable would be a better fit
  4. As the system scales, ensure that data is not lost due to processing backlogs (Dataflow can handle late-arriving data and out of order data)
  5. Run hardened Linux distro (Managed Instance Group with Hardened Linux Distribution)
137
Q

How are subnetworks different than the legacy networks?

A

Each subnetwork controls the IP address range used for instances that are allocated to that subnetwork

138
Q

What is the command to use multi-threaded uploads?

A

gsutil -m cp -r dir gs://my-bucket

139
Q

You have a collection of media files over 5GB each that you need to migrate to Google Cloud Storage. The files are in your on-premises data center. What migration method can you use to help speed up the transfer process?

A

Use parallel uploads to break the file into smaller chunks then transfer it simultaneously.

gsutil -o GSUtil:parallel_composite_upload_threshold=150M cp bigfile gs:///yourbucket

140
Q

What are the flags to start a recursive upload?

A

The -R and -r options are synonymous. It causes directories, buckets, and bucket subdirectories to be copied recursively.

141
Q

What are two business risks of migrating to Cloud Deployment Manager?

A

1) . Cloud Deployment Manager only supports the automation of Google Cloud Resources.
2) . Cloud Deployment Manager can be used to permanently delete cloud resources

142
Q

Dress4Win wants to do penetration security scanning on the test and development environment deployed to the cloud. The scanning should be performed from an end-user perspective as much as possible. How should they conduct penetration testing?

A

Use the on-premises scanners to conduct penetration testing on the cloud environments routing traffic over the public internet.

143
Q

Mountkirk Games wants you to design their new testing strategy. How should the test coverage differ from their existing backends on the other platforms?

A

Tests should include directly testing the Google Cloud Platform (GCP) Infrastructure

144
Q

Your company collects and stores security camera footage in Google Cloud Storage. Within the first 30 days, the footage is processed regularly for threat detection, object detection, trend analysis, and suspicious behavior detection. You want to minimize the cost of storing all the data. How should you store the videos?

A

Use Google Cloud Regional Storage for the first 30 days, and then move to Coldline Storage.

145
Q

A production database virtual machine on Google Compute Engine has an ext4-formatted persistent disk for data files. The database is about to run out of storage space. How can you remediate the problem with the least amount of downtime?

A

In the Cloud Platform Console, increase the size of the persistent disk and use the resize2fs command in Linux.

146
Q

What is the command to resize a GCE disk?

A

gcloud compute disks resize [DISK_NAME] –size [DISK_SIZE]

147
Q

You are migrating your existing data center environment to Google Cloud Platform. You have 1 petabyte Storage Area Network (SAN) that needs to be migrated. What GCP service will this data map to?

A

Persistent Disk

SAN data uses block storage, which will map directly to a persistent disk on GCP for equivalent storage.

148
Q

What type of storage does a SAN map to in GCP?

A

Persistent Disk

149
Q

What type of storage does a NAS map to in GCP

A

Persistent Disk or Cloud Storage

150
Q

Your company plans to host a large donation website on Google Cloud Platform. You anticipate a large and undetermined amount of traffic that will create many database writes. To be certain that you do not drop any writes to a database hosted on GCP. Which service should you use with managed service?

A

Cloud Pub/Sub for capturing the writes and draining the queue to write to the database.

151
Q

Dress4Win has end-to-end tests covering 100% of their endpoints. They want to ensure that the move to the cloud does not introduce any new bugs. Which additional testing methods should the developers employ to prevent an outage?

A

They should add additional unit tests and production scale load tests on their cloud staging environment

152
Q

Your development team has installed a new Linux kernel module on the batch servers in Google Compute Engine (GCE) virtual machines (VMs) to speed up the nightly batch process. Two days after the installation, 50% of the batch servers failed the nightly batch run. You want to collect details on the failure to pass back to the development team. Which three actions should you take? Choose 3 answers

A

1) . Identify whether a live migration event of the failed server occurred, using the activity log.
2) . Use gcloud or Cloud Console to connect to the serial console and observe the logs
3) . Adjust the Google Stackdriver timeline to match the failure time and observe the batch server metrics.

153
Q

Your company runs several databases on a single MySQL instance. They need to take backups of a specific database at regular intervals. The backup activity needs to complete as quickly as possible and cannot be allowed to impact disk performance. How should you configure the storage?

A

Mount a Local SSD volume as the backup location. After the backup is complete, use gsutil to move the backup to Google Cloud Storage.

154
Q

You have created a Kubernetes engine cluster named ‘mycluster’. You’ve realized that you need to change the machine type for the cluster from n-standard-1 to n1-standard-4. What is the command to make this change?

A

You must create a new node pool in the same cluster and migrate the workload to the new pool.

“you cannot change the machine type for an individual node pool after creation. You need to create a new node pool and migrate your workload over”

155
Q

Every server in the payment-processing application network sends its logs to Stackdriver Monitoring and Stackdriver Logging, using _____________ servers to securely transmit the log data.

A

Squid Proxy

156
Q

You want to optimize the performance of an accurate, real-time, weather-charting application. The data comes from 50,000 sensors sending 10 readings a second, in the format of a timestamp and sensor reading. Where should you store the data?

A

Google Cloud Bigtable

  • A scalable, fully-managed NoSQL Wide-column database that is suitable for both real-time access and analytics workloads
  • Low-latency read/write access
  • High-throughput analytics
157
Q

You need to take streaming data from thousands of Internet of Things (IoT) devices, ingest it, run it through a pipeline, and store it for analysis. You want to run SQL queries against your data for analysis. What services in which order should you use for this task?

A

Cloud Pub/Sub, Cloud Dataflow, BigQuery

158
Q

Your company has developed a series of LAMP stack applications, that are required to be scalable and fast and that are often updated by the IT teams. Which of the following actions allow you to facilitate the process of managing the various configurations in production, staging, and development ?

A

1) . Create deployments using Deployment manager
2) . Use Labels for your Resources
3) . Organize Resources according to your standard and setup/reuse configurations and templates
4) . Use references, template properties, and outputs

159
Q

You have been asked to setup up a Disaster Recovery solution for a non-critical Database Server with multiple disks. The application can be stopped for hours without creating major issues. The data must be recovered at the beginning of the last day. The solution must be simple and inexpensive. What would you advise?

A

Custom Image, Regional SSD persistent disks, and daily snapshots stored to Cloud Storage

160
Q

You have several Python apps in App Engine Standard. You want to start experience continuous deployment but you want to handle the process in the best way possible. You need to deploy a new release for two apps: myapp-a and myapp-b.
myapp-a has some deeply tested updates regarding the bugs. The main requirement is that the transition to the new version which is myapp-b, has to be smooth and without any disruptions.
myapp-b has new features and updates and you want to do an A / B testing, introducting the new version for only 50% of the traffic.
What are the correct and best commands to executed?

A

1) gcloud app services set-traffic myapp-b splits 1=.5 2=.5 by cookie
2) Add warmup and issue; gcloud app services set-traffic myapp-a –splits 2=1 –migrate

161
Q

Your team is developing a social engagement app in Node.js on App Engine Flexible Edition. Among the various features required, there is an online chat between related and connected users. Which of the following functions should you use or activate to accomplish what is required?

A

1) Session Affinity

2) Websocket

162
Q

An e-commerce system is operating in an “App Engine Flex” with Node.js and has to perform many operations while registering orders. You have been asked to find a way to “decouple the service” with a procedure that will send an e-mail to the customer with an order confirmation, at the end.

A

“Use Cloud Task and define an appropriate worker server”

163
Q

You have a Cloud Function that sometimes fails because of an error that is still not well identified. The error happens randomly, sometimes it occurs and sometimes it doesn’t. Is there a method to minimize the effect while the developers are looking for the solution?

A

Use the Retry failure option

164
Q

In your organization, you have 2 projects: projA and projB. You have never created a VPC in your projects. Which network configuration do you actually have?

A

1) A Global default VPC
2) . A route for Internet connection and a route for each subnet/region
3) . A set of firewall, with incoming traffic from outside networks that are blocked

165
Q

You created a new development environment project and you don’t want to manage a Network. So, you delete the default network because it may consume unwanted resources. What is most likely expected to happen?

A

1) . You cannot create a VM
2) You are free to create Cloud Functions
3) You may create a Storage Bucked

Any compute operations require a network

Serverless technologies are free from infrastructure. So no server NO NETWORK

166
Q

A ______ should be used when you only need to allow outgoing traffic to get updates (while blocking all incoming traffic except for the data coming back from update request).

A

NAT

167
Q

A _______should be used when you want a user(s) to SSH or RDP into the private server.

A

Bastion host

168
Q

_________ are instances that sit within your public subnet and are typically accessed using SSH or RDP. It acts as a ‘jump’ server, allowing you to use SSH or RDP to login to other instance in a private subnet

A

Bastion Hosts

169
Q

___ instance is, like a bastion host, lives in your public subnet. A ___ instance, however, allows your private instances outgoing connectivity to the Internet, while at the same time blocking inbound traffic from the Internet.

A

NAT

170
Q

The ___ __ can detect and extract text from images. There are two annotation features that support optical character recognition (OCR):

TEXT_DETECTION detects and extracts text from any image

DOCUMENT_TEXT_DETECTION also extracts text from an image, but the response is optimized for dense text and documents. The JSON includes page, block, paragraph, word, and break information.

A

VISION API

171
Q

Your team has created a set of applications that will run in GKE clusters. IT management wants to activate and standardize a simple but effective security system. You have prepared a list of possibilities and features that you can use. You realize that some choices must be discarded because they are not safe enough or even wrong. Which solutions would you recommend?

A

1) . In the cluster, the nodes will be assigned on internal RFC 1918 IP addresses only
2) . Use Service Accounts and store the keys as a Kubernetes secret
3) . Use WorkLoad identity

172
Q

_______ _______, is the new way for GKE applications to authenticate and consume other Google Cloud services.

A

Workload Identity

173
Q

_________ ______ Let’s user inspect the state of an application, at any code location, without stopping or slowing down the running app. It has a user interface similar to that of the popular Chrome Devtools

A

StackDriver Debugger

174
Q

You are a consultant for a client company and the management wants to migrate its systems to the cloud. The customer is concerned about cost control. They send you communication with a series of hypotheses and questions that you must solve. Which of the required possibilities are correct?

A

1) Is it possible to create separate budgets for projects and resources?
2) Is it possible to have notifications?
3) Is there a way to have a programmatic interface?

175
Q

You’re reviewing an application that sometimes executes some SQL queries with unacceptable response times. You need to find a way to scale the problem and identify the causes. Which of the following methods would you suggest?

A

Use Stackdriver Logs and set up a metric

YOu can set a metric that accurately identifies the log lines related to queries. You can also create an alert that can promptly alert you when the problem is displayed, so you can review all the related logs and information at the right time.

176
Q

Dress4Win business is growing strongly. The management wants to accelerate cloud migration in the most convenient and scalable way. They did a test with GCE and it went well. Now they also want to evaluate GKE before making the final decision in order to optimize the price/performance ratio. What actions would you recommend for this general test?

A
  • Use Cloud SQL mySQL Service
  • Setup a Pod for the Application Server and start using Cloud Build
  • Us DB Server with high availability
177
Q

Dress4Win 2 Support failover of the production environment to cloud during an emergency. After several tests, you are developing the final plan for Disaster Recovery and hot failover of the on-premises production environment on the Cloud. You have planned network, storage, and infrastructure.
Which of the following actions would be in your final plan?

A
  • Prepare a custom image of the DB server stopping the instance
  • Configure replication between your on-premises database server and the Cloud DB
  • Setup the Cloud VPN and DNS
178
Q

TerramEearth is in the process of creating a faster transmission of the gzip CSV files. It has deployed 5g devices in their vehicles with the goal of achieving an unplanned vehicle downtime to a minimum.
You are planning to:

  • Acquire directly files, from vehicles or from the services points, to the Cloud
  • Transform and get statistical figures immediately
  • Store everything in the Data Warehouse and in the Data Lake in the most suite way
  • Use the current work routines, whenever possible

Which of the following steps contains your solution?

A
  • Pub/Sub
  • Cloud Dataflow
  • Cloud Storage
  • Big Query
179
Q

You have been asked to select the storage system for the click-data of your company’s large portfolio of websites. This data is streamed in from a custom website analytics package at a typical rate of 6,000 clicks per minute, with bursts of up to 8,5000 clicks per second. It must be stored for future analysis by your data science and user experience teams.
Which storage infrastructure should you choose?

A

Google Cloud Bigtable

  • The reason is the data is in IoT nature and it will be used for analytics.
180
Q

Over time, you’ve created 5 snapshots of a single instance. To save space you delete snapshots number 3 and 4.
What has happened to the fifth snapshot?

A
  • The data from both snapshots 3 and 4 necessary for continuance are transferred to snapshot 5
181
Q

One of your clients is using customer-managed encryption, which of the following statements are true when you are applying a customer-managed encryption key to an object.

A
  • the encryption key is used to encrypt the object’s data
  • the encryption key is used to encrypt the object’s CRC32C checksum
  • the encryption key is used to encrypt the object’s MD5 hash

“The remaining metadata for the object, including the object’s name, is encrypted using standard server-side keys.

182
Q

What permission allows read access to read custom images from GCE engine?

A
  • compute.images.useReadOnly (permission)
183
Q

What role allows access to custom images from GCE?

A
  • roles/compute.imageUser (role)
184
Q

What role allows access to snapshots from GCE?

A
  • roles/compute.StorageAdmin (role)
185
Q

What permission allows read access to snapshots from GCE?

A
  • roles/compute.snapshots.useReadOnly (permission)
186
Q

What role allows for disk access from GCE?

A
  • roles/compute.StorageAdmin (role)
187
Q

What roles allow read access for disks from GCE?

A
  • compute.disks.useReadOnly (permission)
188
Q

You need to regularly create disk-level backups of the root disk of a critical instance. These backups need to be able to be converted into new instances that can be used in different projects. How should you do this?

A
  • Create snapshots, turn the snapshot into a custom image, and share the image across projects
  • Create snapshots and share them to other projects
189
Q

Your company has decided to build a backup replica of their on-premises user authentication PostgresSQL database on Google Cloud Platform. The database is 4 TB, and large updates are frequent. Replication requires RFC1918 private address space. Which networking approach would be the best choice?

A
  • Google Cloud Dedicated Interconnect
  • Google Cloud Partner Interconnect

“The database is 4TB, and large updates are frequent” makes DI/PI a suitable solution”

190
Q

You are using DataFlow to ingest a large amount of data and later you send the data to Bigquery for Analysis, but you realize the data is dirty, what would be the best choice to use to clean the data in the stream with a serverless approach?

A
  • Fetch the data from Bigquery and create one more pipeline, clean data from DataFlow and send it back to BigQuery
191
Q

You have a long-running job that one of your employees has permissions to start. You don’t want that job to be terminated when the employee who last started that job leaves the company. What would be the best way to address the concern in this scenario?

A
  • Create a service account.
  • Grant the Service Account User Permission to the employees who needs to start the job.

Also, provide “Compute Instance Admin” permission to that service account.

192
Q

Your company is using Bigquery for data analysis, many users have access to this service and the data set, you would want to know which user has run what query, what would be the best way to get the required information?

A

Go to the “Query history” it has information about what a user has run what query.

193
Q

A power generation company is looking to use the Google Cloud platform to monitor a power station. They have installed several IoT sensors in the power station like temperature sensors, smoke detectors, motion detectors, etc. Sensor data will be continuously streamed to the cloud. There it has to be handled by different components for real-time monitoring and alerts, analysis, and performance improvement.
What Google Cloud Architecture would serve this purpose?

A

Cloud IoT Core receives data from IoT devices, Cloud IoT core transforms and redirects requests to a Cloud Pub/Subtopic. After the data is stored in Cloud Pub/Sub, it is retrieved by a streaming job running in Cloud Dataflow that transforms the data and sends it to Big Query for analysis

Cloud IoT&raquo_space; Cloud Pub/Sub&raquo_space; Cloud Dataflow&raquo_space; BigQuery

194
Q

Using the principle of least privilege and allowing for maximum automation, what steps can you take to store audit logs for long-term access and to allow access for external auditors’ view?

A
  • Generate a signed URL to the Stackdriver export destination for auditors to access
  • Export audit logs to Cloud Storage via an export sink
195
Q

MountKirk Games needs to build out their streaming data analytics pipeline to feed from their game backend application. What GCP services in which order will achieve this?

A

Cloud Pub/Sub - Cloud Dataflow - BigQuery

196
Q

___ ________ ______ create a security perimeter around data stored in API-based GCP services such as Google Cloud Storage, BigQuery, and Bigtable. This helps mitigate data exfiltration risks stemming from stolen identities, IAM policy misconfigurations, malicious insiders, and compromised virtual machines.

A

VPC Service Controls

197
Q

You are helping the QA team roll out a new load-testing tool to test the scalability of your primary cloud services that run on Google Compute Engine with Cloud Bigtable.
What three requirements should they include?

A
  • Instrument the load-testing tool and the target services with detailed logging metrics collection
  • Create a separate Google Cloud Project to use for the load-testing environment
  • Ensure that the load tests validate the performance of Cloud Bigtable
198
Q

Your company places a high value on being responsive and meeting customer needs quickly. Their primary business objectives are release speed and agility.
You want to reduce the chance of security errors being accidentally introduced. Which two actions can you take?

A
  • Use source code security analyzers as part of the CI/CD pipeline.
  • Run a vulnerability security scanner as part of your continuous-integration / continuous - delivery (CI/CD) pipeline.
199
Q

You have a mission-critical database running on an instance on Google Compute Engine. You need to automate a database backup once per day to another disk. The database must remain fully operational and functional and can have no downtime. How can you best perform an automated backup of the database with minimal downtime and minimal costs?

A
  • Use a cron job to schedule your application to backup the database to another persistent disk
200
Q

To speed up data retrieval, more vehicles will be upgraded to cellular connections and be able to transmit data to the ETL process. The current FTP process is error-prone and restarts the data transfer from the start of the file when connections fail, which happens often. You want to improve the reliability of the solution and minimize data transfer time on cellular connections. What should you do?

A

Directly transfer the files to a different “Google Cloud Regional bucket” location in US, EU, and Asia using Google APIs over HTTP(S).

Run the ETL process to retrieve the data from each Regional Bucket.

201
Q

Ensure the following requirements are met.

  • Provide the ability for real-time analytics of the inbound biometric data
  • Ensure processing of the biometric data is highly durable, elastic and parallel
  • The results of the analytic processing should be persisted for “data mining”
A

Utilize Cloud Pub/Sub to collect the inbound sensor data, analyze the data with DataFlow and save the results to BigQuery

-
- BigQuery = Data mining features

202
Q

Your infrastructure runs on another cloud and includes a set of multi-TB enterprise databases that are backed up nightly both on-premises and also to the cloud. You need to create a redundant backup to Google Cloud. You are responsible for performing “scheduled monthly disaster recovery drills”. You want to create a cost-effective solution. What should you do?

A
  • Use Storage Transfer Service to transfer the offsite backup files to a Cloud Storage Nearline storage bucket as a final destination

“Regular data transfers, so you should use the storage transfer service”

“Transfer appliance more for one -time bulk”

203
Q
  • Do not run out of storage/disk space
  • Keep average CPU usage under 80%
  • Keep replication lab under 60 seconds
A

1 - Enable the automatic storage increase feature for your Cloud SQL instance.

2 - Create an alert in Stackdriver when CPU usage exceeds 80% and change the instance type reduce CPU usage

3 - Create an alert in Stackdriver for replication lag and <b>shard the database</b> to reduce replication time.

204
Q

You have a website hosted on App Engine. After a recent update, you are receiving reports that some portions of the site take up to 20 seconds to load. The slow loading times occurred after the recent update. Which two actions should you perform to troubleshoot?

A

Rollback to a previous version of your app using the version management feature in App Engine

Use Stackdriver Trace and Logging to troubleshoot latency issues with you website and diagnose in a testing environment

205
Q

When would you use Storage Transfer Service for migrating data?

A
  • Transfer from an on-premises location to Google Cloud Storage

– Transfer from AWS S3 bucket to Google Cloud Storage bucket.

  • Transfer from publicly-available web resource to Google Cloud Storage bucket.
206
Q

_______.______._______ permissions is needed to create the transfer and __________.__________._______ permissions is needed on the target dataset.

A
  • bigquery.transers.update

- bigquery.datasets.update

207
Q

The _____.______ predefined Cloud IAM role includes _________.________._______ and _______.________.________ permissions

A
  • bigquery.admin
  • bigquery.transfers.update
  • bigquery.datasets.update
208
Q

What does the error code 429 mean?

A

Too Many Requests

209
Q

What is the flag used for GCE to make the VM preemptible?

A

–preemptible

210
Q

If you using a preemptible machine and you want to use a shutdown script; how would you do this?

A

Under Management&raquo_space;> Metadata enter in “shutdown-script-url” &laquo_space;and then for the value use a url cloud bucket name for best practice

gs://learning-gcp-229815/shutdown.sh

211
Q

Your company has developed a series of LAMP stack applications, that are required to be scalable and fast and that are often updated by the IT teams. Which of the following actions allow you to facilitate the process of managing the various configurations in production, staging, and development? (4)

A
  • Create deployments using Deployment Manager
  • Use Labels for your Resources
  • Organize Resources according to your standard and setup/reuse configurations and templates
  • Use References, template properties, and outputs
212
Q

Your team has created a set of applications that will run in GCP. IT management wants to activate and standardize a simple but effective security system.

You have prepared a list of possibilities and features that you can use. You realize that some choices must be discarded because they are not safe enough or even wrong.

What solutions would you, recommend at the end?

A
  • Service Accounts related to your applications
  • Service Accounts related to your VMs
  • Service Accounts related to your K8s Clusters
213
Q

Cloud DataStore

A
  • User Profiles
  • Game State
  • A scalable, fully-managed NoSQL document Database for your web and mobile applications
214
Q

Cloud BigTable

A
  • High-throughput analytics
  • Native time series
  • Geospatial datasets
  • Low-latency read/write access
215
Q

RTO

A

Recovery Time Objective

  • Maximum acceptable length of time that your application can be offline
216
Q

RPO

A

Recovery Point Objective

  • Maximum acceptable length of time during which data might be lost from your application due to a major incident
217
Q

Your company is using BigQuery for data analysis, many users have access to this service and the data set, you want to know which user has run what query, what would be the best way to get the required information?

A

Go to Query history it has information about which user has run what query.

218
Q

Horizontally scalable transactional DB

A

Cloud Spanner

219
Q

Access to audit logs and perform analytics using SQL

A

Stackdriver Logging + BigQuery

220
Q

Health-check is failing

A

Check Firewall rule(s)

221
Q

Scale down to Zero Web Application

A

App Engine Standard

222
Q

How Compute Engine can access BigQuery?

A

Access Scope (Default Service Account) OR IAM (Custom Service Account)

223
Q

Analyst knows SQL

A

BigQuery

224
Q

A managed instance group spreads and balances workloads across ____ zones in a region by default.

A

3

225
Q

_______________ improve your application availability by spreading your instances across three zones.

A

Regional managed groups

226
Q

A ___________ image is a baked image has everything set and tested and is ready for production use.

A

Golden

227
Q

3 Cloud Pub/Sub Use Cases

A
  • Balancing workloads in network clusters
  • Refreshing distributed caches
  • Implementing asynchronous workflows
228
Q

Connection draining delays the termination of an instance until existing connections are closed. Which of the following are also true about connection draining?

A
  • Minimizes interruption for users
  • New connections to the instance are prevented
  • Instance preserves existing sessions until they end OR a designate timeout is reached (1 to 3600 seconds)
229
Q

Google Cloud Platform has several unique and innovative benefits when it comes to billing and resource control. What are these benefits? (3)

A
  • Sub-hour billing (Billed for 10 minutes and thereafter every minute on VMs)
  • Sustained-use discounts
  • Compute Engine custom machine types
230
Q

Your customer has decided to run Windows in GCS and the customer also likes to use Powershell. What detail about scripts should you notify them of about with Windows?

A

A startup script is specified through the metadata server

231
Q

What is the name of the two “Managed” Instance Group types that are supported in GCP?

A
  • Managed Instance Group (Zonal)

- Managed Instance Group (Regional)

232
Q

A ____ __________ ______ provides a single global IP address for an application.

A

global forwarding rule

233
Q

What are the two benefits for developers to use Cloud Endpoints?

A
  • Exposes an API for front-end client for mobile or web-application to make use of cloud-based application services
  • Frees developers from writing a wrapper to access App Engine resources from a mobile or web client
234
Q

Google Cloud Deployment Manager allows you to create and manage cloud resources with simple templates. What are some other features?

A

Repeatable Deployment Process, Declarative Language, Parallel Deployment, Schema Files

235
Q

Which specific object can you specify but also GCP can specify?

A

Project ID

236
Q

Cloud DNS pricing includes a monthly charge per zone plus usage costs based on

A

Query Traffic

237
Q

With Continous ________, revisions are deployed to a production environment automatically without explicit approval from a developer, making the entire software release process automated

A

Deployment

238
Q

______ ________ is a DevOps software development practice where code changes are automatically built, tested, and prepared for release to production.

A

Continuous delivery

239
Q

What are three benefits of using DevOps in a Production Environment?

A
  • Automate Software Releases
  • Improve Developer Productivity
  • Find Bugs Quicker
240
Q

_____ ___ enables integration with other tools such as compression and partial resource request/reply (access to specific fields in the data) so you don’t have to transfer the whole object to get a tiny part of it. There is no Python API for Cloud Storage.

A

JSON API

241
Q

What would be some reasons to use GCP platforms Transfer Appliance?

A
  • It would take more than 1 week to transfer data

- If you have more than 60TB of data

242
Q

Google recommends using the “____”, technique which is an iterative interrogation technique to help identify the root cause of a problem and get past the apparent surface cause. What is the technique named?

A

“5 Whys”

243
Q

What are 2 facts of Cloud SQL?

A
  • Cloud SQL is limited to a maximum of 10 TB of data processing
  • Cloud SQL will scale up to 4,000 concurrent connections.
244
Q

What are the two ways to isolate microservices in GCP?

A

Service Isolation/Project Isolation

245
Q

What is the name of the design process that Google uses?

A

12 Factor Design

246
Q

Measuring helps ensure:

A
  • Making Design Choices
  • Testing and Validation
  • Monitoring
247
Q

What is the name of the design process Google uses?

A

12 Factor Design

248
Q

What are some disadvantages of Microservices?

A
  • Management overhead
  • Isolation
  • Resource overhead
249
Q

_____ are a concept that comes from user experience (UX) design and originated in marketing and represents the user and groups goals and behaviors.

A

User personas

250
Q

Terramearth Case Study
Your primary goal is to increase the operating efficiency of all 20 million cellular and unconnected vehicles in the field. How can you accomplish this goal?

A

Capture all operating data, train machine learning models that identify ideal operations, and “run locally” to make operational adjustments automatically

251
Q

Your company wants to control IAM policies for different departments. the departments must be independent from each other, however, you want to centrally manage the IAM policies for each individual department. How should you approach this?

A

Use a single Organization with a Folder for each department.

This is the best structure to use. One single organization for the entire company. Organize departments inside folders inside of the single organization. You can then apply a single IAM policy to the single department folder, which will be applied to any projects or subfolders inside of it.

252
Q

compute.xpnAdmin

A

Shared VPC Admin

  • Organization level role
  • Configure Shared VPC
  • Associate service projects with host projects
  • Grant Network User Role
253
Q

compute.networkUser

A

NetworkUser

  • Project level role
  • Create resources to use shared VPC
  • Discover shared VPC assets
  • Requires project admin role (Project Owner, Editor, Compute Engine Admin)
254
Q

Sharing and moving images requires ________ _______ ______ _____

A

Compute Engine Image User role

  • Example: User in Project A wants to use images from Project B
  • User in Project A must have Compute Engine Image User role granted for project B
  • Role grants access to all images in project

*For managed instance groups, Project A service account must be granted role to Project B

255
Q

How do you set a new project from google cloud cli?

A

gcloud config set project

256
Q

Retrieve IAM policy and download in YAML format

A

gcloud projects get-iam-policy (project_id) > [filename].yaml

257
Q

Update IAM Policy from file

A

gcloud projects set-iam-policy (project_id) [filename].yaml

258
Q

Add a single binding

A

gcloud projects add-iam-policy-binding (project_id) –member user:bob@gmail.com –role roles/editor

259
Q

Instance Template = ________

A

Global

260
Q

Instance Group = ______

A

Regional

261
Q

Cloud Functions scale down to _

A

0

262
Q

Set default region

A

gcloud config set compute/region us-central1

263
Q

Set default zone

A

gcloud config set compute/zone us-central1-a

264
Q

The application reliability team at your company has added a debug feature to their backend service to send all server events to Google Cloud Storage for eventual analysis.

The event records are at least 50 KB and at most 15 MB and are expected to peak at 3,000 events per second. You want to minimize data loss. Which process should you implement?

A

Append metadata to the file body. Compress individual files. Name files with a random prefix pattern. Save files to one bucket.