Q: 18
You have a single binary application that you want to run on Google Cloud Platform. You decided to
automatically scale the application based on underlying infrastructure CPU usage. Your
organizational policies require you to use virtual machines directly. You need to ensure that the
application scaling is operationally efficient and completed as quickly as possible. What should you
do?
Options
Discussion
Option B but only if you actually set the autoscaling policy to target CPU usage, not just rely on the default. C wouldn't work for dynamic CPU changes and A fails org policy since it's not VMs directly. Anyone run into edge cases with B if app has stateful needs?
B makes sense since managed instance groups let you autoscale VM instances based on CPU metrics natively. This fits the org policy about using VMs directly, and it's faster and less manual than custom scripts or third-party tools. Pretty sure it's B but open to feedback if anyone's seen issues with this setup.
Be respectful. No spam.