Development with AWS Services

A product page retrieves essential product details and optional personalized recommendations from separate services. If recommendations are unavailable, which behavior BEST preserves the page's usefulness?

Show the answer

Correct answerB. Display product details without recommendations.

AWhy not this: Failing the whole page unnecessarily makes essential functionality depend on an optional service.

BWhy this is right: Returning essential details preserves useful functionality despite the optional service failure.

CWhy not this: Deferring the whole request does not provide the interactive product page the user needs.

DWhy not this: Waiting delays essential content because of an optional dependency.

Graceful degradation preserves essential functionality when an optional dependency fails. Waiting for recommendations makes an optional feature an availability dependency for the whole page.