ExamGecko
Home Home / Salesforce / Certified MuleSoft Platform Architect I

Salesforce Certified MuleSoft Platform Architect I Practice Test - Questions Answers, Page 9

Question list
Search
Search

List of questions

Search

Related questions











An API has been updated in Anypoint exchange by its API producer from version 3.1.1 to 3.2.0 following accepted semantic versioning practices and the changes have been communicated via the APIs public portal. The API endpoint does NOT change in the new version. How should the developer of an API client respond to this change?

A.
The API producer should be requested to run the old version in parallel with the new one
A.
The API producer should be requested to run the old version in parallel with the new one
Answers
B.
The API producer should be contacted to understand the change to existing functionality
B.
The API producer should be contacted to understand the change to existing functionality
Answers
C.
The API client code only needs to be changed if it needs to take advantage of the new features
C.
The API client code only needs to be changed if it needs to take advantage of the new features
Answers
D.
The API clients need to update the code on their side and need to do full regression
D.
The API clients need to update the code on their side and need to do full regression
Answers
Suggested answer: C

Question 10: Skipped

An API implementation returns three X-RateLimit-* HTTP response headers to a requesting API client. What type of information do these response headers indicate to the API client?

A.
The error codes that result from throttling
A.
The error codes that result from throttling
Answers
B.
A correlation ID that should be sent in the next request
B.
A correlation ID that should be sent in the next request
Answers
C.
The HTTP response size
C.
The HTTP response size
Answers
D.
The remaining capacity allowed by the API implementation
D.
The remaining capacity allowed by the API implementation
Answers
Suggested answer: D

Explanation:

The remaining capacity allowed by the API implementation. >>

Reference: https://docs.mulesoft.com/api-manager/2.x/rate-limiting-and-throttling-sla-based-policies#response-headers

A retail company with thousands of stores has an API to receive data about purchases and insert it into a single database. Each individual store sends a batch of purchase data to the API about every 30 minutes. The API implementation uses a database bulk insert command to submit all the purchase data to a database using a custom JDBC driver provided by a data analytics solution provider. The API implementation is deployed to a single CloudHub worker. The JDBC driver processes the data into a set of several temporary disk files on the CloudHub worker, and then the data is sent to an analytics engine using a proprietary protocol. This process usually takes less than a few minutes. Sometimes a request fails. In this case, the logs show a message from the JDBC driver indicating an out-of-file-space message. When the request is resubmitted, it is successful. What is the best way to try to resolve this throughput issue?

A.
se a CloudHub autoscaling policy to add CloudHub workers
A.
se a CloudHub autoscaling policy to add CloudHub workers
Answers
B.
Use a CloudHub autoscaling policy to increase the size of the CloudHub worker
B.
Use a CloudHub autoscaling policy to increase the size of the CloudHub worker
Answers
C.
Increase the size of the CloudHub worker(s)
C.
Increase the size of the CloudHub worker(s)
Answers
D.
Increase the number of CloudHub workers
D.
Increase the number of CloudHub workers
Answers
Suggested answer: D

Explanation:

Increase the size of the CloudHub worker(s) The key details that we can take out from the given scenario are:>> API implementation uses a database bulk insert command to submit all the purchase data to a database>> JDBC driver processes the data into a set of several temporary disk files on the CloudHub worker>> Sometimes a request fails and the logs show a message indicating an out-of-file-space messageBased on above details:>> Both auto-scaling options does NOT help because we cannot set auto-scaling rules based on error messages. Auto-scaling rules are kicked-off based on CPU/Memory usages and not due to some given error or disk space issues.>> Increasing the number of CloudHub workers also does NOT help here because the reason for the failure is not due to performance aspects w.r.t CPU or Memory. It is due to disk-space.>> Moreover, the API is doing bulk insert to submit the received batch data. Which means, all data is handled by ONE worker only at a time. So, the disk space issue should be tackled on 'per worker' basis. Having multiple workers does not help as the batch may still fail on any worker when disk is out of space on that particular worker.Therefore, the right way to deal this issue and resolve this is to increase the vCore size of the worker so that a new worker with more disk space will be provisioned.

