0
0
GCPcloud~20 mins

Machine types and families (E2, N2, C2) in GCP - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Master of GCP Machine Types
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the main difference between E2 and N2 machine families
Which statement best describes the key difference between E2 and N2 machine types in Google Cloud Platform?
AE2 machines use custom CPUs optimized for cost efficiency, while N2 machines use newer Intel or AMD processors for better performance.
BE2 machines are designed for high-performance computing with GPUs, while N2 machines are only for general workloads without GPUs.
CE2 machines support only fixed machine types, while N2 machines support only custom machine types.
DE2 machines are only available in specific regions, while N2 machines are available globally.
Attempts:
2 left
💡 Hint
Think about the CPU types and cost-performance trade-offs between these families.
Architecture
intermediate
2:00remaining
Choosing the right machine family for a CPU-intensive workload
You have a CPU-intensive application that requires consistent high performance. Which machine family should you choose to optimize performance without GPUs?
AC2 family, because it is designed for cost savings on general workloads.
BE2 family, because it offers the best CPU performance for intensive workloads.
CN2 family, because it uses newer Intel or AMD processors optimized for performance.
DE2 family, because it supports the highest number of vCPUs per instance.
Attempts:
2 left
💡 Hint
Consider which family uses the latest processors for CPU-intensive tasks.
service_behavior
advanced
2:00remaining
Behavior of C2 machine family under burst CPU load
What happens when a C2 machine type instance experiences a sudden burst of CPU load beyond its baseline capacity?
AThe instance automatically scales up to more vCPUs to handle the burst without performance degradation.
BThe instance throttles CPU usage to stay within its allocated capacity, potentially reducing performance temporarily.
CThe instance switches to a lower-cost CPU mode to save money during the burst.
DThe instance shuts down automatically to prevent overheating.
Attempts:
2 left
💡 Hint
Think about how fixed CPU capacity machines handle sudden load spikes.
security
advanced
2:00remaining
Security implications of using E2 vs N2 machine types
Which security feature is uniquely available or enhanced in N2 machine types compared to E2 in Google Cloud Platform?
AN2 machines support Confidential Computing with AMD SEV, which is not available on E2 machines.
BE2 machines have built-in hardware encryption, but N2 machines rely only on software encryption.
CE2 machines automatically isolate network traffic at the hardware level, unlike N2 machines.
DN2 machines support Shielded VMs with advanced firmware security features, while E2 machines do not.
Attempts:
2 left
💡 Hint
Consider which machine family supports Confidential Computing features.
Best Practice
expert
3:00remaining
Optimizing cost and performance with mixed machine families
You need to deploy a scalable web application with variable workloads. Which strategy best balances cost and performance using E2, N2, and C2 machine types?
AUse N2 machines exclusively to simplify management and maximize performance regardless of cost.
BUse E2 machines for CPU-intensive tasks, N2 machines for memory-intensive tasks, and C2 machines for GPU workloads.
CUse only C2 machines for all workloads because they offer the best cost savings and performance balance.
DUse E2 machines for baseline workloads to save cost, N2 machines for moderate traffic spikes, and C2 machines for short CPU-intensive batch jobs.
Attempts:
2 left
💡 Hint
Think about matching machine types to workload characteristics and cost efficiency.