最新の2022年04月 MuleSoft MCPA-Level-1問題集で更新された97問あります [Q23-Q46]

Share

最新の2022年04月 MuleSoft MCPA-Level-1問題集で更新された97問あります

PDF無料ダウンロードにはMCPA-Level-1有効な練習テスト問題

質問 23
An Anypoint Platform organization has been configured with an external identity provider (IdP) for identity management and client management. What credentials or token must be provided to Anypoint CLI to execute commands against the Anypoint Platform APIs?

  • A. The credentials provided by the IdP for client management
  • B. The credentials provided by the IdP for identity management
  • C. An OAuth 2.0 token generated using the credentials provided by the IdP for client management
  • D. An OAuth 2.0 token generated using the credentials provided by the IdP for identity management

正解: B

解説:
Correct answer: The credentials provided by the IdP for identity management
*****************************************
Reference:
>> There is no support for OAuth 2.0 tokens from client/identity providers to authenticate via Anypoint CLI. Only possible tokens are "bearer tokens" that too only generated using Anypoint Organization/Environment Client Id and Secret from https://anypoint.mulesoft.com/accounts/login. Not the client credentials of client provider. So, OAuth 2.0 is not possible. More over, the token is mainly for API Manager purposes and not associated with a user. You can NOT use it to call most APIs (for example Cloudhub and etc) as per this Mulesoft Knowledge article.
>> The other option allowed by Anypoint CLI is to use client credentials. It is possible to use client credentials of a client provider but requires setting up Connected Apps in client management but such details are not given in the scenario explained in the question.
>> So only option left is to use user credentials from identify provider

 

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

  • A. API-led connectivity is a 3-layered architecture covering Experience, Process and System layers
  • B. API-led connectivity is a technology which enabled us to implement Experience, Process and System layer based APIs
  • C. 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

正解: C

解説:
Correct answer: 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.
*****************************************
Reference:

 

質問 25
Refer to the exhibit.

An organization uses one specific CloudHub (AWS) region for all CloudHub deployments.
How are CloudHub workers assigned to availability zones (AZs) when the organization's Mule applications are deployed to CloudHub in that region?

  • A. Workers are randomly distributed across available AZs within that region
  • B. AZs are selected as part of the Mule application's deployment configuration
  • C. Workers belonging to a given environment are assigned to the same AZ within that region
  • D. An AZ is randomly selected for a Mule application, and all the Mule application's CloudHub workers are assigned to that one AZ

正解: D

 

質問 26
What is most likely NOT a characteristic of an integration test for a REST API implementation?

  • A. The test is triggered by an external HTTP request
  • B. The test needs all source and/or target systems configured and accessible
  • C. The test prepares a known request payload and validates the response payload
  • D. The test runs immediately after the Mule application has been compiled and packaged

正解: D

解説:
Correct answer: The test runs immediately after the Mule application has been compiled and packaged
*****************************************
>> Integration tests are the last layer of tests we need to add to be fully covered.
>> These tests actually run against Mule running with your full configuration in place and are tested from external source as they work in PROD.
>> These tests exercise the application as a whole with actual transports enabled. So, external systems are affected when these tests run.
So, these tests do NOT run immediately after the Mule application has been compiled and packaged.
FYI... Unit Tests are the one that run immediately after the Mule application has been compiled and packaged.

 

質問 27
When designing an upstream API and its implementation, the development team has been advised to NOT set timeouts when invoking a downstream API, because that downstream API has no SLA that can be relied upon. This is the only downstream API dependency of that upstream API.
Assume the downstream API runs uninterrupted without crashing. What is the impact of this advice?

  • A. A toad-dependent timeout of less than 1000 ms will be applied by the Mule runtime in which the downstream API implementation executes
  • B. An SLA for the upstream API CANNOT be provided
  • C. The invocation of the downstream API will run to completion without timing out
  • D. A default timeout of 500 ms will automatically be applied by the Mule runtime in which the upstream API implementation executes

正解: B

