When designing an architecture that includes both stateful and stateless components, what types of VMs and instance groups should you use for these components in GCP?
Choose an answer
Tap an option to check your answer.
Correct answer: Stateful Managed Instance Groups for stateful components and Stateless Managed Instance Groups for stateless components..
Why this is the answer
*For an architecture requiring both stateful and stateless components, the ideal choice is to use Stateful Managed Instance Groups (MIGs) for stateful components and Stateless Managed Instance Groups for stateless components. Stateful MIGs are specifically designed to handle stateful workloads, preserving the unique state of each instance (like instance name, attached persistent disks, and IP addresses) across restarts, resizes, and auto-healing events. Stateless MIGs, on the other hand, are optimized for stateless applications, where instances can be freely terminated and replaced without concern for preserving state. This distinction ensures that each type of workload is handled optimally, providing the necessary reliability and scalability. Other configurations, such as using only stateless MIGs or single instance VMs, do not offer the same level of efficiency or scalability suited for the specific requirements of stateful and stateless components.*
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed