Deployment and Orchestration of ML and AI Workflows

An inference container contains a vulnerable operating-system library inherited from its base image. A patched base image is available; how should the engineer produce a reproducible replacement?

Show the answer

Correct answerA. Rebuild from the patched base digest, test, and publish a versioned image.

AWhy this is right: A digest identifies the patched base precisely, and rebuilding incorporates its layers into a testable replacement.

BWhy not this: Model artifacts hold model data; changing them does not replace vulnerable operating-system image layers.

CWhy not this: Existing images retain their original layers; restarting containers does not rebuild those images.

DWhy not this: Interactive changes are not captured in the image build and disappear when containers are replaced.

Rebuilding from a patched base image pinned by digest produces a traceable replacement that can be tested and versioned. Moving a base-image tag does not change the layers already incorporated into an existing image.