ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 186 - Professional Cloud Developer discussion

Report
Export

Your organization has recently begun an initiative to replatform their legacy applications onto Google Kubernetes Engine. You need to decompose a monolithic application into microservices. Multiple instances have read and write access to a configuration file, which is stored on a shared file system. You want to minimize the effort required to manage this transition, and you want to avoid rewriting the application code. What should you do?

A.
Create a new Cloud Storage bucket, and mount it via FUSE in the container.
Answers
A.
Create a new Cloud Storage bucket, and mount it via FUSE in the container.
B.
Create a new persistent disk, and mount the volume as a shared PersistentVolume.
Answers
B.
Create a new persistent disk, and mount the volume as a shared PersistentVolume.
C.
Create a new Filestore instance, and mount the volume as an NFS PersistentVolume.
Answers
C.
Create a new Filestore instance, and mount the volume as an NFS PersistentVolume.
D.
Create a new ConfigMap and volumeMount to store the contents of the configuration file.
Answers
D.
Create a new ConfigMap and volumeMount to store the contents of the configuration file.
Suggested answer: D

Explanation:

https://cloud.google.com/kubernetes-engine/docs/concepts/configmap

ConfigMaps bind non-sensitive configuration artifacts such as configuration files, command-line arguments, and environment variables to your Pod containers and system components at runtime.

A ConfigMap separates your configurations from your Pod and components, which helps keep your workloads portable. This makes their configurations easier to change and manage, and prevents hardcoding configuration data to Pod specifications.

asked 18/09/2024
Osman Rana
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first