CDL - Core Services Flashcards
What is Compute Engine?
A compute service that allows you to deploy scalable, high-performance VMs.
What is App Engine (PaaS)? What is its Benefit?
A compute service that allow you to BUILD and DEPLOY apps on FULLY MANAGED, highly SCALABLE, platform.
Pro - No management of underlying infra
What is Google Kubernetes Engine (GKE)? Its benefit?
An open-source compute service that allows you to DEPLOY, SCALE, and MANAGE containerized apps on Kubernetes.
Pro:
Portable - can run on any cloud platform
Reliable
efficient
secure
What is a Sole-Tenant Node (Dedicated VM)? Its benefit?
A compute service that allows you to separate your instances physically separated WITH its own hardware.
Pro:
Meet compliance, licensing, and management needs
What is Bare Metal Solution? Benefit? What are its use case?
A compute service that provides hardware to run specialized workloads / mission critical
Pro: low latency
What are Cloud GPUs? Benfit?
A compute service that allows you to apply GPUs to your workloads
Pro:
They are specialized processors that perform more intensive tasks, ML, scientific computing, and 3D visualization.
What is Cloud Functions (FaaS)? Benefit?P
Compute service that allows you to create serverless, single-purpose functions that respond to events.
What is the diff between Preemptible and Shielded VMs?
Preemptible - Deployable, short-lived instances suited for batch jobs and fault-tolerant workloads.
Pro - affordable
Shielded - Deploy hardened (more secure) VMs on GCP
What are the two environments you can launch App Engine?
Standard and Flexible
What is App Engine Flexible?
An environment that uses fully managed containers.
Parameters:
Starts in minutes
Runs with Docker Containers on Compute Engine VMs
Scale - Designed for predictable, consistent traffic
Instances - must have at least one instance running
Languages - Supports generally any language and custom runtime.
Pricing - Billable vCPUs, memory, and disks
SSH - yes, can debug
Back ground processes - permitted
What App Engine Standard?
An environment using serveless compute
Parameters:
Starts in seconds
Runs in sandbox (?)
Scale - designed to rapid scaling in response to traffic spikes
Instances - Can scale to ZERO running
Languages - Supports specific, no custom runtime.
Pricing - Billable hours
SSH - no, cannot debug.
Background processes - no
When considering App Engine, can an application use both flexible and standard environments?
Yes
Is App Engine well suited to applications that are designed using a microservice architecture?
Yes
Application Versioning is a feature of Compute App Engine, define it.
AV refers to the different stages of development in an apps lifecycle such as development, test, staging, and production environments.
Traffic tunneling is a feature of Compute App Engine, define it.
TT allows you to route incoming requests to different app versions, such as A/B test versions, and to incrementally rollout features.
What application diagnostic tools come featured with Compute App Engine??
Cloud Monitoring + Cloud Logging = for health and performance
Cloud debugger + error reporting = for diagnosing and fixing bugs quickly
What app security features does Compute App Engine come with?
App Engine Firewall - to define access rules
SSL/TLS certificates by default - Web-traffics
What are container images? Why are they used?
They are a set of instructions that tell a compute service how to build and run a software application.
A container image can run on any platform, thus making it easy to deploy and manage apps.
Analogy: Think if a recipe that you can share, even if someone else has different ingredients and kitchen tools (cloud platforms/services )
Define SSL/TLS certificates? Explain their benfits.
SSL/TLS certificates are like digital handshakes between websites - they help ensure that the website you visit is really who it says it to be. They keep your information safe.
A website with a SSL/TLS certificate will have the green lock bar on the address bar.
Pro;
- Send your information encrypted to a website, and only if they are confirmed, is your information shared. Think of your signal as an outgoing locked box that can only be opened with they right key (identity confirmed)
- Important for banking/online shopping
What are the 5 GCP Container services?
- GKE
- Cloud Build
- Artifact Registry
- Container Registry
- Cloud Run
What function do Pods service within GKE?
A pod is a group of one or more containers with SHARED resources, such as storage, network, and other settings.
Kubernetes is ideal for what type of archiecture?
Best suited for micro-service architectures where a company has tens to hundres of services they need to manage.
What is a micro-services architecture? Provide an example.
A microservice architecture is like a LEGO set. It is a way of breaking down applications into smaller, independent functional pieces.
Eg: One microservice may manage:
1) inventory
2)Orders
3) payment processing
4) shipments.
Are micro-services independent of each other?
Yes, each microservice is independent and contains its own code, DB, and server.
How do microservices communicate with each other?
Via APIs
What are the benefits of microservices?
1) Scalability - independently scale up/down depending on which service is receiving the most traffic.
2) Resilience - BC MS are independent, if one fails, the others keep working. Hence they are RELIABLE and FAULT TOLERANT
3) Agility - independence of MC make it easy to make changes to services and iterate faster.
What are GCPs core Database services?
- BigQuery (on exam) -
- Cloud Spanner -
- Cloud Bigtable
- Cloud SQL
- Firestore (exam - realtime)