Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Exam Associate Cloud Engineer Topic 4 Question 79 Discussion

Actual exam question for Google's Associate Cloud Engineer exam
Question #: 79
Topic #: 4
[All Associate Cloud Engineer Questions]

Your team has developed a stateless application which requires it to be run directly on virtual machines. The application is expected to receive a fluctuating amount of traffic and needs to scale automatically. You need to deploy the application. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: A

A managed instance group (MIG) is a group of identical virtual machines (VMs) that you can manage as a single entity. You can use a MIG to deploy and maintain a stateless application that runs directly on VMs. A MIG can automatically scale the number of VMs based on the load or a schedule. A MIG can also automatically heal the VMs if they become unhealthy or unavailable. A MIG is suitable for applications that need to run on VMs rather than containers or serverless platforms.

B is incorrect because Kubernetes Engine is a managed service for running containerized applications on a cluster of nodes. It is not necessary to use Kubernetes Engine if the application does not use containers and can run directly on VMs.

C is incorrect because Cloud Functions is a serverless platform for running event-driven code in response to triggers. It is not suitable for applications that need to run continuously and handle HTTP requests.

D is incorrect because Cloud Run is a serverless platform for running stateless containerized applications. It is not suitable for applications that do not use containers and can run directly on VMs.


Managed instance groups documentation

Choosing a compute option for Google Cloud

Contribute your Thoughts:

Aretha
5 months ago
True, Cloud Run could be a good option for stateless applications that need to scale automatically.
upvoted 0 times
...
Allene
5 months ago
I prefer deploying on Cloud Run and configuring autoscaling. It's more lightweight.
upvoted 0 times
...
Gertude
5 months ago
That could work too, but I think managed instance group is simpler to manage.
upvoted 0 times
...
Kirk
5 months ago
What about deploying on Kubernetes Engine cluster with node pool autoscaling?
upvoted 0 times
...
Aretha
5 months ago
Yeah, that makes sense. Managed instance group would handle the fluctuating traffic well.
upvoted 0 times
...
Gertude
6 months ago
I think we should deploy on a managed instance group and configure autoscaling.
upvoted 0 times
...
Golda
6 months ago
That's true, but Cloud Functions might be more cost-effective for fluctuating traffic compared to managed instance groups.
upvoted 0 times
...
Crissy
6 months ago
But wouldn't deploying on Cloud Functions limit our flexibility in scaling based on traffic?
upvoted 0 times
...
King
6 months ago
I personally prefer deploying the application on Cloud Run and configuring autoscaling.
upvoted 0 times
...
Golda
7 months ago
I disagree, I believe deploying the application on Cloud Functions and configuring the maximum number of instances is the way to go.
upvoted 0 times
...
Crissy
7 months ago
I think we should deploy the application on a managed instance group and configure autoscaling.
upvoted 0 times
...
Bulah
7 months ago
Haha, yeah, that would be just our luck. Maybe they'll throw in a 'Deploy the application on a unicorn' option, just to see if we're paying attention.
upvoted 0 times
...
Felton
7 months ago
Hah, yeah, that's like the 'when all you have is a hammer, everything looks like a nail' of cloud computing. But I suppose it's not a bad choice here.
upvoted 0 times
...
Dorothea
7 months ago
Agreed, Cloud Run it is. Now, let's just hope the exam question doesn't try to trick us with some obscure cloud service that none of us have heard of!
upvoted 0 times
...
Nobuko
8 months ago
Hmm, I'm not so sure. What about managed instance groups? That could be a good middle ground between Kubernetes and Cloud Run.
upvoted 0 times
...
Paris
8 months ago
Ooh, good catch! Cloud Run does sound like a solid choice here. It takes care of the scaling and infrastructure management, so we can focus on our application.
upvoted 0 times
...
Sheron
8 months ago
Yeah, Cloud Run was my first thought too. It's serverless, so it should scale automatically without all the Kubernetes hassle.
upvoted 0 times
Mel
7 months ago
Yeah, Cloud Run was my first thought too. It's serverless, so it should scale automatically without all the Kubernetes hassle.
upvoted 0 times
...
Evangelina
7 months ago
D) Deploy the application on Cloud Run and configure autoscaling.
upvoted 0 times
...
Tenesha
7 months ago
C) Deploy the application on Cloud Functions and configure the maximum number of instances.
upvoted 0 times
...
Earlean
7 months ago
B) Deploy the application on a Kubernetes Engine cluster and configure node pool autoscaling.
upvoted 0 times
...
Dana
7 months ago
A) Deploy the application on a managed instance group and configure autoscaling.
upvoted 0 times
...
...
Felicidad
8 months ago
I think Cloud Run is the way to go. It's got the autoscaling capabilities we need, and it's a managed service, so we don't have to worry about the underlying infrastructure. Sounds like a winner to me!
upvoted 0 times
Cordelia
6 months ago
Let's consider all options carefully before making a decision.
upvoted 0 times
...
Jolene
6 months ago
I think deploying on Kubernetes Engine with node pool autoscaling could also be a scalable solution.
upvoted 0 times
...
Micaela
6 months ago
But wouldn't deploying on a managed instance group with autoscaling be more cost-effective?
upvoted 0 times
...
Glenn
6 months ago
I agree, Cloud Run sounds like a good choice for our stateless application with fluctuating traffic.
upvoted 0 times
...
...
Agustin
8 months ago
Hmm, you know what they say - 'when in doubt, go with the serverless option.' Cloud Run it is!
upvoted 0 times
...
Karl
8 months ago
Well, I'm leaning towards option B. Kubernetes Engine seems like the way to go for a scalable, managed solution.
upvoted 0 times
...
Hana
8 months ago
Okay, this is a tricky one. The application is stateless, which means it can be scaled easily. But the question is, what's the best way to do that?
upvoted 0 times
...

Save Cancel