GCP ACE Flashcards
What is the other name of Cloud Launcher?
Marketplace
Which storage classes are good options for infrequently accessed data? One is designed to be accessed once per month, while the other is designed to be accessed once per year.
Nearline (once per month) and coldline (once per year)
When you are creating a new VPC and want subnets to learn global routes, which parameter would you set?
Dynamic routing
What is a service account in GCP
A form of identity that is owned by an application or virtual machine. Service accounts can be assigned roles to enable the application or virtual machine to perform some task.
What is Cloud SQL?
It is GCP’s managed relational database. It includes MySQL and PostgreSQL.
Which GCP database service includes features to support mobile applications?
Firestore
Does the Compute Engine Network Admin role have permission to create instances?
No.
When configuring a VM, what does machine type determine?
The number of CPUs and the amount of memory for the VM
Where do you navigate to launch a Cloud Launcher solution?
Overview page of the solution
What are the five types of load balancers?
HTTP(S), SSL Proxy, TCP Proxy, Internal TCP/UDP, and Network TCP/UDP
According to Google best practices, how often should you update virtual machine packages using apt-get on your created Cloud Spanner instance and database?
Never. Cloud Spanner is a managed service.
What is a cache?
A high-speed, random access memory for storing frequently used data. GCP’s Memorystore provides a managed caching service based on Redis.
What kind of database has been the primary form of data storage for decades and supports frequent queries and updates to date?
Relational databases, such as Cloud SQL, Cloud Spanner, and BigQuery
After Datastore exports a namespace to a bucket, the bucket will contain what?
A metadata file and a folder with the data
If you want to use a template file with Deployment Manager and you expect the file to be complicated, which language would you use?
Python
Does SSL generate events that can be triggered using Cloud Functions?
No.
To ensure you have installed beta gcloud commands, which command should you run?
gcloud components install beta
How long does Stackdriver Logging store log data?
30 days
Assuming you have Cloud SDK installed, what command would you use to copy files from your local device to a bucket in Cloud Storage?
gsutil cp
Which regional load balancer allows for load balancing based on IP protocol, address, and port?
Network TCP/UDP
What is Stackdriver?
A set of services for monitoring, logging, tracing, and debugging infrastructure and applications in GCP and other platforms
IAM roles include a collection of what?
Permissions
Is the file format YAML supported when importing data into BigQuery?
No. However, CSV, Parquet, and Avro are supported.
When creating a VPN using the Cloud Console, what section of the Cloud Console should you use?
Hybrid Connectivity
What command is used to create a DNS zone in the command line?
gcloud beta dns managed-zones create
Which structures can you have more than one of when creating a resource hierarchy?
Folders and projects
What three characteristics are load balancers distinguished by?
Global versus regional load balancing, external versus internal load balancing, and the protocols supported
What are the two types of App Engine runtime environments?
Standard and flexible
In the context of GCP, what is a role?
A collection of permissions
Is the lifecycle of one cloud function dependent on all others?
No
What databases are used for relational, transaction-oriented applications?
Cloud SQL and Spanner
When modifying the number of pods in a cluster, is it better to modify deployments or modify pods directly?
Modify deployments
What is the time delay called between sending data and receiving it?
Latency
Which tier of the GCP resource hierarchy contains VMs, persistent disks, and Cloud SQL databases?
The Project tier
When creating a subnet, which option controls whether logs are sent to Stackdriver?
Flow Logs
What do you need to specify when defining a custom metric?
A type name, a project, a display name and description, a metric kind, metric labels, and monitored resource objects to include with time-series data points.
What is the runtime parameter in app.yaml used to specify?
The language runtime environment and other configuration parameters
What is object storage?
A storage system that manages data as objects, such as files. Cloud Storage is an object storage system.
What is the maximum size of a Memorystore cache?
300 GB
Can the block size parameter be set when adding additional disk space through Google Cloud Console?
No.
Which App Engine component enables migration to a newer component?
Versions
What is the difference between a virtual machine and a container when it comes to isolating computing resources?
VMs run a guest operating system on a physical server. Containers use features of the host operating system to isolate processes and resources.
What does the GCP service Cloud Armor protect against?
Distributed denial-of-service attacks
What is Cloud Trace?
A distributed tracing system for collecting latency data from an application, which helps developers understand where applications are spending their time and identify cases where performance is degrading
How do you control the flow of traffic between subnets in a VPC?
By using firewall rules, which are applied to the subnets
What are the three levels of the GCP resource hierarchy?
Organization, Folder, Project
What is the command to create a new VPC from the command line?
gcloud compute networks create
What is the correct command for importing to Dataproc?
gcloud beta dataproc clusters import [SOURCE_FILE]
What is load balancing?
The process of distributing workload across a set of servers
Which Google Cloud Computing product is a good serverless option for running a set of tightly related services?
App Engine
Which Cloud Storage class has the lowest per gigabyte charge?
Coldline
What command is used to create buckets in Cloud Storage?
gsutil mb
A VM created using the command gcloud compute instances create –machine-type=n1-standard-4 web-server-1 will have how many CPUs?
Four
What is regional storage?
A cloud storage class with typically 99.99 percent monthly availability and 99.9 percent availability SLA. Objects are redundantly stored across zones in a region.
What is a virtual private cloud (VPC)?
A logical organization of cloud resources isolated from other resources on the same cloud. In GCP, VPCs are created for projects. Resources in different projects can communicate over shared VPCs or VPC peering.
What kind of identity usually has a service account assigned to it?
A VM or application
What is a persistent disk?
A durable block storage system that can be attached to virtual machines in Compute Engine or Kubernetes Engine
What does the ReplicaSet Kubernetes component do?
It ensures the correct number of pods is running.
What query language is used by Datastore?
GQL
When using Create Deployment from the Cloud Console, can TTL be specified for a deployment?
No
How many applications can be in one project?
One
What are the two types of billing accounts?
Self-serve billing accounts and invoiced billing accounts
By default, how long does a Cloud Function run before timing out?
One minute
What types of events are available to Cloud Functions working with Cloud Storage?
Upload or finalize, delete, metadata update, and archive
What are key factors to keep in mind when choosing a storage solution?
Read and write patterns, consistency, transaction support, cost, and latency
If you have been assigned the APP Engine Deployer role, what operations can you perform?
Read application configuration and settings and write new versions
What command is used to create a backup of a Cloud SQL database?
gcloud sql backups create
What is Cloud Storage?
An object storage service provides web access to scalable storage. Objects can be stored in different storage classes providing different levels of durability and access charges.
How do you view roles assigned to identities?
Use the Roles tab in IAM & Admin section of the console to get a list of identities assigned to particular roles. You can also use gcloud projects get-iam-policy to list roles assigned to users in a project.
What is alert fatigue, and why is it a problem?
Too many alert notifications are sent for events that do not require human intervention, and eventually DevOps engineers begin to pay less attention to notifications.
When adding a GPU to an instance, should the instance be set to terminate during maintenance?
Yes
Which Kubernetes Engine feature would you use to maintain availability during a network outage?
Node pools
Since Cloud BigTable does not have export and import options in the Cloud Console or gcloud, what are your two options to do this?
Using a Java application for importing and exporting or using the HBase interface to execute HBase commands
Can you create a single VM instance using Kubernetes Engine?
No.
At what level of the resource hierarchy can a Shared VPC be created?
Organizations and folders
What is an action that occurs in the GCP that can invoke a Cloud Function called?
An event
What parameters are required when using the cluster resize command?
Cluster size, cluster name, and node pool name
What are the two kinds of instances available in App Engine Standard?
Resident and dynamic
When creating an instance, which tier of the hierarchy must contain it?
The project tier
What is a virtual private network (VPN)?
A secure connection used to link GCP networks on external networks
What command launches a deployment?
gcloud deployment-manager deployments create
Can the command gcloud app set-traffic be used to split traffic?
No. The correct command is gcloud app services set-traffic.
Which service is responsible for managing container images?
Container Registry
What is Identity Access Management (IAM)?
A GCP service for implementing fine-grained access controls on resources. IAM implements predefined and custom roles that are more narrowly tailored than older, primitive roles.
What other Google Cloud Platform service does Cloud Spanner use when importing and exporting?
Dataflow
What does the command gcloud compute instances describe do?
It produces a sortable list of field names and properties of the instance.
In the App Engine hierarchy, which two components are below the Service level?
Versions and Instances
What is HTTP/HTTPS load balancing?
A global load balancer available in GCP. It is used to load balance HTTP and HTTPS traffic.
What is multiregional storage?
A class of Cloud Storage that stores objects in at least two separate geographic places that are separated by at least 100 miles. This practice of storing in separate geographic areas is called georedundant storage.
What is Cloud Firestore?
A serverless, managed NoSQL document database used for storing, synchronizing, and querying mobile and web application data
What is Cloud Debug?
An application debugger for inspecting the state of a running program, which allows developers to insert log statements or take snapshots of the state of an application
What GCP virtual machine has protections against rootkit and bootkit malware?
Shielded VM
When estimating the cost of running a BigQuery query, what two services within the Google Cloud Platform will you need to use?
BigQuery and Pricing Calculator
In which section of the Create An Instance page can you set the preemptible property?
The Availability Policy section
When using gcloud to create a VPN, what three commands would you use?
These are the three commands:
gcloud compute target-vpn-gateways
gcloud compute forwarding-rule
gcloud compute vpn-tunnels
What are the three types of roles?
Primitive, predefined, and custom
When using versioning on a bucket, what is the latest version of the object called?
Live version
What is a bucket in terms of Cloud Storage?
A container for holding objects in Cloud Storage. Bucket names are unique across Cloud Storage. Buckets have a geographic location and a storage class. Storage classes are multiregional, regional, nearline, and coldline.
What is BigQuery?
A petabyte-scale data warehousing and analytics processing managed service that uses relational tables to organize data and SQL as the query language.
What component(s) need to be configured when creating a TCP Proxy load balancer?
Front end and backend
If you want to define a firewall rule that applies to all destination addresses, what IP address would you specify?
0.0.0.0/0
What are jobs in BigQuery?
Processes used to load, export, copy, and query data. They are automatically created when you start any of these operations.
What is KVM, and what does it do?
The Kernel Virtual Machine provides virtualization in Linux that allows the operating system kernel to function like a hypervisor.
What is a log sink?
A storage source outside of Stackdriver for retaining logs greater than Stackdriver’s 30-day retention period. Log sinks can be Cloud Storage buckets, BigQuery data sets, and Cloud Pub/Sub topics.
Which structure must be created before you can monitor a Kubernetes cluster with Stackdriver?
A workspace
What is a subnet?
A subnet is a subset of resources in a network that are logically separated from the other resources in the network. Subnets are assigned a set of IP addresses specified in a CIDR block.
What is Deployment Manager?
The GPC service for creating resources using a configuration file made up of resource specifications defined in YAML syntax
Which kind of Kubernetes instance executes workloads?
Nodes
What is the open source platform developed by Google that provides container management services such as deployment and autoscaling functionality?
Kubernetes
What are the four storage classes in Cloud Storage?
Regional, multiregional, nearline, and coldline
What kind of data model is used by Datastore?
Document
What kind of databases do not use the relational model and do not require a fixed structure or schema?
NoSQL databases
Which has better performance in numeric intensive processing, GPUs or CPUs?
GPUs
What is another name for a running virtual machine?
An instance
What is the gcloud command to create a custom role?
gcloud iam roles create.
What kind of bucket storage class cannot be changed to another class once it is set?
Coldline
What is a cluster?
A group of virtual or physical servers working in conjunction as a distributed system
What is the name of a single running instance in a Kubernetes cluster?
A pod
How many master nodes does a Kubernetes cluster contain (assuming no high availability features)?
One
What is block storage?
A storage model that builds on contiguous sets of bytes known as blocks
Do you need to configure or deploy servers to use Logging?
No. Logging is a managed service.