解説:
Correct answer: An SLA for the upstream API CANNOT be provided.
*****************************************
>> First thing first, the default HTTP response timeout for HTTP connector is 10000 ms (10 seconds). NOT 500 ms.
>> Mule runtime does NOT apply any such "load-dependent" timeouts. There is no such behavior currently in Mule.
>> As there is default 10000 ms time out for HTTP connector, we CANNOT always guarantee that the invocation of the downstream API will run to completion without timing out due to its unreliable SLA times. If the response time crosses 10 seconds then the request may time out.
The main impact due to this is that a proper SLA for the upstream API CANNOT be provided.

 

質問 28
What Mule application can have API policies applied by
Anypoint Platform to the endpoint exposed by that Mule application?
A) A Mule application that accepts requests over HTTP/1.x

B) A Mule application that accepts JSON requests over TCP but is NOT required to provide a response

C) A Mute application that accepts JSON requests over WebSocket

D) A Mule application that accepts gRPC requests over HTTP/2

  • A. Option D
  • B. Option C
  • C. Option B
  • D. Option A

正解: D

解説:
Correct answer: Option A
*****************************************
>> Anypoint API Manager and API policies are applicable to all types of HTTP/1.x APIs.
>> They are not applicable to WebSocket APIs, HTTP/2 APIs and gRPC APIs

 

質問 29
Refer to the exhibit.

What is a valid API in the sense of API-led connectivity and application networks?

  • A. XML over UDP
  • B. XML over HTTP
  • C. CORBA over IIOP
  • D. Java RMI over TCP

正解: B

 

質問 30
Refer to the exhibit.

A developer is building a client application to invoke an API deployed to the STAGING environment that is governed by a client ID enforcement policy.
What is required to successfully invoke the API?

  • A. A valid OAuth token obtained from Anypoint Platform and its associated client ID and secret
  • B. The client ID and secret for the Anypoint Platform account owning the API in the STAGING environment
  • C. The client ID and secret for the Anypoint Platform account's STAGING environment
  • D. The client ID and secret obtained from Anypoint Exchange for the API instance in the STAGING environment

正解: A

解説:
Explanation
https://docs.mulesoft.com/api-manager/2.x/policy-mule3-client-id-based-policies

 

質問 31
An API implementation is deployed on a single worker on CloudHub and invoked by external API clients (outside of CloudHub). How can an alert be set up that is guaranteed to trigger AS SOON AS that API implementation stops responding to API invocations?

  • A. Implement a heartbeat/health check within the API and invoke it from outside the Anypoint Platform and alert when the heartbeat does not respond
  • B. Configure a "worker not responding" alert in Anypoint Runtime Manager
  • C. Create an alert for when the API receives no requests within a specified time period
  • D. Handle API invocation exceptions within the calling API client and raise an alert from that API client when the API Is unavailable

正解: A

 

質問 32
A code-centric API documentation environment should allow API consumers to investigate and execute API client source code that demonstrates invoking one or more APIs as part of representative scenarios.
What is the most effective way to provide this type of code-centric API documentation environment using Anypoint Platform?

  • A. Make relevant APIs discoverable via an Anypoint Exchange entry
  • B. Create API Notebooks and include them in the relevant Anypoint Exchange entries
  • C. Enable mocking services for each of the relevant APIs and expose them via their Anypoint Exchange entry
  • D. Ensure the APIs are well documented through their Anypoint Exchange entries and API Consoles and share these pages with all API consumers

正解: B

解説:
Correct answer: Create API Notebooks and Include them in the relevant Anypoint exchange entries
*****************************************
>> API Notebooks are the one on Anypoint Platform that enable us to provide code-centric API documentation Reference:

 

質問 33
An organization is implementing a Quote of the Day API that caches today's quote.
What scenario can use the GoudHub Object Store via the Object Store connector to persist the cache's state?

  • A. When there is one CloudHub deployment of the API implementation to three CloudHub workers that must share the cache state
  • B. When there are two CloudHub deployments of the API implementation by two Anypoint Platform business groups to the same CloudHub region that must share the cache state
  • C. When there is one deployment of the API implementation to CloudHub and anottV deployment to a customer-hosted Mule runtime that must share the cache state
  • D. When there are three CloudHub deployments of the API implementation to three separate CloudHub regions that must share the cache state

正解: C

 

