An EC2 Image Builder pipeline runs nightly but must create an AMI only when a newer parent image or component version is available. Its recipe currently pins every dependency to an exact version; which change meets the requirement?
Show the answer
Correct answerD. Use version-wildcard dependencies and configure the schedule to build only when dependency updates are available.
AWhy not this: Building at every scheduled execution creates images even when dependencies have not changed.
BWhy not this: Distribution events describe completed image delivery, not the availability of newer dependencies.
CWhy not this: Exact version pins prevent newer dependency versions from being selected.
DWhy this is right: Wildcards permit newer versions, while the dependency-update condition limits builds to eligible dependency changes.
Version wildcards let Image Builder resolve newer eligible dependencies, and the dependency-update schedule condition avoids unnecessary builds. Exact version pins prevent the recipe from selecting newer versions even when those versions exist.