Salesforce Certified MuleSoft Integration Foundations Mule-101 Exam Questions

Page: 1 / 14
Total 55 questions
Question 1

Refer to the exhibit. What is the type of data format shown in the exhibit?

YAML

text

traits:

error-responses: traits/error-responses.raml

jwt-required:

headers:

x-jwt:

type: string

description: JWT token string



Answer : C

YAML (YAML Ain't Markup Language): The snippet provided uses indentation (whitespace) to denote structure and colons to separate keys from values. This is the signature syntax of YAML.

RAML Context: MuleSoft's RAML (RESTful API Modeling Language) is built on top of YAML1. Therefore, any RAML specification is technically a YAML file.

Why others are incorrect:

JSON: Uses curly braces {} and quotes '' strictly.

XML: Uses angle brackets <tag></tag>.

CSV: Uses comma-separated values.


Question 2

During a planning session with the executive leadership, the development team director presents plans for a new API to expose the data in the company's order database. An earlier effort to build an API on top of this data failed, so the director is recommending a design-first approach.



Answer : A

Design-First Approach: This methodology prioritizes creating the API contract (RAML/OAS) before writing any code19.

The Benefit: By defining the specification first and publishing it to Exchange (often with a Mocking Service), API consumers (frontend developers or other teams) can test and provide feedback on the design immediately. 20This ensures the API meets business needs before the expensive work of backend implementation begins, preventing the failure described in the scenario2122.23

Why others are incorrect:

Publishing fully implemented API (C): This is a 'Code-First' approach (build first, share later).

Global Policies (B): Relates to governance, not the design methodology.


Question 3

According to MuleSoft's API development best practices, which type of API development approach starts with writing and approving an API contract?



Answer : C

Design-First: This approach dictates that the API Contract (the Specification, e.g., RAML/OAS) must be written, reviewed, and approved before any implementation code is written11.

The Contract: The 'Contract' serves as the agreement between the API provider and the consumer.

Why others are incorrect:

Implement-first: You write the code (Mule flows) first, and the contract is generated from the code (or ignored).

Catalyst: Is a broader delivery methodology, not specifically the 'Contract-first' technical approach.


Question 4

A developer is examining the responses from a RESTful web service that is compliant with the Hypertext Transfer Protocol (HTTP/1.1) as defined by the Internet Engineering Task Force (IETF). 13

(The question asks to identify the code class for success)



Answer : B

Comprehensive and Detailed Explanation:

HTTP Status Codes: Understanding these is fundamental to MuleSoft integration.

2xx (Success - Answer B): The request was received, understood, and accepted. (e.g., 200 OK, 201 Created, 202 Accepted).

3xx (Redirection): Further action needs to be taken to complete the request (e.g., 301 Moved Permanently).

4xx (Client Error): The request contains bad syntax or cannot be fulfilled (e.g., 400 Bad Request, 401 Unauthorized, 404 Not Found).

5xx (Server Error): The server failed to fulfill an apparently valid request (e.g., 500 Internal Server Error, 502 Bad Gateway).

Context: When a Mule flow makes an HTTP Request, it checks these status codes to determine if the On Error scope should be triggered. By default, 4xx and 5xx trigger errors; 2xx indicates success.


Question 5

A developer needs to discover which API specifications have been created within the organization before starting a new project.



Answer : C

4

Anypoint Exchange: This is the central repository and knowledge base o5f the Anypoint Platform. It is designed specifically for Discovery and Reuse. 6

The Workflow: Before building a new integration, a developer searches Exchange to see if an Asset (API Specification, Fragment, Connector, or Template) already exists. This prevents duplication of effort---a core tenet of the API-led connectivity approach.

Why others are incorrect:

Runtime Manager: Used for deploying and monitoring running applications.

API Manager: Used for applying policies and governing APIs, not primarily for discovery by developers.

Object Store: A mechanism for storing data/state within a Mule application.


Question 6

According to the Internet Engineering Task Force (IETF), which supporting protocol does File Transfer Protocol (FTP) use for reliable communication?



Answer : B

TCP (Transmission Control Protocol): FTP is an application-layer protocol that relies on TCP at the transport layer to ensure reliable, ordered, and error-checked delivery of a stream of bytes12.

Mechanism: FTP establishes two TCP connections: one for control (commands) and one for data transfer.

Why others are incorrect:

UDP: Is unreliable (best effort).

HTTP: Is an alternative application protocol, not the transport layer for FTP.

LDAP: Is for directories.


Question 7

What is an advantage of using OAuth 2.0 client credentials and access tokens over only API keys for API authentication?



Answer : A

Security Mechanisms:

API Keys (Client ID/Secret): These are static, long-lived credentials. If a Client Secret is stolen, you must reset it, update the application code, and redeploy---a painful process.

OAuth 2.0 (Access Tokens): The client uses the ID/Secret to request a temporary Access Token (TTL of usually 15-60 minutes).

The Advantage: The API client sends the token (not the secret) in the header. If this token is intercepted/compromised, it will expire shortly. The attacker cannot generate new tokens without the original Client Secret. Therefore, the underlying credentials remain safe, and you do not need to reissue them.


Page:    1 / 14   
Total 55 questions