AnyAirlines wants to create a new marketing campaign that sends customers special offers every
month based on their accrued loyalty points. There is an existing integration for customer data using
MuleSoft's API-led three-tier strategy. Loyalty information exists in an external system that can be
accessed via an HTTP endpoint provided by the system, but has no current integration. The external
ID used will be email address.
The desired output is a CSV file containing customers that includes only the top 10 percent of loyalty
point holders.
What is the most efficient way to meet this requirement?
A
Explanation:
Develop System API for Loyalty System: The first step is to develop a new System API that integrates
with the Loyalty system. This API will handle communication with the external system via the
provided HTTP endpoint.
Reference: MuleSoft API-led Connectivity
Utilize Existing Customer System API: Use the existing System API for customer data to retrieve
necessary customer information. Combining these APIs ensures a modular approach and reuse of
existing assets.
Reference: API-led Connectivity
Create Process API: Develop a Process API that combines data from both the Customer and Loyalty
System APIs. This API will process the data, apply business logic to filter the top 10 percent of loyalty
point holders, and format the results.
Reference: Designing Process APIs
Create Experience API: Develop an Experience API to serve the business consumers. This API will
provide a user-friendly interface for initiating the integration and retrieving the results as a CSV file.
Reference: API Experience Layer
AnyAirlines selected AWS Cloud services as their infrastructure platform. They need to implement
Anypoint Platform as the integration solution along with existing cloud capabilities like
vertical/horizontal scalability and zero downtime redeployments.
Which type of deployment strategy is needed?
B
Explanation:
Anypoint Runtime Fabric: Anypoint Runtime Fabric (RTF) is designed for deploying Mule
applications on any cloud infrastructure, including AWS. It supports vertical and horizontal scalability
and enables zero-downtime deployments, which aligns with AnyAirlines' requirements.
Reference: Anypoint Runtime Fabric Overview
Vertical/Horizontal Scalability: RTF allows scaling applications both vertically (adding more
resources to existing nodes) and horizontally (adding more nodes to the cluster). This ensures high
availability and performance.
Reference: Runtime Fabric Scalability
Zero Downtime Deployments: RTF supports zero-downtime deployments by utilizing rolling updates
and canary deployments, ensuring that updates do not disrupt ongoing operations.
Reference: Zero Downtime Deployment with RTF
AWS Integration: RTF can be deployed on AWS, leveraging existing cloud infrastructure capabilities
and providing a seamless integration experience.
Reference: Deploying RTF on AWS
Northern Trail Outfitters is developing an API that connects to a vendor's database.
Which two strategies should their Ops team use to monitor the overall health of the API and
database using API Functional Monitoring? (Choose two.)
B, D
Explanation:
Health-Check Endpoint: Creating and regularly calling a health-check endpoint is a common strategy
to ensure that the API and its underlying systems are operational. This endpoint typically performs
basic checks such as database connectivity and service availability.
Reference: Health Check Pattern
GET Call to Existing Endpoint: Making a GET call to an existing API endpoint and verifying that the
results match expected data helps ensure that the API is not only running but also functioning
correctly. This approach validates that the API can retrieve data from the database as intended.
Reference: API Monitoring Best Practices
Monitoring CloudHub Worker Logs: While monitoring logs can be useful, it is more of a reactive
approach. Proactive strategies like health-check endpoints and GET calls provide immediate
validation of the API’s operational status.
Reference: CloudHub Monitoring
Verifying Mule Worker Logs for Errors: This approach can complement health-check endpoints and
GET calls but should not be the primary strategy. Logs are helpful for diagnosing issues after they
occur rather than ensuring ongoing health.
Reference: Error Handling and Logging
A Salesforce administrator asks for advice on how to build their Salesforce flow. They need to
complete several DML actions as part of their Salesforce flow and are running into DML governor
limits during testing.
Which two pieces of advice should be given to the Salesforce administrator to improve their flow?
(Choose two.)
A, C
Explanation:
Avoid DML in For Loops: Placing DML (Data Manipulation Language) operations inside a loop can
quickly exceed Salesforce governor limits, as each iteration performs a separate DML operation. It's
best to collect records in a list and perform DML operations outside the loop.
Reference:
Salesforce Governor Limits
Use Collection Variables: By looping through a collection variable and adding records to it, you can
perform bulk DML operations, which are more efficient and less likely to hit governor limits.
Reference:
Apex Collections and Bulk Processing
Use Upsert Action: Using the upsert action can reduce the number of DML statements by combining
insert and update operations. However, this strategy depends on the specific flow requirements and
data structure.
Reference:
Salesforce Upsert Operation
DML Statements at the End: Consolidating DML operations to the end of the flow is advisable, but
care should be taken to handle errors and exceptions appropriately.
Reference:
Error Handling in Flows
AnyAirlines has MuleSoft Composer installed on their production Salesforce environment.
To test flows with data in multiple non-production environments, what does the hyperautomation
specialist need to do?
A
Explanation:
Create Connections: To test flows with data in multiple non-production environments, creating
connections to each environment within the MuleSoft Composer UI is necessary. This allows the
Composer to access and manipulate data across different environments, ensuring comprehensive
testing.
Reference: MuleSoft Composer Connections
Installing Composer in Non-Production Environments: While installing Composer in each
environment is technically possible, creating individual connections is more efficient and aligns with
best practices.
Reference: Composer Setup and Configuration
Using Mocked Data: Mocked data can be useful for initial testing, but connecting to actual non-
production environments provides more realistic test scenarios.
Reference: Testing with Mock Data
Proxy Setup: Creating a proxy to other environments is complex and unnecessary when Composer
supports direct connections.
Reference: Proxy Configuration
Northern Trail Outfitters is concerned about security in their Salesforce org regarding their newly
created hyperautomation flow that calls a MuleSoft API. A mechanism needs to be implemented that
restricts which users can invoke the flow.
Which setting is available to a hyperautomation practitioner that meets this security requirement?
C
Explanation:
Profiles and Permission Sets: Assigning the appropriate profile or permission set to users in the
connected app restricts access to the MuleSoft API. This method ensures that only authorized users
can invoke the hyperautomation flow.
Reference:
Salesforce Connected App Security
OAuth 2.0 Configuration: Configuring OAuth 2.0 is important for authentication, but it does not
directly control which users can invoke the flow. The profile or permission set is used to manage user
permissions.
Reference:
OAuth 2.0 Overview
External Service Permissions: Assigning permissions in the external service is less relevant than
managing permissions within Salesforce, where the flow is executed.
Reference:
External Services in Salesforce
Connected App Security: Properly securing the connected app by configuring user profiles and
permission sets ensures compliance with security policies and restricts access as required.
Reference:
Managing Access with Connected Apps
An RPA developer is building the implementation of an RPA process based on the BPMN created by a
colleague. In the BPMN, they see the symbol below:
What does the symbol represent?
B
Explanation:
Symbol Meaning: The symbol shown is a diamond with an "X" inside, which represents an exclusive
gateway in BPMN (Business Process Model and Notation). This gateway is used to control the flow of
the process based on certain conditions or circumstances.
Reference: BPMN Gateway Types
Exclusive Gateway: An exclusive gateway routes the process flow into one of several paths based on
conditions defined within the process model. Only one path is taken out of the gateway.
Reference: Exclusive Gateway Explanation
Usage in Process: When an exclusive gateway is encountered, the process evaluates the conditions
on each outgoing sequence flow and chooses the path that meets the conditions. This ensures
different activities are performed based on different circumstances.
Reference: BPMN Exclusive Gateway
A Salesforce admin for AnyAirlines constructs a MuleSoft Composer flow that retrieves a record
based on a unique ID using the Get Records action from a Salesforce connector. They will use the
result to send a Slack message.
How can they achieve this task?
D
Explanation:
Salesforce Action Step: Start by adding a Salesforce action step that uses the Get Records action to
retrieve the record based on a unique ID. This action retrieves the specific record needed.
Reference: MuleSoft Composer Salesforce Connector
Add Slack Action Step: After retrieving the record, add a Slack action step. This step will be used to
send the message to Slack.
Reference: MuleSoft Composer Slack Connector
Use the Record: Use the retrieved record directly to construct the message in the Slack action step.
This ensures the message contains the relevant information from the Salesforce record.
Reference: Building Messages in Composer
No Need for Collection Handling: Since the Get Records action retrieves a single record based on a
unique ID, there is no need to handle collections or iterate through records.
Reference: Get Records Action
Northern Trail Outfitters needs to develop an application network that follows a MuleSoft-
recommended, API-led connectivity approach and meets the following requirements:
provides data to mobile and web interfaces
aggregates and transforms data
retrieves data from databases
In which API tier should the data aggregation and transformation take place?
B
Explanation:
API-led Connectivity: MuleSoft’s API-led connectivity approach divides APIs into three tiers: System,
Process, and Experience. Each tier has a specific role in managing data and operations.
Reference: MuleSoft API-led Connectivity
Experience APIs: These APIs are designed to provide data to end-user interfaces, such as mobile and
web applications. They typically format the data in a way that is easy for the user interface to
consume.
Reference: Experience API Definition
Process APIs: Process APIs are responsible for orchestrating and executing business logic. They
aggregate, transform, and process data from multiple sources before passing it to Experience APIs or
other downstream systems.
Reference: Process API Role
System APIs: These APIs provide direct access to core systems and data sources. They handle CRUD
(Create, Read, Update, Delete) operations and expose data from underlying systems.
Reference: System API Role
Data Aggregation and Transformation: Given the requirements to aggregate and transform data, the
Process tier is the appropriate place. Process APIs handle complex business logic and data
transformation, making them ideal for aggregating data from multiple sources and transforming it as
needed.
Reference: Process APIs and Data Transformation
A Salesforce flow needs to connect to external APIs provided by Northern Trail Outfitters (NTO) and
AnyAirlines to retrieve data.
Which three steps should be taken to connect to the external APIs? (Choose three.)
A, B, E
Explanation:
To connect a Salesforce flow to external APIs, follow these steps:
Create Named Credentials in Salesforce:
Named Credentials in Salesforce simplify the authentication process by storing the URL and
authentication details needed to call the external service. Set up Named Credentials for both NTO
and AnyAirlines APIs.
Navigate to Salesforce Setup > Named Credentials > New Named Credential.
Enter the details for NTO API, including the endpoint URL and authentication settings.
Repeat the process for the AnyAirlines API.
Create External Services in Salesforce:
External Services allow you to register the external APIs with Salesforce so that they can be invoked
from a flow.
Navigate to Salesforce Setup > External Services > New External Service.
Use the OpenAPI/Swagger or RAML specification files provided by NTO and AnyAirlines to register
their APIs.
This step involves importing the API specifications and configuring the services, which will be used in
the flow.
Use an Action Element in Salesforce Flow:
Within Salesforce Flow, use the Action element to call the external services that were registered.
This involves adding an Action to your flow and selecting the appropriate External Service action that
corresponds to the API method you want to invoke.
Reference:
Salesforce External Services Documentation
Salesforce Named Credentials Documentation