Policies consist of what two components?

Prepare for the MuleSoft Developer 2 Certification Exam. Access practice quizzes featuring flashcards and multiple choice questions with explanations. Get confident and ready for your certification success!

Multiple Choice

Policies consist of what two components?

Explanation:
Policies are packaged as a runtime artifact plus a descriptor. The deployable JAR contains the policy’s implementation code that runs in the policy engine, while the accompanying YAML configuration file describes the policy’s metadata, parameters, and how it should be applied to APIs. Together, they let the platform load, configure, and enforce the policy. Other packaging options don’t fit this model because they don’t provide both the executable policy logic and the defining descriptor in the required format.

Policies are packaged as a runtime artifact plus a descriptor. The deployable JAR contains the policy’s implementation code that runs in the policy engine, while the accompanying YAML configuration file describes the policy’s metadata, parameters, and how it should be applied to APIs. Together, they let the platform load, configure, and enforce the policy. Other packaging options don’t fit this model because they don’t provide both the executable policy logic and the defining descriptor in the required format.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy