ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 25 - MCD - Level 2 discussion

Report
Export

A healthcare portal needs to validate the token that it sends to a Mule API. The developer plans to implement a custom policy using the HTTP Policy Transform Extension to match the token received in the header from the heathcare portal.

Which files does the developer need to create in order to package the custom policy?

A.
Deployable ZIP file, YAML configuration file
Answers
A.
Deployable ZIP file, YAML configuration file
B.
JSON properties file, YAML configuration file
Answers
B.
JSON properties file, YAML configuration file
C.
JSON properties file, XML template file
Answers
C.
JSON properties file, XML template file
D.
XML template file, YAML configuration file
Answers
D.
XML template file, YAML configuration file
Suggested answer: D

Explanation:

To package a custom policy using the HTTP Policy Transform Extension, the developer needs to create an XML template file and a YAML configuration file. The XML template file defines the policy logic using Mule components and placeholders for user-defined properties. The YAML configuration file defines the metadata of the policy, such as its name, description, category, parameters, and dependencies.

Reference: https://docs.mulesoft.com/api-manager/2.x/http-policy-transform#packaging-the-policy

asked 18/09/2024
Carlos Fonseca
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first