0 votes
in Cloud Computing by

You need to migrate a Python app to GCP. The main problem is that the app may have sudden traffic bursts and you have to scale very quickly.
The main requirements for the app are therefore performance and availability.
Given these requirements, which platform do you choose?

A. Compute Engine with Managed instances group
B. App Engine Standard with automatic scaling
C. App Engine Flex with Automatic scaling
D. Cloud Functions

1 Answer

0 votes
by

Correct Answer: B
App Engine Standard Edition scales very quickly and it is faster than the other solutions because the tech environments are already ready to go.
So, if you are sending batches of requests to your services, for example, to a task queue for processing, a large number of instances will be created quickly. We recommend controlling this by rate limiting the number of requests sent per second, if possible. For example, in an App Engine task queue, you can control the rate at which tasks are pushed.
App Engine also scales instances in reverse when request volumes decrease. This scaling helps ensure that all of your application’s current instances are being used to optimal efficiency and cost effectiveness.
A is wrong because Compute Engine is slower because it has to start new instances.
C is wrong because App Engine Flex is slower because it has to start new containers.
D is wrong because Cloud Functions are slower then App Engine and are not suitable for all the applications

Related questions

0 votes
asked Dec 3, 2021 in Cloud Computing by DavidAnderson
0 votes
asked Dec 3, 2021 in Cloud Computing by DavidAnderson
...