Hint: Unpredictable traffic? Choose serverless for auto scaling [OK]
Common Mistakes:
Assuming GKE scales automatically without config
Thinking serverless needs VM provisioning
Confusing manual and automatic scaling
4. You deployed a container on GKE but it fails to start. Which fix is most likely needed?
medium
A. Enable serverless API in GCP console
B. Increase Cloud Run memory allocation
C. Check and fix container image path in deployment YAML
D. Upload container image to Firebase hosting
Solution
Step 1: Identify cause of container start failure
Common cause is incorrect container image path or tag in deployment YAML.
Step 2: Evaluate options
Increasing Cloud Run memory or enabling serverless API does not affect GKE container start. Firebase hosting is unrelated to container images.
Final Answer:
Check and fix container image path in deployment YAML -> Option C
Quick Check:
Container start fail? Fix image path in YAML [OK]
Hint: Check container image path in YAML if GKE pod fails [OK]
Common Mistakes:
Trying serverless fixes for GKE issues
Uploading images to wrong services
Ignoring deployment YAML errors
5. Your app needs custom networking, persistent storage, and runs long background jobs. Which GCP choice fits best?
hard
A. Use serverless Cloud Run for easy scaling and no management
B. Use Firebase hosting for backend processing
C. Use App Engine standard environment for background jobs
D. Use GKE for full control over networking and storage
Solution
Step 1: Identify app requirements
Custom networking, persistent storage, and long background jobs require control and flexibility.
Step 2: Match requirements to GCP services
GKE offers container orchestration with networking and storage control. Serverless Cloud Run lacks persistent storage and complex networking. App Engine standard has limitations on background jobs. Firebase hosting is for static content.
Final Answer:
Use GKE for full control over networking and storage -> Option D
Quick Check:
Custom network + storage + long jobs = GKE [OK]
Hint: Need control and storage? Choose GKE over serverless [OK]
Common Mistakes:
Choosing serverless despite storage needs
Using App Engine for heavy background jobs
Confusing Firebase hosting with backend services
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.