Compute Resources Flashcards
What is the purpose of planning compute resources in Google Cloud?
To ensure optimal performance, cost efficiency, and scalability
How do you determine the appropriate machine type for your application?
By assessing your application’s CPU, memory, and storage requirements
What are Google Cloud’s predefined machine types?
Standard, high-memory, and high-CPU machine types
What is a custom machine type?
A machine type that allows you to specify the exact amount of vCPUs and memory
When would you use a preemptible VM instance?
For fault-tolerant workloads that can handle instance interruptions
What is the advantage of using preemptible VM instances?
Lower cost compared to standard VM instances
What is an autoscaler in Google Cloud?
A tool that automatically adjusts the number of VM instances based on load
How do you configure autoscaling for a managed instance group?
By setting policies based on metrics like CPU utilization or custom metrics
What are sole-tenant nodes in Google Cloud?
Dedicated physical servers for your VM instances, providing hardware isolation
When should you use sole-tenant nodes?
For regulatory compliance, licensing requirements, or performance isolation
What is a regional managed instance group?
A managed instance group that distributes VM instances across multiple zones for high availability
What is the benefit of using regional managed instance groups?
Increased availability and redundancy
What is a VM instance template?
A resource that defines the configuration of VM instances in a managed instance group
How do you create a VM instance template?
Using the Google Cloud Console or gcloud command-line tool
What factors should you consider when selecting a region and zone for your compute resources?
Latency, availability, cost, and compliance requirements