Due to a limitation in the backend system, a system API can only handle up to 500 requests per second. What is the best type of API policy to apply to the system API to avoid overloading the backend system?

A.
Rate limiting
A.
Rate limiting
Answers
B.
HTTP caching
B.
HTTP caching
Answers
C.
Rate limiting - SLA based
C.
Rate limiting - SLA based
Answers
D.
Spike control
D.
Spike control
Answers
Suggested answer: D

Explanation:

Spike control >> First things first, HTTP Caching policy is for purposes different than avoiding the backend system from overloading. So this is OUT.>> Rate Limiting and Throttling/ Spike Control policies are designed to limit API access, but have different intentions.>> Rate limiting protects an API by applying a hard limit on its access.>> Throttling/ Spike Control shapes API access by smoothing spikes in traffic.That is why, Spike Control is the right option.

A company has created a successful enterprise data model (EDM). The company is committed to building an application network by adopting modern APIs as a core enabler of the company's IT operating model. At what API tiers (experience, process, system) should the company require reusing the EDM when designing modern API data models?

A.
At the experience and process tiers
A.
At the experience and process tiers
Answers
B.
At the experience and system tiers
B.
At the experience and system tiers
Answers
C.
At the process and system tiers
C.
At the process and system tiers
Answers
D.
At the experience, process, and system tiers
D.
At the experience, process, and system tiers
Answers
Suggested answer: C

Explanation:

At the process and system tiers >> Experience Layer APIs are modeled and designed exclusively for the end user's experience. So, the data models of experience layer vary based on the nature and type of such API consumer. For example, Mobile consumers will need light-weight data models to transfer with ease on the wire, where as web-based consumers will need detailed data models to render most of the info on web pages, so on. So, enterprise data models fit for the purpose of canonical models but not of good use for experience APIs.>> That is why, EDMs should be used extensively in process and system tiers but NOT in experience tier.

The application network is recomposable: it is built for change because it 'bends but does not break'

A.
TRUE
A.
TRUE
Answers
B.
FALSE
B.
FALSE
Answers
Suggested answer: A

Explanation:

>> Application Network is a disposable architecture.

>> Which means, it can be altered without disturbing entire architecture and its components.

>> It bends as per requirements or design changes but does not break

A system API has a guaranteed SLA of 100 ms per request. The system API is deployed to a primary environment as well as to a disaster recovery (DR) environment, with different DNS names in each environment. An upstream process API invokes the system API and the main goal of this process API is to respond to client requests in the least possible time. In what order should the system APIs be invoked, and what changes should be made in order to speed up the response time for requests from the process API?

A.
In parallel, invoke the system API deployed to the primary environment and the system API deployed to the DR environment, and ONLY use the first response
A.
In parallel, invoke the system API deployed to the primary environment and the system API deployed to the DR environment, and ONLY use the first response
Answers
B.
In parallel, invoke the system API deployed to the primary environment and the system API deployed to the DR environment using a scatter-gather configured with a timeout, and then merge the responses
B.
In parallel, invoke the system API deployed to the primary environment and the system API deployed to the DR environment using a scatter-gather configured with a timeout, and then merge the responses
Answers
C.
Invoke the system API deployed to the primary environment, and if it fails, invoke the system API deployed to the DR environment
C.
Invoke the system API deployed to the primary environment, and if it fails, invoke the system API deployed to the DR environment
Answers
D.
Invoke ONLY the system API deployed to the primary environment, and add timeout and retry logic to avoid intermittent failures
D.
Invoke ONLY the system API deployed to the primary environment, and add timeout and retry logic to avoid intermittent failures
Answers
Suggested answer: A

Explanation:

