Examlex

Solved

You've Deployed a Microservice Called Myapp1 to a Google Kubernetes

question 15

Multiple Choice

You've deployed a microservice called myapp1 to a Google Kubernetes Engine cluster using the YAML file specified below: 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? A)  Store the database password inside the Docker image of the container, not in the YAML file. B)  Store the database password inside a Secret object. Modify the YAML file to populate the DB_PASSWORD environment variable from the Secret. C)  Store the database password inside a ConfigMap object. Modify the YAML file to populate the DB_PASSWORD environment variable from the ConfigMap. D)  Store the database password in a file inside a Kubernetes persistent volume, and use a persistent volume claim to mount the volume to the container. 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?


Definitions:

Foot-In-The-Door Effect

A psychological phenomenon where agreeing to a small request increases the likelihood of agreeing to a larger request later.

Self-Perception Theory

A theory suggesting that individuals determine their attitudes and preferences by interpreting the meaning of their own behavior.

Social Facilitation Theory

Social facilitation theory posits that the presence of others significantly impacts an individual's performance, enhancing it on familiar or simple tasks but potentially impairing it on complex or new tasks.

Earned Income

Income generated from the sale of goods or services by an organization, as distinct from donations or grants.

Related Questions