QuestionQ1Verified/Kubernetes FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhat is a key consideration when selecting a base image for a container in a Kubernetes deployment?AIt should be the largest available image to ensure all dependencies are included.BIt should always be the latest version to ensure access to the newest features.CIt should be minimal and purpose-built for the application to reduce attack surface and improve performance.DIt can be any existing image from the public repository without consideration of its contents.Show AnswerAnswerExplanationA container image should contain the bare minimum needed to run its packaged program: ideally only the application and its dependencies, built from the smallest suitable base image. This minimizes unnecessary content and reduces exposure to vulnerabilities; smaller images can also improve deployment efficiency. Kubernetes documentation also advises against relying on the :latest tag in production because it makes running versions and rollbacks harder to track.Learn moreKubernetes Security ChecklistKubernetes ImagesShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion