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 questionsDomain Delivering and Managing APIs
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.
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.
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).
Keep practicing
Take the free MULESOFT-PLATFORM-ARCHITECT-I practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other MULESOFT-PLATFORM-ARCHITECT-I practice questions
- Question 1What are 4 important Platform Capabilities offered by Anypoint Platform?
- Question 2What is true about where an API policy is defined in Anypoint Platform and how it is then…
- Question 3Version 3.0.1 of a REST API implementation represents time values in PST time using ISO 8…
- Question 4When must an API implementation be deployed to an Anypoint VPC?
- Question 5An eCommerce company is adding a new Product Details feature to their website, A customer…
- Question 6An organization requires several APIs to be secured with OAuth 2.0, and PingFederate has …
