ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 8 - MCD - Level 2 discussion

Report
Export

The flow is invoicing a target API. The API's protocol is HTTPS. The TLS configuration in the HTTP Request Configuration global element is set to None. A web client submits a request to http:localhost:8081/vehicles.

If the certificate of the target API is signed by a certificate authority (CA), what is true about the HTTP Request operation when the flow executes?

A.
The HTTP Request operation will succeed if the CA'S certificate is present in the JRE's default keystore
Answers
A.
The HTTP Request operation will succeed if the CA'S certificate is present in the JRE's default keystore
B.
The HTTP Request operation will succeed if the CA's certificate is present in the JRE's default truststore.
Answers
B.
The HTTP Request operation will succeed if the CA's certificate is present in the JRE's default truststore.
C.
The HTTP Request operation will always succeed regardless of the CA
Answers
C.
The HTTP Request operation will always succeed regardless of the CA
D.
The HTTP Request operation will always fail regardless of the CA
Answers
D.
The HTTP Request operation will always fail regardless of the CA
Suggested answer: B

Explanation:

The HTTP Request operation will use the default truststore of the JRE to validate the certificate of the target API. If the CA's certificate is present in the truststore, the operation will succeed. Otherwise, it will fail with a handshake exception.

Reference: https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#tls-default

asked 18/09/2024
Mohammad Wahid
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first