ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 146 - Professional Cloud Developer discussion

Report
Export

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?

A.
Use the gsutil utility to copy files from within the Docker container at startup, and start the service using an ENTRYPOINT script.
Answers
A.
Use the gsutil utility to copy files from within the Docker container at startup, and start the service using an ENTRYPOINT script.
B.
Create a PersistentVolumeClaim on the GKE cluster. Access the configuration files from the volume, and start the service using an ENTRYPOINT script.
Answers
B.
Create a PersistentVolumeClaim on the GKE cluster. Access the configuration files from the volume, and start the service using an ENTRYPOINT script.
C.
Use the COPY statement in the Dockerfile to load the configuration into the container image. Verify that the configuration is available, and start the service using an ENTRYPOINT script.
Answers
C.
Use the COPY statement in the Dockerfile to load the configuration into the container image. Verify that the configuration is available, and start the service using an ENTRYPOINT script.
D.
Add a startup script to the GKE instance group to mount the NFS share at node startup. Copy the configuration files into the container, and start the service using an ENTRYPOINT script.
Answers
D.
Add a startup script to the GKE instance group to mount the NFS share at node startup. Copy the configuration files into the container, and start the service using an ENTRYPOINT script.
Suggested answer: B
asked 18/09/2024
Luis Hernaiz
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first