What is correct about using context variables in Gatewayscript policies?
Answer : A
Setting Context Variables: In Gatewayscript policies, thecontext.setfunction is used to set context variables. The syntaxcontext.set('my.vars.amount', 100)creates a JSON structure wheremy.varsis an object containing the keyamountwith the value100.
JSON Structure: This method of setting context variables generates a JSON structure, which is a common format for data interchange in APIs. The resulting structure would be{ 'my.vars': { 'amount': 100 } }.
Usage in Policies: This approach allows for easy manipulation and access to variables within the GatewayScript, facilitating dynamic API behavior based on the context.
Documentation Reference: According to the IBM Certified Solution Implementer - API Connect v10.0.3 documentation, usingcontext.setin this manner is the correct way to generate the specified JSON structure1.
1:IBM Certified Solution Implementer - API Connect v10.0.3 Documentation
A User registry was created in the Cloud Manager.
In order for the registry to be used on the Developer Portal, what must be completed?
Answer : A
After creating a User registry in the Cloud Manager, it must be configured on the appropriate Catalog's Onboarding settings to be used on the Developer Portal in IBM API Connect v10.0.3. This configuration allows the User registry to authenticate and manage users effectively when they interact with the Developer Portal.
Other options are incorrect:
Option B: Making the User registry public on the API Manager resources page does not apply.
Option C: Configuring the Portal settings page is not sufficient for enabling the registry.
Option D: Configuring resources settings on the Catalog does not directly involve user registry onboarding.
The security team will allow OIDC to be used for Portal access.
Which two OIDC provider types are available out of the box?
Answer : A, E
In IBM API Connect v10.0.3, OpenID Connect (OIDC) is a widely used authentication mechanism that allows clients to verify the identity of users based on the authentication performed by an authorization server. API Connect supports various OIDC providers for portal access to integrate with third-party identity providers. Out of the box, API Connect v10.0.3 comes with support for Azure Active Directory (Azure AD) and IBM Cloud as pre-configured OIDC providers.
Azure AD is one of the most commonly used OIDC providers, especially in enterprise environments using Microsoft's cloud services.
IBM Cloud Identity and Access Management (IAM) also provides built-in OIDC support within the IBM ecosystem, making it a natural integration point for users of IBM Cloud services.
These built-in integrations simplify the configuration and management of OIDC providers without requiring additional custom configuration.
IBM API Connect v10.0.3 - Now Available
Developer User Experience with API Connect
Which set of APIs should be used to register users in the Developer Portal, create applications, and subscribe to APIs?
Answer : B
The Consumer APIs should be used to register users in the Developer Portal, create applications, and subscribe to APIs. These APIs provide the necessary endpoints and functionality for Consumers to interact with the Developer Portal and manage their API usage.
IBM API Connect: Consumer APIs
IBM API Connect: Using the Consumer APIs
A developer would like to run the step debugger on the Gatewayscript policy that is part of the Assembly.
What would allow step debugging on the Gatewayscript?
Answer : A
To enable step debugging on a GatewayScript policy in IBM API Connect v10.0.3, a developer must add a debugger; statement within the GatewayScript code. This statement serves as a breakpoint that will pause execution, allowing the developer to step through the code to identify and resolve issues.
Other options are incorrect:
Option B and D ('Enable step debug in the Test tab' and 'Enable debug checkbox in Assemble') do not enable the step debugger in GatewayScript.
Option C ('Click the Trace in the Test tab') allows tracing but not step debugging.
IBM API Connect v10.0.3 Documentation: Debugging GatewayScript Policies
Which role creates a Consumer organization, assigns a customer representative as the owner, and manages the relationship between the Provider organization and each Consumer organization?
Answer : A
An Organization Manager is responsible for creating Consumer organizations, assigning customer representatives as owners, and managing the relationship between the Provider organization and each Consumer organization. This role has the necessary permissions to create new organizations, invite users to become owners, and oversee the interactions between the Provider and Consumer organizations.
IBM API Connect: Creating and Managing Organizations
IBM API Connect: Inviting Users to Organizations
IBM API Connect: Managing Organization Relationships
What is the effect of enabled Spaces for the management of Consumer (applications, subscriptions, etc.)?
Answer : D
When Spaces are enabled in API Connect, Consumers, applications, subscriptions approvals, and analytics are now specific per Space. This means that each Space becomes an isolated environment for managing and controlling API usage within that specific context.
IBM API Connect: Managing Spaces
IBM API Connect: Understanding Spaces