Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 63 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 63
Topic #: 1
[All Professional Cloud Architect Questions]

You are designing an application for use only during business hours. For the minimum viable product release, you'd like to use a managed product that automatically `scales to zero` so you don't incur costs when there is no activity.
Which primary compute resource should you choose?

  • A. Cloud Functions
  • B. Compute Engine
  • C. Google Kubernetes Engine
  • D. AppEngine flexible environment
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
abirroy
Highly Voted 2 years, 2 months ago
Selected Answer: A
A. Cloud Functions - managed service scales down to 0 B. Compute Engine - not a managed service C. Google Kubernetes Engine - not a managed service and wont scale down to 0 D. AppEngine flexible environment - managed service but wont scale down to 0
upvoted 25 times
AzureDP900
2 years, 1 month ago
Agree with A
upvoted 3 times
...
NiveusSol
9 months ago
GKE is a managed service.
upvoted 4 times
...
...
victory108
Highly Voted 2 years, 11 months ago
A. Cloud Functions
upvoted 11 times
vpatiltech
2 years, 9 months ago
Cloud function is more for event driven computing. We surely need k8s or app engine. Flex always have 1 instance running. So GKE should be the option
upvoted 5 times
YAS007
2 years, 6 months ago
from the doc :https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler Note: If you specify a minimum of zero nodes, an idle node pool can scale down completely. However, at least one node must always be available in the cluster to run system Pods.
upvoted 1 times
6721sora
2 years, 3 months ago
But no cost for System/Control nodes
upvoted 1 times
...
...
...
...
Toothpick
Most Recent 4 months ago
The only correct answer here is cloud run which isn't listed as an option. (A) can scale to zero, but is mean't for event driven workloads,not full sized applications, especially in the routing department (B) Needs manual stoppage, managed groups also keep one instance alive always (C) You're billed for the control plane even if the node pools are empty (D) Flex can't scale down to zero currently
upvoted 3 times
...
MiguelMiguel
1 year ago
This question is confused. It's seems that the answer is cloud function because is the only platform that can scale 0 natively. If you want to scale to zero k8s, you have to create a solution based in scheduler, function and pub sub. Compute Engine is not a managed service, and app engine flex doesn't scale to 0. I would go to A but it's not clear.
upvoted 1 times
...
LaxmanTiwari
1 year, 6 months ago
agree A
upvoted 1 times
...
grejao
1 year, 7 months ago
Selected answer: D I choosed D, it appears that we do not. have a right answer here. A. Cloud Functions - its more for event driven computing, not for full application B. Compute Engine - not a managed service C. Google Kubernetes Engine - not a managed service and wont scale down to 0 D. AppEngine flexible environment - Only Standard App Engine can scale to 0.
upvoted 3 times
Bedmed
1 year, 7 months ago
yes, but only Standard environment, not flexible environment
upvoted 3 times
...
...
GCPAnji
1 year, 8 months ago
For an application that is only used during business hours and needs to scale to zero during periods of inactivity to minimize costs, a good choice would be a Function-as-a-Service (FaaS) product like AWS Lambda or Google Cloud Functions.
upvoted 1 times
...
jlambdan
1 year, 8 months ago
Selected Answer: B
A a cloud function is not an application B compute engine via MIG you can use an autoscaler with a schedule. https://cloud.google.com/compute/docs/autoscaler/scaling-schedules You then can go from 0 to more instance when required C K8s is two complex for this. You can have an autoscaler for the cluster in order to get the node number to 0, but it require the node to have no pods running. So you have to configure your deployments and all your workload to scale to 0 too. Other interference will be pod affinity, anti-affinity, disruption budget or unmanaged pod preventing pod eviction from node. But if the pod is not evicted, the node cannot be deleted. "autoscaler respects scheduling and eviction rules set on Pods. These restrictions can prevent a node from being deleted by the autoscaler. " => https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler#scheduling-and-disruption D flexible cannot scale to 0
upvoted 1 times
jrisl1991
1 year, 1 month ago
App Engine is not an application on its own either, nor B or C options. B and C are not managed products; "managed" means that all of the infrastructure work (such as setting up an autoscheduler or autoscaler) will be managed by Google and not by the user. Using an IaaS solution for a managed use case is already contradictory. App Engine Flex will always have at least 1 instance running. While Cloud Functions is not an application itself, it's the only resource that can scale to 0. Plus, the requirement states that they will have an application running during business hours, but they never mentioned that the app will only be running in GCP or in Cloud Functions. They could be running their app anywhere else, and only call Cloud Functions when needed.
upvoted 1 times
theBestStudent
11 months, 2 weeks ago
That is not the concept of managed: https://cloud.google.com/blog/topics/developers-practitioners/serverless-vs-fully-managed-whats-difference
upvoted 1 times
...
...
...
CGS22
1 year, 8 months ago
Selected Answer: A
A. Cloud Functions
upvoted 2 times
...
WFCheong
1 year, 10 months ago
Why not D? App Engines also can scale down to zero when there is no activity. https://cloud.google.com/appengine/docs/the-appengine-environments#:~:text=Intended%20to%20run%20for%20free,when%20there%20is%20no%20traffic. Intended to run for free or at very low cost, where you pay only for what you need and when you need it. For example, your application can scale to 0 instances when there is no traffic.
upvoted 3 times
CkWongCk
1 year, 10 months ago
There are 2 mode for App engines, standard and flexible. The standard environment can scale from zero instances up to thousands very quickly. In contrast, the flexible environment must have at least one instance running for each active version and can take longer to scale out in response to traffic.
upvoted 4 times
...
...
thamaster
1 year, 11 months ago
Selected Answer: A
the only to scale to 0 is A
upvoted 2 times
...
omermahgoub
1 year, 11 months ago
The correct answer is A. Cloud Functions. Cloud Functions is a serverless compute service that lets you run code without provisioning or managing infrastructure. One of the key benefits of using Cloud Functions is that it automatically scales to meet the demands of your workload and automatically scales down to zero when there is no activity. This means that you only pay for the compute resources that you consume, which can help to reduce costs when your application is not in use. Additionally, Cloud Functions is easy to use and allows you to deploy your code with minimal effort, making it a good choice for a minimum viable product release.
upvoted 3 times
...
backhand
2 years, 3 months ago
vote A this is easy one. key word: managed product, scales to zero scale to zero: app engine standard, cloud function
upvoted 2 times
...
vijbabu
2 years, 4 months ago
Selected Answer: B
Answer is B
upvoted 1 times
...
Dhiraj03
2 years, 5 months ago
Selected Answer: A
Cloud Functions can scale to zero when not in use
upvoted 3 times
...
Sskhan
2 years, 10 months ago
Selected Answer: A
Answer is A, As Option D App engine flexible can have minimum 1 instance active.
upvoted 4 times
...
Sskhan
2 years, 10 months ago
Answer is A, As Option D App engine flexible can have minimum 1 instance active.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...