MULESOFT-PLATFORM-ARCHITECT-I practice question 23 of 25

What API policy would be LEAST LIKELY used when designing an Experience API that is intended to work with a consumer mobile phone or tablet application?

Full set: 152 questions

Domain Delivering and Managing APIs

Answer options
A: OAuth 2.0 access token enforcement
B: Client ID enforcement
C: JSON threat protection
D: IPwhitellst Correct answer
Correct Answer:
D. IPwhitellst
Explanation

The IP whitelist policy restricts API access to a predefined list of trusted IP addresses. Consumer mobile and tablet applications connect to the internet from a wide variety of dynamic and unpredictable IP addresses, such as cellular networks and public Wi-Fi hotspots. Applying an IP whitelist would make the Experience API inaccessible to most of its intended users, as their IP addresses would not be on the approved list. Therefore, this policy is fundamentally impractical and the least likely to be used for an API designed for public consumer mobile access.

Why Incorrect

A. OAuth 2.0 is a standard for delegated authorization, highly suitable for mobile apps needing to access user-specific data securely without handling user credentials directly.
B. Client ID enforcement is a fundamental security measure used to ensure that only known, registered client applications can make requests to the API.
C. JSON threat protection is a crucial security policy that protects the API from denial-of-service attacks caused by malformed or malicious JSON payloads, which are common from public clients.

References

1. MuleSoft Documentation, "IP Allowlist Policy": "The IP Allowlist policy allows you to control access to an API from a specific set of IP addresses." This policy is intended for scenarios where the client's IP address is known and static, which is not the case for consumer mobile devices. (MuleSoft Docs > Anypoint Platform > API Manager > Policies > Included policies > IP Allowlist policy).

2. MuleSoft Documentation, "Client ID Enforcement Policy": "The Client ID enforcement policy requires applications to pass a client ID and client secret. This is the most basic authentication method." This is a standard first layer of security for identifying the calling application. (MuleSoft Docs > Anypoint Platform > API Manager > Policies > Included policies > Client ID enforcement policy).

3. MuleSoft Documentation, "OAuth 2.0 access token enforcement using Mule OAuth provider": "The OAuth 2.0 access token enforcement policy enables an API to be protected by the OAuth 2.0 protocol." This is the industry standard for securing APIs that provide access to a user's resources. (MuleSoft Docs > Anypoint Platform > API Manager > Policies > Included policies > OAuth 2.0 access token enforcement using Mule OAuth provider).

4. MuleSoft Documentation, "JSON Threat Protection Policy": "The JSON Threat Protection policy protects your API from malicious JSON code that can cause a denial of service." This is a recommended security practice for any API that accepts JSON payloads from external sources. (MuleSoft Docs > Anypoint Platform > API Manager > Policies > Included policies > JSON threat protection policy).

Scroll to Top