nerdexam
Google

PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #115

You are deploying an application to a Kubernetes cluster that requires a username and password to connect to another service. When you deploy the application, you want to ensure that the credentials a

Sign in or unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to reveal the answer and full explanation for question #115. The question stem and answer options stay visible for context.

Submitted by zhang_li· Apr 18, 2026Building and implementing CI/CD pipelines for a service

Question

You are deploying an application to a Kubernetes cluster that requires a username and password to connect to another service. When you deploy the application, you want to ensure that the credentials are used securely in multiple environments with minimal code changes. What should you do?

Options

  • ABundle the credentials with the code inside the container and secure the container registry.
  • BStore the credentials as a Kubernetes Secret and let the application access it via environment
  • CLeverage a CI/CD pipeline to update the variables at build time and inject them into a templated
  • DStore the credentials as a Kubernetes ConfigMap and let the application access it via

Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER questions. Unlock PROFESSIONAL-CLOUD-DEVOPS-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.

Topics

#Kubernetes Secrets#Security#Credential Management#Application Deployment
Full PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Practice