GoogleGoogle
PROFESSIONAL-CLOUD-DEVELOPER · Question #133
PROFESSIONAL-CLOUD-DEVELOPER Question #133: Real Exam Question with Answer & Explanation
The correct answer is B: Create a PersistentVolumeClaim on the GKE cluster. Access the configuration files from the. https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes
Deploying applications
Question
You have containerized a legacy application that stores its configuration on an NFS share. You need to deploy this application to Google Kubernetes Engine (GKE) and do not want the application serving traffic until after the configuration has been retrieved. What should you do?
Options
- AUse the gsutil utility to copy files from within the Docker container at startup, and start the service
- BCreate a PersistentVolumeClaim on the GKE cluster. Access the configuration files from the
- CUse the COPY statement in the Dockerfile to load the configuration into the container image.
- DAdd a startup script to the GKE instance group to mount the NFS share at node startup. Copy the
Explanation
https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes
Topics
#Kubernetes Persistent Storage#GKE Volumes#NFS Integration#Application Deployment
Community Discussion
No community discussion yet for this question.