Google Cloud Engineer Ace
Table of Contents
Google Cloud Platform Fundamentals
GCP Compute Services drill google_cloud_engineer_ace
What are the main compute services offered by Google Cloud Platform?
Answer
- Compute Engine (VMs)
- Google Kubernetes Engine (GKE)
- App Engine
- Cloud Functions
- Cloud Run
GCP Storage Services drill google_cloud_engineer_ace
List the primary storage services in Google Cloud Platform.
Answer
- Cloud Storage
- Cloud SQL
- Cloud Spanner
- Cloud Bigtable
- Cloud Firestore
- Cloud Memorystore
GCP Networking drill google_cloud_engineer_ace
What are the key networking services and concepts in GCP?
Answer
- Virtual Private Cloud (VPC)
- Cloud Load Balancing
- Cloud CDN
- Cloud DNS
- Cloud VPN
- Cloud Interconnect
- Network Service Tiers
GCP IAM drill google_cloud_engineer_ace
Explain the main components of Google Cloud Identity and Access Management (IAM).
Answer
- Resources: The GCP services and objects that can be accessed
- Permissions: Granular access control to resources
- Roles: Collections of permissions
- Members: Users, groups, service accounts, or domains
- Policies: Bindings of members to roles for specific resources
GCP Monitoring and Logging drill google_cloud_engineer_ace
What are the primary services for monitoring and logging in GCP?
Answer
- Cloud Monitoring
- Cloud Logging
- Error Reporting
- Cloud Trace
- Cloud Debugger
- Cloud Profiler
Compute Engine
Compute Engine Instance Types drill google_cloud_engineer_ace
What are the main types of Compute Engine instances?
Answer
- General-purpose (N1, N2, E2)
- Compute-optimized (C2)
- Memory-optimized (M1, M2)
- GPU instances
- Sole-tenant nodes
Compute Engine Pricing Models drill google_cloud_engineer_ace
Describe the different pricing models available for Compute Engine instances.
Answer
- On-demand pricing: Pay for what you use, billed by the second
- Preemptible VMs: Low-cost, short-lived compute instances
- Committed use discounts: Discounted prices for committing to a usage term
- Sustained use discounts: Automatic discounts for running instances for a significant portion of the billing month
- Spot VMs: Flexible, lower-cost option for fault-tolerant workloads
Google Kubernetes Engine (GKE)
GKE Cluster Types drill google_cloud_engineer_ace
What are the main types of GKE clusters?
Answer
- Standard clusters: Fully managed Kubernetes clusters
- Autopilot clusters: Hands-off, fully managed clusters with optimized node provisioning
- Private clusters: Clusters with private networking and limited public access
- Multi-zonal clusters: Clusters spread across multiple zones in a region
- Regional clusters: High-availability clusters spread across multiple zones in a region
GKE Networking drill google_cloud_engineer_ace
Explain the networking options available for GKE clusters.
Answer
- VPC-native clusters: Use alias IP addresses for pods and services
- Routes-based clusters: Use custom static routes for pod networking
- Network policies: Kubernetes network policies for controlling traffic between pods
- Ingress and egress control: Manage incoming and outgoing traffic to the cluster
- Service mesh integration: Support for Istio and other service mesh technologies
App Engine
App Engine Environments drill google_cloud_engineer_ace
What are the two environments available in App Engine, and how do they differ?
Answer
- Standard Environment:
- Runs in a sandbox
- Supports specific versions of programming languages
- Faster instance startup
- Free daily usage quota
- Flexible Environment:
- Runs in Docker containers
- Supports any programming language
- More control over the runtime environment
- Access to write to local disk
- Can use third-party binaries
App Engine Scaling Types drill google_cloud_engineer_ace
Describe the different scaling types available in App Engine.
Answer
- Automatic scaling: Automatically adds or removes instances based on traffic
- Basic scaling: Allows instances to be shut down when not in use
- Manual scaling: Specifies a fixed number of instances to run
Cloud Storage
Cloud Storage Classes drill google_cloud_engineer_ace
List and briefly describe the storage classes available in Google Cloud Storage.
Answer
- Standard: Frequently accessed data, highest availability
- Nearline: Infrequently accessed data (once per month), lower cost
- Coldline: Rarely accessed data (once per quarter), very low cost
- Archive: Data archiving and disaster recovery, lowest cost
Cloud Storage Features drill google_cloud_engineer_ace
What are some key features of Google Cloud Storage?
Answer
- Object versioning
- Lifecycle management
- Object change notification
- Data encryption (client-side and server-side)
- Access control (IAM and ACLs)
- Object hold and retention policies
- Multi-regional and dual-regional storage options
- Strong consistency
Networking
VPC Peering vs VPN drill google_cloud_engineer_ace
Compare VPC Peering and Cloud VPN in Google Cloud Platform.
Answer
VPC Peering:
- Connects two VPC networks
- Traffic stays on Google's network
- Lower latency and higher bandwidth
- No encryption of traffic
- Does not require external IP addresses
Cloud VPN:
- Connects on-premises network to GCP VPC
- Traffic goes over the public internet
- Encrypted using IPsec
- Requires external IP addresses
- Can connect different cloud providers
Load Balancing Types drill google_cloud_engineer_ace
What are the main types of load balancers available in GCP?
Answer
- HTTP(S) Load Balancing (Global)
- SSL Proxy Load Balancing (Global)
- TCP Proxy Load Balancing (Global)
- Network Load Balancing (Regional)
- Internal TCP/UDP Load Balancing (Regional)
- Internal HTTP(S) Load Balancing (Regional)
Security
Cloud Security Scanner drill google_cloud_engineer_ace
What is Cloud Security Scanner and what does it do?
Answer
Cloud Security Scanner is an automated vulnerability scanning service for App Engine, Compute Engine, and Google Kubernetes Engine applications. It identifies security vulnerabilities such as:
- Cross-site scripting (XSS)
- Flash injection
- Mixed content (HTTPS/HTTP)
- Outdated/insecure libraries
- Insecure use of cryptography algorithms
Cloud Armor drill google_cloud_engineer_ace
Explain the purpose and features of Google Cloud Armor.
Answer
Google Cloud Armor is a web application firewall (WAF) and DDoS protection service. Key features include:
- Pre-configured rules to protect against common vulnerabilities (e.g., SQL injection, cross-site scripting)
- Custom rules using Cloud Armor security policies
- IP address allow/deny lists
- Geographic-based access control
- Integration with HTTP(S) Load Balancing
- Protection against layer 3-7 DDoS attacks
- Adaptive protection using machine learning