Google Associate Cloud Engineer flashcards
134 free flashcards. Tap a card to flip it.
gcloud CLI Authentication
Flip cardThe 'gcloud auth login' command authenticates the Cloud SDK with a Google account, allowing the CLI to interact with Google Cloud resources on behalf of that user.
- Opens a browser for Google account selection.
- Establishes user credentials for gcloud commands.
- Required before most gcloud operations.
Memory trick: First, you build the tools, then you unlock the cloud.
GCP Resource Hierarchy & Policy Inheritance
Flip cardGoogle Cloud's resource hierarchy (Organization > Folders > Projects > Resources) allows policies set at higher levels to be inherited by lower-level resources, enabling centralized control and delegated management.
- Policies flow down the hierarchy.
- Folders are key for organizing projects and applying policies.
- Organization is the root of the hierarchy.
Memory trick: Hierarchy is key: Organize with folders, then policies flow down, and creators build within.
GCP Billing Budget Alerts
Flip cardGoogle Cloud Billing allows users to create budgets and set up alerts that notify them when their spending (actual or forecasted) approaches or exceeds a specified threshold.
- Can be set at the billing account or project level.
- Alerts can be based on actual or forecasted spend.
- Notifications sent via email or Pub/Sub.
Memory trick: To manage your money, you need a budget and a bell.
GCP Billing Account Requirement
Flip cardAn active Google Cloud billing account is mandatory for creating and using billable resources within a project, even when the user has the necessary IAM permissions.
- No billing account = no resource creation (for most services).
- IAM permissions grant 'what you can do', billing account enables 'if you can do it'.
- Essential for project functionality beyond free-tier services.
Memory trick: No 'B'illing 'A'ccount, no 'B'ucket 'A'ctivity.
Cloud HSM
Flip cardA fully managed cloud-hosted hardware security module (HSM) service that allows you to generate, store, and manage cryptographic keys in FIPS 140-2 Level 3 validated HSMs.
- Integrates with Cloud KMS for key management.
- Provides the highest level of key protection and regulatory compliance.
- Keys are stored in dedicated hardware modules, not software.
Memory trick: HSM: Hardware Secures Mandated Keys.
Cloud Storage Archive
Flip cardA Google Cloud Storage class optimized for long-term data archiving with very infrequent access (e.g., once a year or less).
- Lowest cost for storing data.
- Highest cost for data retrieval and operations.
- Minimum storage duration of 365 days.
Memory trick: Storage Tiers: Standard, Near, Cold, Archive - SNCA.
GCP Folder Hierarchy
Flip cardFolders in Google Cloud provide an additional grouping mechanism for projects within an organization, allowing for the application of IAM policies and organizational policies that are inherited by contained projects.
- Organizes projects into logical groups.
- Enables policy inheritance from folders to projects.
- Useful for departmental or environment segregation.
Memory trick: Policies flow down the tree, from organization to individual resources.
gcloud auth login
Flip cardThe `gcloud auth login` command authenticates the Google Cloud CLI with a user's Google account, granting it access to Google Cloud resources.
- Initiates a browser-based authentication flow.
- Stores user credentials locally.
- Required for most `gcloud` operations as a user.
Memory trick: To log in to gcloud, you need to 'auth login'.
Pub/Sub + Dataflow
Flip cardA common Google Cloud architecture pattern for building real-time streaming data pipelines, where Pub/Sub handles message ingestion and Dataflow performs scalable transformations.
- Pub/Sub provides durable, low-latency message delivery.
- Dataflow offers fully managed, auto-scaling execution of Apache Beam pipelines.
- Ideal for real-time analytics, IoT data processing, and event-driven architectures.
Memory trick: Pub/Sub Feeds Dataflow Stream.
MIG Schedule-based Autoscaling
Flip cardA feature of Managed Instance Groups (MIGs) that allows configuring scaling policies to increase or decrease the number of instances at predefined times or intervals.
- Enables proactive scaling for anticipated traffic patterns.
- Can be combined with other autoscaling signals (e.g., CPU) for dynamic adjustments.
- Helps ensure resources are ready before peak demand, improving application performance.
Memory trick: Schedule for Predictable Peaks.
Organization Policy Service (Resource Location)
Flip cardThe Google Cloud Organization Policy Service allows administrators to define constraints across their resource hierarchy, including restricting resource deployment to specific geographic locations.
- Applies to Organization, Folder, or Project levels.
- Uses `constraints/gcp.resourceLocations`.
- Prevents resource creation in disallowed regions/zones.
Memory trick: For company-wide rules, use the Organization's policy scroll.
GCP Project Creation
Flip cardA Google Cloud Project is the fundamental container for all Google Cloud resources. It organizes resources, enables billing, and manages permissions.
- Every resource belongs to a project.
- Projects have a name, ID, and number.
- Billing is linked at the project level.
Memory trick: Projects are the foundational building blocks, like starting a new construction site.
Service Accounts for GCP Instances
Flip cardService accounts are identities used by applications or Compute Engine instances to make authenticated API calls to Google Cloud services without user intervention. They are the recommended secure way to grant permissions to workloads running on GCP.
- Recommended for applications on Compute Engine, GKE, Cloud Run, etc.
- Credentials provided by instance metadata server (automatically rotated).
- Permissions granted via IAM roles to the service account.
Memory trick: Assign a service account to your instance for secure, automatic access.
Application Default Credentials (ADC) for Users
Flip cardApplication Default Credentials (ADC) allow Google Cloud client libraries to automatically find and use credentials, often generated via `gcloud auth application-default login` for user accounts, providing secure, short-lived authentication.
- Provides credentials for client libraries.
- Uses short-lived tokens from user's Google account.
- Avoids storing long-lived service account keys locally.
- Simplifies authentication for local development.
Memory trick: For 'ADC' with 'Developers', 'Auth App-Default Login' is the 'C'hoice.
VPC Firewall Rule
Flip cardA resource in Google Cloud that allows or denies traffic to and from Compute Engine instances in a VPC network based on specified criteria.
- Can be ingress (inbound) or egress (outbound).
- Rules are stateful, meaning return traffic is automatically allowed.
- Can target instances by tags, service accounts, or all instances in the network.
Memory trick: Firewall Rules Guard VM Gates.
Automated API Enablement on Project Creation
Flip cardAutomatically enabling specific Google Cloud APIs upon new project creation is achieved programmatically, typically using a Cloud Function triggered by Resource Manager events, which then interacts with the Service Usage API.
- Organization Policies restrict, not enable APIs.
- Cloud Functions can react to project creation events.
- Service Usage API is used to enable/disable APIs programmatically.
Memory trick: Function-al triggers enable APIs, not just policies and IAM keys.
Application Default Credentials (ADC)
Flip cardApplication Default Credentials (ADC) is a strategy used by Google Cloud client libraries to automatically find credentials, allowing applications to authenticate to Google Cloud services without explicit credential management.
- Standard authentication for client libraries.
- Finds credentials in a predefined order (environment var, config file, metadata service).
- Setup for local dev via `gcloud auth application-default login`.
Memory trick: For easy app authentication, use ADC, it's the best local key.
Dedicated Interconnect
Flip cardDedicated Interconnect provides a direct, private physical connection between an on-premises network and Google Cloud, offering high bandwidth, low latency, and an SLA, bypassing the public internet.
- Private, dedicated physical connection
- High bandwidth (10 Gbps per circuit)
- Low latency and high availability with SLA
Memory trick: Dedicated Interconnect: Your private, express lane to the cloud.
VPC Network
Flip cardA global, private, and isolated network in Google Cloud that allows your resources (e.g., Compute Engine instances) to communicate with each other and with on-premises networks using private IP addresses.
- Global resource
- Private IP communication by default
- Provides network isolation
Memory trick: NETWORK (Networking, Environment, Workload, Options, Resource)
Cloud DNS Failover
Flip cardCloud DNS Failover uses health checks to monitor endpoints and automatically redirects traffic to healthy alternative endpoints (e.g., in another region) by updating DNS records when the primary endpoints fail.
- DNS-based traffic redirection
- Uses health checks to determine endpoint health
- Supports multi-region disaster recovery
Memory trick: DNS Failover: If one region's down, DNS points to the next town.
Cloud DNS with Failover
Flip cardCloud DNS allows configuration of failover policies to automatically redirect traffic to healthy resources in different regions or zones in case of an outage.
- Global DNS service
- Health checks for endpoints
- Automatic traffic redirection during outages
Memory trick: RECOVER (Regional Resilience, Endpoint Checks, Cloud DNS, Outage Management, Versatility)
Cloud Storage Standard
Flip cardThe default storage class for Cloud Storage, designed for frequently accessed data with low latency and high throughput. Suitable for a wide range of use cases.
- Lowest latency and highest throughput
- Highest storage cost per GB
- No retrieval fees or early deletion charges
Memory trick: ACCESS (Access frequency, Cost, Coldness, Efficiency, Storage)
Cloud Pub/Sub
Flip cardA fully managed, asynchronous messaging service that decouples senders and receivers, enabling highly scalable and reliable real-time message delivery.
- Real-time and highly scalable.
- At least once delivery guarantee.
- Decouples microservices and distributed systems.
Memory trick: Pub/Sub publishes messages for subscribers to pick up.
Regional External HTTP(S) Load Balancing
Flip cardA Google Cloud load balancing service that distributes HTTP(S) traffic to backend services within a specific region, providing a regional external IP address.
- Regional external IP address.
- Distributes HTTP(S) traffic.
- Supports health checks and automatic failover.
Memory trick: Regional HTTP(S) Load Balancing keeps regional apps balanced and healthy.
App Engine Standard Environment
Flip cardA serverless platform for building and deploying highly scalable applications. It automatically scales resources up and down, even to zero, based on traffic.
- Fully managed and serverless
- Automatic scaling to zero
- Supports various programming languages
Memory trick: SCALE (Scalability, Cost, Automatic, Low-Ops, Elasticity)
Compute Engine Sole-Tenant Nodes
Flip cardDedicated physical servers within Google Cloud that are allocated exclusively to your project. They allow you to run your Compute Engine VMs on isolated hardware, meeting specific compliance, security, or licensing requirements for single-tenancy.
- Dedicated physical servers
- Ensures single-tenancy and physical isolation
- Addresses specific compliance and licensing needs
- Offers control over host maintenance events
Memory trick: VM Isolation: If your app needs its 'own room', pick the 'key' that fits!
BigQuery
Flip cardA serverless, highly scalable, and cost-effective multi-cloud data warehouse designed for business agility.
- Petabyte-scale analytics.
- SQL query engine.
- Serverless and fully managed.
Memory trick: Big data needs BigQuery for big insights.
Cloud SQL Auth Proxy
Flip cardA proxy client for Cloud SQL that provides secure, encrypted connections to Cloud SQL instances without the need for whitelisted IP addresses or SSL certificates.
- Uses IAM for authentication.
- Encrypts all traffic.
- Connects to Cloud SQL instances privately.
Memory trick: Auth Proxy privately connects securely.
Cloud Bigtable
Flip cardCloud Bigtable is a fully managed, petabyte-scale NoSQL database service ideal for large analytical and operational workloads, including IoT, time-series data, and financial data.
- High throughput and low latency
- Wide-column NoSQL database
- Scales to petabytes of data
Memory trick: Bigtable for Big Data from IoT's Big Stream.
Google Kubernetes Engine (GKE)
Flip cardA managed service for deploying, managing, and scaling containerized applications using Kubernetes on Google Cloud. It automates much of the infrastructure management for container orchestration.
- Managed Kubernetes service
- Container orchestration
- Automatic scaling, load balancing, self-healing
- Service discovery built-in
Memory trick: Containers: If your 'fleet' needs a 'Captain', GKE is the clear choice!
Cloud CDN
Flip cardCloud CDN (Content Delivery Network) leverages Google's global network to serve content closer to users, reducing latency and improving performance for web and video streaming applications.
- Global edge network for caching content
- Reduces latency and improves user experience
- Integrates with Cloud Storage and Compute Engine
Memory trick: CDN makes content zoom across the globe!
GKE Autopilot
Flip cardGKE Autopilot is a mode of Google Kubernetes Engine that provides a fully managed Kubernetes experience, where Google automatically manages the cluster's control plane and data plane (nodes), including provisioning, scaling, and repairing.
- Fully managed control plane and nodes
- Pay-per-pod resource model
- Automatic node provisioning and scaling
Memory trick: Autopilot: Kubernetes on cruise control.
External HTTP(S) Load Balancing (Global)
Flip cardA global, Layer 7 (HTTP/S) load balancer on Google Cloud that provides a single external IP address, distributing traffic to backend services across multiple regions based on proximity and health checks. It's ideal for global web applications requiring high availability and low latency.
- Layer 7 (HTTP/S) load balancing
- Global scope with a single IP address
- Distributes traffic to nearest healthy backend
- Supports SSL termination
Memory trick: Load Balancers: Direct your 'traffic' with the right 'traffic cop'!
Virtual Private Cloud (VPC) Network
Flip cardA global, logically isolated network on Google Cloud that provides networking functionality for Google Cloud resources. It enables resources in different regions to communicate and provides a private IP space.
- Logically isolated network
- Global scope (can span regions)
- Provides private IP addresses for resources
- Enables secure and private communication between resources
Memory trick: Network Isolation: Your cloud 'home' needs a strong 'fence' around it!
Compute Engine Preemptible VMs
Flip cardCompute Engine virtual machine instances that can be shut down (preempted) by Google Cloud if resources are needed elsewhere. They are significantly cheaper than standard VMs and are suitable for fault-tolerant, batch, or non-critical workloads.
- Up to 80% cheaper than standard VMs
- Can be preempted (stopped) by Google Cloud
- Maximum run time of 24 hours (can be restarted)
- Ideal for fault-tolerant batch jobs, stateless applications
Memory trick: VM types: Pick the 'personality' that matches your app's 'life story'!
Multicast in VPC Networks
Flip cardWhile Google Cloud VPC networks do not natively support IP multicast at the network layer, specific configurations or third-party solutions can be implemented to enable multicast communication for legacy applications.
- VPC networks are unicast by default.
- Requires specific configuration (e.g., custom routes, proxy) for multicast support.
- Primarily for migrating legacy applications that depend on multicast.
Memory trick: Multicast routing in VPC makes old apps feel new.
Cloud Functions
Flip cardGoogle Cloud's Function as a Service (FaaS) offering. It allows developers to deploy single-purpose functions that respond to events without managing servers or runtimes. It's fully managed and scales automatically.
- Serverless and fully managed
- Event-driven execution model
- Pay-per-use (billed per invocation and compute time)
- Supports various programming languages
Memory trick: Serverless: If your code is a 'spark', choose the 'cloud' that lets it fly free!
Cloud SQL
Flip cardA fully managed relational database service on Google Cloud that supports MySQL, PostgreSQL, and SQL Server. It handles patching, backups, replication, and provides high availability.
- Managed relational database (MySQL, PostgreSQL, SQL Server)
- Automatic backups and replication
- High availability options
- Encryption at rest and in transit
Memory trick: Storage choices: Match your data's 'personality' to its perfect 'home'!
Cloud SQL for Compliance
Flip cardA managed relational database service on Google Cloud that supports robust security features, including encryption, granular access control, and auditing, making it suitable for regulated workloads like HIPAA.
- Managed relational database (MySQL, PostgreSQL, SQL Server).
- Encryption at rest and in transit.
- IAM for fine-grained access control.
- Cloud Audit Logs for compliance.
Memory trick: Cloud SQL secures sensitive data with strict controls.
Cloud Storage Nearline
Flip cardA Google Cloud Storage class optimized for data that is accessed infrequently (less than once a month) but requires fast retrieval (milliseconds). It balances lower storage costs with slightly higher retrieval costs and a 30-day minimum storage duration.
- Access frequency: less than once a month
- Retrieval time: milliseconds
- Minimum storage duration: 30 days
- Cost: Lower than Standard, higher than Coldline/Archive
Memory trick: Storage classes: Match 'how often' you need it to 'how much' you pay!
Global External HTTP(S) Load Balancer
Flip cardA Global External HTTP(S) Load Balancer distributes HTTP and HTTPS traffic across multiple regions, providing global load balancing, automatic failover, and high availability for web applications.
- Global Anycast IP address
- Supports multiple regions for backend services
- Automatic failover and health checks
Memory trick: Global Load Balancer: Your traffic's worldwide safety net.
Cloud Storage Coldline
Flip cardCloud Storage Coldline is a low-cost, highly durable storage class optimized for data accessed less than once a month, suitable for backups, disaster recovery, and data archiving.
- Lower storage cost than Standard and Nearline
- Higher retrieval cost and latency than Standard and Nearline
- Minimum storage duration of 90 days
Memory trick: Standard, Near, Cold, Archive: a spectrum of access and cost.
Cloud SQL High Availability (HA)
Flip cardA configuration for Cloud SQL instances that provides automatic failover to a standby replica in a different zone, ensuring continuous database operation.
- Primary instance and a standby replica are in separate zones.
- Synchronous replication ensures data consistency.
- Automatic failover in case of primary instance or zone failure.
- Reduces downtime for critical applications.
Memory trick: Cloud SQL: The easy button for your relational databases, especially when you need it always on.
Vertex AI Prediction
Flip cardA fully managed service within Google Cloud's Vertex AI platform for deploying and serving machine learning models for online (real-time) predictions.
- Supports custom containers for model deployment.
- Can leverage GPU acceleration for inference.
- Provides model monitoring and version management.
- Offers auto-scaling based on traffic patterns.
Memory trick: Vertex AI Prediction: It's the 'peak' for putting your machine learning models to work, smart and fast.
Dataproc
Flip cardA fully managed, highly scalable service for running Apache Spark, Hadoop, Flink, and Presto clusters on Google Cloud. It simplifies big data processing with auto-scaling and cost-effectiveness.
- Fully managed Spark, Hadoop, Flink, Presto.
- Auto-scaling clusters.
- Cost-effective (per-second billing).
- Integrates with other GCP services.
Memory trick: Dataproc: Your managed Spark engine for big data's start.
Google Cloud AI Platform Prediction
Flip cardA fully managed service for deploying machine learning models into production at scale, handling infrastructure, scaling, and model serving.
- Supports models from various ML frameworks.
- Manages infrastructure, scaling, and high availability.
- Can leverage GPUs for accelerated inference.
Memory trick: AI Platform is the 'AI' for 'platform' deployment.
Google Cloud Functions
Flip cardA serverless execution environment for building and connecting cloud services through event-driven functions.
- Executes code in response to events (e.g., Cloud Storage uploads, Pub/Sub messages).
- Fully managed and scales automatically.
- Supports various programming languages (Node.js, Python, Go, Java, .NET, Ruby, PHP).
Memory trick: Functions are 'functional' for event triggers.
Google Cloud Service Accounts
Flip cardA special type of Google account used by non-human components (like VMs, applications, or other services) to authenticate and authorize access to Google Cloud resources.
- Represent an application or VM identity.
- Permissions granted via IAM roles.
- Avoids the need to store sensitive user credentials or API keys on VMs/in code.
Memory trick: Service Accounts 'serve' the 'account' for VMs.
Cloud Storage Standard Storage
Flip cardThe default storage class for frequently accessed data, offering high availability, durability, and low-latency access.
- Ideal for data accessed multiple times a month.
- Lowest access costs among all classes.
- Suitable for websites, mobile apps, streaming data, and interactive workloads.
- Offers regional, multi-regional, and dual-regional locations.
Memory trick: Remember the 'temperature' of your data: Hot for frequent, Cold for rare, Archive for frozen.
Cloud Deployment Manager
Flip cardAn infrastructure-as-code service that enables you to specify all the resources needed for your application in a declarative format using configuration files. It automates the deployment and management of these resources.
- Infrastructure as Code (IaC).
- Uses YAML for configuration files.
- Deploys resources as a single unit.
- Ensures consistency and repeatability.
Memory trick: Deployment Manager builds your Cloud castle from a blueprint.
App Engine Standard
Flip cardA serverless Platform as a Service (PaaS) that runs applications in a fully managed environment with specific language runtimes.
- Supports automatic scaling, including to zero instances.
- Provides built-in services like load balancing, security, and logging.
- Pay-per-use pricing model, only for resources consumed.
Memory trick: App Engine for code, Cloud Run for containers, Functions for events.
Compute Engine with MIGs
Flip cardCompute Engine offers Infrastructure as a Service (IaaS) with full control over virtual machines. Managed Instance Groups (MIGs) automate the deployment, management, and scaling of multiple VMs.
- Full OS and software control.
- MIGs provide auto-scaling and auto-healing.
- Ideal for custom configurations and lift-and-shift migrations.
- Requires more management overhead than PaaS/serverless.
Memory trick: Compute Engine with MIGs gives you the VM keys and a scaling crew.
Cloud SQL Private IP
Flip cardCloud SQL instances can be configured with a private IP address, allowing them to connect to Compute Engine VMs, GKE clusters, and other services within the same VPC network without needing public IP addresses.
- Uses internal IP addresses.
- Enhances security by avoiding public exposure.
- Requires VPC Peering for cross-project/network access.
- Ensures low-latency, high-bandwidth connection.
Memory trick: Private IP keeps SQL's secrets safe inside the VPC fence.
Google Cloud Multicast Routing
Flip cardA feature within Google Cloud Virtual Private Cloud (VPC) that enables the use of IP multicast traffic within and across VPC networks.
- VPC networks do not support multicast by default.
- Requires explicit configuration of PIM (Protocol Independent Multicast).
- Essential for migrating legacy applications that rely on multicast for service discovery or communication.
Memory trick: Multicast needs a 'multi-cast' configuration in the cloud.
Google Cloud Spanner
Flip cardA globally distributed, strongly consistent, and horizontally scalable relational database service designed for mission-critical applications.
- Combines relational database features with NoSQL scalability.
- Offers global transactional consistency.
- Provides 99.999% availability for multi-region instances.
Memory trick: Spanner 'spans' the 'globe' with 'strong' consistency.
Google Cloud Dataproc
Flip cardA fully managed, highly scalable service for running Apache Spark, Hadoop, Flink, and Presto clusters on Google Cloud.
- Supports on-demand cluster creation and deletion.
- Integrates with Cloud Storage, BigQuery, and other GCP services.
- Cost-effective for ephemeral batch processing workloads.
Memory trick: Dataproc 'processes' data like a 'pro' with Spark.
Cloud Deployment Manager Dependencies
Flip cardA feature in Cloud Deployment Manager that allows you to specify the order in which resources are created, updated, or deleted by defining explicit relationships between them.
- Uses the 'dependsOn' keyword in configuration files.
- Ensures that a resource is deployed only after its prerequisites are met.
- Crucial for complex multi-tier applications where order matters.
Memory trick: Deployment Manager 'depends' on explicit instructions.
Google Cloud Filestore
Flip cardA fully managed Network Attached Storage (NAS) service for applications that require a file system interface and a shared file system for data.
- Offers NFSv3 and NFSv4.1 protocol support.
- Can be integrated with GKE as PersistentVolumes.
- Provides high performance and low latency for file-based workloads.
Memory trick: Filestore is the 'file store' for GKE's persistent needs.
Google Cloud Custom Static Routes
Flip cardUser-defined routes in a Google Cloud VPC network that specify how traffic should be forwarded, often used to direct traffic through network virtual appliances.
- Overrides default routes for specific destinations.
- Can specify a next hop as a VM instance, VPN tunnel, or internal IP.
- Essential for implementing network security patterns like centralized egress inspection.
Memory trick: Custom Routes 'route' traffic through 'custom' appliances.
Workload Identity
Flip cardA feature in GKE that allows Kubernetes service accounts to act as Google Cloud service accounts. This enables Pods to securely access Google Cloud services without needing to store or manage service account keys.
- Binds Kubernetes SA to Google Cloud SA.
- Eliminates need for explicit service account keys.
- Provides fine-grained authorization.
- Enhances security posture for GKE workloads.
Memory trick: Workload Identity: Your Pods wear a GCP badge, no key needed.