In parallel, invoke the system API deployed to the primary environment and the system API deployed to the DR environment, and ONLY use the first response. >> The API requirement in the given scenario is to respond in least possible time.>> The option that is suggesting to first try the API in primary environment and then fallback to API in DR environment would result in successful response but NOT in least possible time. So, this is NOT a right choice of implementation for given requirement.>> Another option that is suggesting to ONLY invoke API in primary environment and to add timeout and retries may also result in successful response upon retries but NOT in least possible time. So, this is also NOT a right choice of implementation for given requirement.>> One more option that is suggesting to invoke API in primary environment and API in DR environment in parallel using Scatter-Gather would result in wrong API response as it would return merged results and moreover, Scatter-Gather does things in parallel which is true but still completes its scope only on finishing all routes inside it. So again, NOT a right choice of implementation for given requirementThe Correct choice is to invoke the API in primary environment and the API in DR environment parallelly, and using ONLY the first response received from one of them.

Which of the following best fits the definition of API-led connectivity?

A.
API-led connectivity is not just an architecture or technology but also a way to organize people and processes for efficient IT delivery in the organization
A.
API-led connectivity is not just an architecture or technology but also a way to organize people and processes for efficient IT delivery in the organization
Answers
B.
API-led connectivity is a 3-layered architecture covering Experience, Process and System layers
B.
API-led connectivity is a 3-layered architecture covering Experience, Process and System layers
Answers
C.
API-led connectivity is a technology which enabled us to implement Experience, Process and System layer based APIs
C.
API-led connectivity is a technology which enabled us to implement Experience, Process and System layer based APIs
Answers
Suggested answer: A

Explanation:

API-led connectivity is not just an architecture or technology but also a way to organize people and processes for efficient IT delivery in the organization.

What are the major benefits of MuleSoft proposed IT Operating Model?

A.
1. Decrease the IT delivery gap 2. Meet various business demands without increasing the IT capacity 3. Focus on creation of reusable assets first. Upon finishing creation of all the possible assets then inform the LOBs in the organization to start using them
A.
1. Decrease the IT delivery gap 2. Meet various business demands without increasing the IT capacity 3. Focus on creation of reusable assets first. Upon finishing creation of all the possible assets then inform the LOBs in the organization to start using them
Answers
B.
1. Decrease the IT delivery gap 2. Meet various business demands by increasing the IT capacity and forming various IT departments 3. Make consumption of assets at the rate of production
B.
1. Decrease the IT delivery gap 2. Meet various business demands by increasing the IT capacity and forming various IT departments 3. Make consumption of assets at the rate of production
Answers
C.
1. Decrease the IT delivery gap 2. Meet various business demands without increasing the IT capacity 3. Make consumption of assets at the rate of production
C.
1. Decrease the IT delivery gap 2. Meet various business demands without increasing the IT capacity 3. Make consumption of assets at the rate of production
Answers
Suggested answer: C

Explanation:

1. Decrease the IT delivery gap2. Meet various business demands without increasing the IT capacity3. Make consumption of assets at the rate of production.

A Mule application exposes an HTTPS endpoint and is deployed to three CloudHub workers that do not use static IP addresses. The Mule application expects a high volume of client requests in short time periods. What is the most cost-effective infrastructure component that should be used to serve the high volume of client requests?

A.
A customer-hosted load balancer
A.
A customer-hosted load balancer
Answers
B.
The CloudHub shared load balancer
B.
The CloudHub shared load balancer
Answers
C.
An API proxy
C.
An API proxy
Answers
D.
Runtime Manager autoscaling
D.
Runtime Manager autoscaling
Answers
Suggested answer: B

Explanation:

The CloudHub shared load balancer The scenario in this question can be split as below:>> There are 3 CloudHub workers (So, there are already good number of workers to handle high volume of requests)>> The workers are not using static IP addresses (So, one CANNOT use customer load-balancing solutions without static IPs)>> Looking for most cost-effective component to load balance the client requests among the workers.Based on the above details given in the scenario:>> Runtime autoscaling is NOT at all cost-effective as it incurs extra cost. Most over, there are already 3 workers running which is a good number.>> We cannot go for a customer-hosted load balancer as it is also NOT most cost-effective (needs custom load balancer to maintain and licensing) and same time the Mule App is not having Static IP Addresses which limits from going with custom load balancing.>> An API Proxy is irrelevant there as it has no role to play w.r.t handling high volumes or load balancing.So, the only right option to go with and fits the purpose of scenario being most cost-effective is - using a CloudHub Shared Load Balancer.

Total 95 questions
Go to page: of 10