Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

What is the purpose of an ImageStream in OpenShift, and how does it relate to external images?

ImageStream is a way to reference container images inside OpenShift with a stable, internal name that tracks image tags. It doesn’t store the image itself on disk; instead, it holds metadata and tags that point to images in external registries. By importing external images into an ImageStream, you can reference them in pod specs or deployment configs using the stream’s tag (such as an ImageStreamTag), which lets OpenShift pull the image from the registry when needed. This abstraction decouples your application from the exact registry location and enables automatic imports and image-change triggers—so when the external image updates, OpenShift can detect the change, pull the new image, and trigger a deployment or build if configured. The ImageStream’s role is not about disk storage, TLS for Routes, or network policies, but about providing a manageable, trackable reference to images from various registries.

ImageStream is a way to reference container images inside OpenShift with a stable, internal name that tracks image tags. It doesn’t store the image itself on disk; instead, it holds metadata and tags that point to images in external registries. By importing external images into an ImageStream, you can reference them in pod specs or deployment configs using the stream’s tag (such as an ImageStreamTag), which lets OpenShift pull the image from the registry when needed. This abstraction decouples your application from the exact registry location and enables automatic imports and image-change triggers—so when the external image updates, OpenShift can detect the change, pull the new image, and trigger a deployment or build if configured. The ImageStream’s role is not about disk storage, TLS for Routes, or network policies, but about providing a manageable, trackable reference to images from various registries.