Easy1 markMultiple Choice
Domain 2.2: Planning and configuring compute resourcesCompute EngineCustom Machine TypesCost Optimization
GCP ACE · Question 14 · Domain 2.2: Planning and configuring compute resources
You need to deploy a legacy application on Compute Engine. The application has very specific hardware requirements: it needs exactly 6 vCPUs and 40 GB of RAM. None of the predefined machine types match this requirement exactly.
What is the MOST cost-effective way to provision this instance?
You need to deploy a legacy application on Compute Engine. The application has very specific hardware requirements: it needs exactly 6 vCPUs and 40 GB of RAM. None of the predefined machine types match this requirement exactly.
What is the MOST cost-effective way to provision this instance?
Answer options:
A.
Select the e2-standard-8 (8 vCPUs, 32 GB RAM) and add extra memory.
B.
Select the n2-standard-8 (8 vCPUs, 32 GB RAM) and use a startup script to limit CPU usage.
C.
Create a custom machine type with 6 vCPUs and 40 GB of RAM.
D.
Deploy the application on Google Kubernetes Engine (GKE) to utilize exact resource requests.
How to approach this question
Recognize that GCP allows you to tailor VM sizes exactly to your needs.
Full Answer
C.Create a custom machine type with 6 vCPUs and 40 GB of RAM.✓ Correct
Create a custom machine type with 6 vCPUs and 40 GB of RAM.
Compute Engine offers Custom Machine Types, which allow you to independently specify the number of vCPUs and the amount of memory for an instance. This is ideal for workloads that don't fit predefined shapes, preventing you from over-provisioning and overpaying.
Common mistakes
Assuming you must choose the next largest predefined machine type.
Practice the full GCP Associate Cloud Engineer Practice Exam 2
50 questions · hints · full answers · grading
More questions from this exam
Q01Your company is migrating to Google Cloud and needs to establish a resource hierarchy. You have t...EasyQ02You are managing access to a GCP project. You need to grant 15 developers the ability to view Com...MediumQ03You have created a new GCP project using the Cloud Console. You want to deploy a Cloud Function u...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...EasyQ05Your finance team wants to perform complex SQL analysis on your GCP billing data to understand co...Medium
Expert