ASSOCIATE-CLOUD-ENGINEER · Question #19
ASSOCIATE-CLOUD-ENGINEER Question #19: Real Exam Question with Answer & Explanation
Sign in or unlock ASSOCIATE-CLOUD-ENGINEER to reveal the answer and full explanation for question #19. The question stem and answer options stay visible for context.
Question
You've deployed a microservice called myapp1 to a Google Kubernetes Engine cluster using the YAML file specified below: You need to refactor this configuration so that the database password is not stored in plain text. You want to follow Google-recommended practices. What should you do?
Options
- AStore the database password inside the Docker image of the container, not in the YAML file.
- BStore the database password inside a Secret object.
- CStore the database password inside a ConfigMap object.
- DStore the database password in a file inside a Kubernetes persistent volume, and use a persistent
Unlock ASSOCIATE-CLOUD-ENGINEER to see the answer
You've previewed enough free ASSOCIATE-CLOUD-ENGINEER questions. Unlock ASSOCIATE-CLOUD-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.