質問 34
An organization uses various cloud-based SaaS systems and multiple on-premises systems. The on-premises systems are an important part of the organization's application network and can only be accessed from within the organization's intranet.
What is the best way to configure and use Anypoint Platform to support integrations with both the cloud-based SaaS systems and on-premises systems?
A) Use CloudHub-deployed Mule runtimes in an Anypoint VPC managed by Anypoint Platform Private Cloud Edition control plane

B) Use CloudHub-deployed Mule runtimes in the shared worker cloud managed by the MuleSoft-hosted Anypoint Platform control plane

C) Use an on-premises installation of Mule runtimes that are completely isolated with NO external network access, managed by the Anypoint Platform Private Cloud Edition control plane

D) Use a combination of Cloud Hub-deployed and manually provisioned on-premises Mule runtimes managed by the MuleSoft-hosted Anypoint Platform control plane

  • A. Option D
  • B. Option C
  • C. Option B
  • D. Option A

正解: D

 

質問 35
The implementation of a Process API must change.
What is a valid approach that minimizes the impact of this change on API clients?

  • A. Implement required changes to the Process API implementation so that, whenever possible, the Process API's RAML definition remains unchanged.
  • B. Postpone changes until API consumers acknowledge they are ready to migrate to a new Process API or API version.
  • C. Update the RAML definition of the current Process API and notify API client developers by sending them links to the updated RAML definition.
  • D. Implement the Process API changes in a new API implementation, and have the old API implementation return an HTTP status code 301 - Moved Permanentlyto inform API clients they should be calling the new API implementation.

正解: C

解説:
Explanation/Reference:

 

質問 36
What API policy would LEAST likely be applied to a Process API?

  • A. JSON threat protection
  • B. Custom circuit breaker
  • C. Client ID enforcement
  • D. Rate limiting

正解: B

解説:
Explanation/Reference: https://docs.mulesoft.com/api-manager/2.x/policy-mule3-provided-policies

 

質問 37
What is true about where an API policy is defined in Anypoint Platform and how it is then applied to API instances?

  • A. The API policy is defined in API Manager, and then applied to ALL API instances in the specified environment
  • B. The API policy Is defined in API Manager and then automatically applied to ALL API instances
  • C. The API policy Is defined In Runtime Manager as part of the API deployment to a Mule runtime, and then ONLY applied to the specific API Instance
  • D. The API policy Is defined In API Manager for a specific API Instance, and then ONLY applied to the specific API instance

正解: D

解説:
Correct answer: The API policy is defined in API Manager for a specific API instance, and then ONLY applied to the specific API instance.
*****************************************
>> Once our API specifications are ready and published to Exchange, we need to visit API Manager and register an API instance for each API.
>> API Manager is the place where management of API aspects takes place like addressing NFRs by enforcing policies on them.
>> We can create multiple instances for a same API and manage them differently for different purposes.
>> One instance can have a set of API policies applied and another instance of same API can have different set of policies applied for some other purpose.
>> These APIs and their instances are defined PER environment basis. So, one need to manage them seperately in each environment.
>> We can ensure that same configuration of API instances (SLAs, Policies etc..) gets promoted when promoting to higher environments using platform feature. But this is optional only. Still one can change them per environment basis if they have to.
>> Runtime Manager is the place to manage API Implementations and their Mule Runtimes but NOT APIs itself. Though API policies gets executed in Mule Runtimes, We CANNOT enforce API policies in Runtime Manager. We would need to do that via API Manager only for a cherry picked instance in an environment.
So, based on these facts, right statement in the given choices is - "The API policy is defined in API Manager for a specific API instance, and then ONLY applied to the specific API instance".

 

質問 38
What Mule application deployment scenario requires using Anypoint Platform Private Cloud Edition or Anypoint Platform for Pivotal Cloud Foundry?

  • A. When it is required that ALL APIs are private and NOT exposed to the public cloud
  • B. When regulatory requirements mandate on-premises processing of EVERY data item, including meta-data
  • C. When it Is required to make ALL applications highly available across multiple data centers
  • D. When ALL backend systems in the application network are deployed in the organization's intranet

正解: B

 

