Fundamentals Flashcards
To understand the fundamental services provided by Google Cloud.
What is the scope of a GCP VPC?
Global
What is the scope of a subnet on a VPC?
Regional
True/False: If you expand a subnet, existing VMs may be affected.
False
Why would customers choose a preemptible VM?
To reduce cost
How do customers usually scale? Up or out?
Outwards; take advantage of auto-scaling to match the load your workload requires.
What type of load balancer would you use for scaling UDP traffic?
Regional
What types of load balancers only work on specific ports?
SSL-proxy, TCP-proxy, HTTPS-proxy
What type of load balancer would you use to balance internal requests?
Regional Internal
What is cloud DNS
A managed, programmable service that hosts DNS information in redundant locations around the world.
What is required before enabling CDN?
HTTPS load balancing
What ways may a customer connect their on-premises network to a GCP VPC?
Dynamic VPNs via Cloud Router, Direct Peering, Carrier Peering, and Dedicated Interconnect
What is the drawback of peering methods for GCP VPCs?
Peering methods are not covered by Google SLAs
What is the SLA for Google direct interconnect?
99.99%
What are the types of storage classes for Cloud Storage?
Multi-regional, Regional, Nearline, and Coldline
What kind of access does Multi-regional storage give you?
Highest storage price, lowest retrieval costs, and use for multi-regional access to objects, like a website.
What type of storage would you use for blob type data, long term storage? Each object can be accessed via URL.
Cloud Storage
True/False: Storage objects in Cloud Storage are mutable.
False. Storage objects are immutable. New versions overwrite old unless versioning is enabled (disabled by default)
What two key pieces of information are needed for an ACL on Cloud Storage?
Scope: who can perform the actions
Permission: what actions (read/write?)
If you need finer grained security than IAM on Cloud Storage objects, what do you use?
ACL
In addition to Versioning, what feature of Cloud Storage allows you to manage the history of versions?
Cloud Storage lifecycle management policies
True/False: Nearline and Coldline storage in Cloud Storage offers slightly higher data retrieval times than Multi-Regional and Regional
False. All storage access classes offer millisecond access time.
When you have frequently accessed content, what Cloud Storage storage class should you use?
Multi-Regional
When you have data in Cloud Storage to support an App on Compute Engine, VMs, or Kubernetes, what Cloud Storage class should you use?
Regional
How often should you be accessing Nearline storage data?
Once a month or less on average
How often should you be accessing Coldline storage data?
Once a year or less on average
What type of storage class in Cloud Storage is appropriate for data archiving, disaster recovery, and backups?
Coldline
How can you transfer petabytes of data to Cloud Storage?
Storage Transfer Service
What type of storage would you use for high-volume, high-throughput, low-latency analytics?
BigTable
What type of storage would you use for transactionally consistent data for a single app?
Cloud SQL
What type of storage would you use for transactionally consistent data that can scale horizontally?
Cloud Spanner
What NoSQL storage would you choose for integrating App Engine and Compute Engine?
Cloud Datastore
True/False: Cloud Datastore has a free daily quota for storage, r/w, and small operations
True
With containers, what part of a host are you virtualizing?
OS
True/False: Google has its own service for building containers
True: Google Container Builder
What is the smallest unit in Kubernetes you can create/deploy?
Pod
What is a pod?
A group of containers working together
How do you expose a deployment to the Internet
Via Service/LoadBalancer
What does a k8s service abstract?
The IP address to connect to a logical set of Pods
What feature of kubernetes would you use to deploy upgraded versions of your app in a non-disruptive way?
Rollout # ... replicas: 5 strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 0 type: RollingUpdate #...
True/False: App Engine handles hardware and networking and you just provide the code
True
True or false: App Engine is a better choice for a web application than for long-running batch processing.
True. App Engine is especially suited for applications where the workload is highly variable, like a web application. App Engine will scale your application automatically in response to the amount of traffic it receives.
What additional services does App Engine offer?
NoSQL dbs, in-memory caching, health checks, logging, and user auth
True/False: Low utilization apps on App Engine Standard may run at no charge
True
What two environment types are there for App Engine?
Standard and Flexible
True/False: Both Standard and Flexible App Engine environments have a free daily quota
True
What restrictions does the App Engine Standard Environment impose?
Runtime (Limited to Java, Python, PHP, and Go), no SSH, no writing to local disk, limited to App Engine Services via network
Which are the 2 API management tools provided by Google?
Cloud Endpoints and Apigee Edge
You want to gradually decompose a pre-existing monolithic application, not implemented in GCP, into microservices. Which GCP service should you choose?
Apigee Edge
You want to support developers who are building services in GCP through API logging and monitoring. Which GCP service should you choose?
Cloud Endpoints
You want to do business analytics and billing on a customer-facing API. Which GCP service should you choose?
Apigee Edge
True/False: Scaling is finer-grained for App Engine Standard than Flexible?
True
What product provides GCP-project private git managed services
Cloud Source Repositories
What is the payment interval for Cloud Function run times?
100 ms
What managed service provides infrastructure as code service?
Google Deployment Manager
What is the GCP tol for logging, monitoring, debugging, tracing, and error reporting?
Stackdriver
What are the big data services?
Cloud Dataproc, Cloud Dataflow, BigQuery, Cloud Pub/Sub, Cloud Datalab
What is GCP’s managed Hadoop service?
Cloud Dataproc
What managed resource would you use if you wanted to perform batch, ETL, and computations on data with an unknown size or rate?
Cloud Dataflow
What is Google’s fully managed, petabyte-scale, low-cost analytics data warehouse?
BigQuery
What is GCP’s managed messaging service?
Cloud Pub/Sub
What’s GCP’s managed jupyter lab notebooks?
Cloud DataLab
What Machine Learning APIs are available?
Cloud Vision, Cloud Speech (audio-to-text), Cloud Natural Langauge (text analysis), Cloud Translation, and Cloud Video Intelligence