<< Prev Question Next Question >>

Question 12/28

Refer to the exhibit.

A shopping cart checkout process consists of a web store backend sending a sequence of API invocations to an Experience API, which in turn invokes a Process API. All API invocations are over HTTPS POST. The Java web store backend executes in a Java EE application server, while all API implementations are Mule applications executing in a customer -hosted Mule runtime.
End-to-end correlation of all HTTP requests and responses belonging to each individual checkout Instance is required. This is to be done through a common correlation ID, so that all log entries written by the web store backend, Experience API implementation, and Process API implementation include the same correlation ID for all requests and responses belonging to the same checkout instance.
What is the most efficient way (using the least amount of custom coding or configuration) for the web store backend and the implementations of the Experience API and Process API to participate in end-to-end correlation of the API invocations for each checkout instance?
A)
The web store backend, being a Java EE application, automatically makes use of the thread-local correlation ID generated by the Java EE application server and automatically transmits that to the Experience API using HTTP-standard headers No special code or configuration is included in the web store backend, Experience API, and Process API implementations to generate and manage the correlation ID

B)
The web store backend generates a new correlation ID value at the start of checkout and sets it on the X-CORRELATlON-lt HTTP request header In each API invocation belonging to that checkout No special code or configuration is included in the Experience API and Process API implementations to generate and manage the correlation ID

C)
The Experience API implementation generates a correlation ID for each incoming HTTP request and passes it to the web store backend in the HTTP response, which includes it in all subsequent API invocations to the Experience API.
The Experience API implementation must be coded to also propagate the correlation ID to the Process API in a suitable HTTP request header

D)
The web store backend sends a correlation ID value in the HTTP request body In the way required by the Experience API The Experience API and Process API implementations must be coded to receive the custom correlation ID In the HTTP requests and propagate It in suitable HTTP request headers

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (28q)
Question 1: A Mule application is being designed to do the following: St...
Question 2: An Order microservice and a Fulfillment microservice are bei...
Question 3: Anypoint Exchange is required to maintain the source code of...
Question 4: An external REST client periodically sends an array of recor...
Question 5: What Anypoint Connectors support transactions?...
Question 6: An API has been unit tested and is ready for integration tes...
Question 7: A Mule application is being designed To receive nightly a CS...
Question 8: What requires configuration of both a key store and a trust ...
Question 9: What operation can be performed through a JMX agent enabled ...
Question 10: An organization is sizing an Anypoint VPC to extend their in...
Question 11: A Mule application currently writes to two separate SQL Serv...
Question 12: Refer to the exhibit. (Exhibit) A shopping cart checkout pro...
Question 13: An organization's security policies mandate complete control...
Question 14: Refer to the exhibit. (Exhibit) A business process involves ...
Question 15: A mule application uses an HTTP request operation to involve...
Question 16: A mule application is deployed to a Single Cloudhub worker a...
Question 17: What metrics about API invocations are available for visuali...
Question 18: What is required before an API implemented using the compone...
Question 19: Refer to the exhibit. (Exhibit) One of the backend systems i...
Question 20: An organization is evaluating using the CloudHub shared Load...
Question 21: Mule applications need to be deployed to CloudHub so they ca...
Question 22: Refer to the exhibit. (Exhibit) Anypoint Platform supports r...
Question 23: Refer to the exhibit. (Exhibit) A business process involves ...
Question 24: A retailer is designing a data exchange interface to be used...
Question 25: Refer to the exhibit. An organization is designing a Mule ap...
Question 26: A global organization operates datacenters in many countries...
Question 27: An organization uses a set of customer-hosted Mule runtimes ...
Question 28: An organization is designing the following two Mule applicat...