質問 39
An API implementation is being designed that must invoke an Order API, which is known to repeatedly experience downtime.
For this reason, a fallback API is to be called when the Order API is unavailable.
What approach to designing the invocation of the fallback API provides the best resilience?

  • A. Search Anypoint Exchange for a suitable existing fallback API, and then implement invocations to this fallback API in addition to the Order API
  • B. Create a separate entry for the Order API in API Manager, and then invoke this API as a fallback API if the primary Order API is unavailable
  • C. Redirect client requests through an HTTP 307 Temporary Redirect status code to the fallback API whenever the Order API is unavailable
  • D. Set an option in the HTTP Requester component that invokes the Order API to instead invoke a fallback API whenever an HTTP 4xx or 5xx response status code is returned from the Order API

正解: D

 

質問 40
When could the API data model of a System API reasonably mimic the data model exposed by the corresponding backend system, with minimal improvements over the backend system's data model?

  • A. When the System API can be assigned to a bounded context with a corresponding data model
  • B. When there is an existing Enterprise Data Model widely used across the organization
  • C. When a pragmatic approach with only limited isolation from the backend system is deemed appropriate
  • D. When the corresponding backend system is expected to be replaced in the near future

正解: C

 

質問 41
What Mule application deployment scenario requires using Anypoint Platform Private Cloud Edition or Anypoint Platform for Pivotal Cloud Foundry?

  • A. When it is required that ALL APIs are private and NOT exposed to the public cloud
  • B. When regulatory requirements mandate on-premises processing of EVERY data item, including meta-data
  • C. When it Is required to make ALL applications highly available across multiple data centers
  • D. When ALL backend systems in the application network are deployed in the organization's intranet

正解: B

解説:
Correct answer: When regulatory requirements mandate on-premises processing of EVERY data item, including meta-data.
*****************************************
We need NOT require to use Anypoint Platform PCE or PCF for the below. So these options are OUT.
>> We can make ALL applications highly available across multiple data centers using CloudHub too.
>> We can use Anypoint VPN and tunneling from CloudHub to connect to ALL backend systems in the application network that are deployed in the organization's intranet.
>> We can use Anypoint VPC and Firewall Rules to make ALL APIs private and NOT exposed to the public cloud.
Only valid reason in the given options that requires to use Anypoint Platform PCE/ PCF is - When regulatory requirements mandate on-premises processing of EVERY data item, including meta-data.

 

質問 42
Refer to the exhibit.

A developer is building a client application to invoke an API deployed to the STAGING environment that is governed by a client ID enforcement policy.
What is required to successfully invoke the API?

  • A. The client ID and secret for the Anypoint Platform account owning the API in the STAGING environment
  • B. The client ID and secret for the Anypoint Platform account's STAGING environment
  • C. A valid OAuth token obtained from Anypoint Platform and its associated client ID and secret
  • D. The client ID and secret obtained from Anypoint Exchange for the API instance in the STAGING environment

正解: B

 

質問 43
When could the API data model of a System API reasonably mimic the data model exposed by the corresponding backend system, with minimal improvements over the backend system's data model?

  • A. When the System API can be assigned to a bounded context with a corresponding data model
  • B. When there is an existing Enterprise Data Model widely used across the organization
  • C. When a pragmatic approach with only limited isolation from the backend system is deemed appropriate
  • D. When the corresponding backend system is expected to be replaced in the near future

正解: B

 

質問 44
An API experiences a high rate of client requests (TPS) vwth small message paytoads. How can usage limits be imposed on the API based on the type of client application?

  • A. Use an SLA-based rate limiting policy and assign a client application to a matching SLA tier based on its type
  • B. Use a rate limiting policy and a client ID enforcement policy, each configured by the client application type
  • C. Use a spike control policy that limits the number of requests for each client application type
  • D. Use a cross-origin resource sharing (CORS) policy to limit resource sharing between client applications, configured by the client application type

正解: A

 

質問 45
Refer to the exhibit.

What is a valid API in the sense of API-led connectivity and application networks?
A) Java RMI over TCP

B) Java RMI over TCP

C) CORBA over HOP

D) XML over UDP

  • A. Option C
  • B. Option B
  • C. Option A
  • D. Option D

正解: D

 

質問 46
......

MCPA-Level-1テストエンジンお試しセット、MCPA-Level-1問題集PDF:https://www.goshiken.com/MuleSoft/MCPA-Level-1-mondaishu.html