Labour Day Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Google Apigee-API-Engineer Google Cloud - Apigee Certified API Engineer Exam Practice Test

Google Cloud - Apigee Certified API Engineer Questions and Answers

Question 1

A customer has added response cache policy on all their search APIs, but traffic to the backend has not reduced much. They ask you to investigate, you find that GET queries are being cached and available in memory but cache misses are still high You want to improve caching and reduce cache misses What should you do?

Options:

A.

Use lookup/populate cache policy.

B.

Increase the TimeToLive of cached objects

C.

Review key fragments in cache key, ensuring only important parameters are used

D.

Review and increase the number of items on the cache resource to a higher number

Question 2

Which policy is best used to convert a SOAP response to a JSON response'?

Options:

A.

AssignMessage

B.

Message Validation

C.

SOAPToJSON

D.

XMLToJSON

Question 3

Which are NOT a step in the OAuth 2 0 authorization code grant process? Select all that are correct

Options:

A.

generate an authorization code

B.

generate an access token

C.

verify the device ID

D.

validate the client API key

E.

obtain the end user's consent for the application to request the user's protected resources

F.

validate the developer name

Question 4

You are asked by the mobile app team which API should be used to populate a drop down for regions. According to pragmatic RESTful practices, which method should be used?

Options:

A.

GET

B.

HEAD

C.

POST

D.

PUT

E.

OPTIONS

Question 5

Which HTTP method would NOT be used for CRUD operations?

Options:

A.

GET

B.

POST

C.

OPTIONS

D.

PUT

Question 6

The product team is rolling out a new reseller program with API's. The product owner has created Epics covering the high level requirements. The product owner delegate has asked for help creating a product backlog. What task would the product owner delegate need assistance with?

Options:

A.

Creation of a message logging policy in Apigee.

B.

Creating user stories to fulfill the business requirements.

C.

Creating support tickets that cover each of the business requirements.

D.

Creating a cross functional team of API engineers, business analysts, and backend software developers.

Question 7

Your team has the following requirements in building an API:

• Adhere to Pragmatic REST.

• Model the API to the consumption use case.

• Require API Key authentication

• Implement CORS

• Validate inputs.

You have begun migrating a SOAP-based web service to a REST API by using the SOAP to REST function in Apigee Edge Which two of the above-listed requirements could be satisfied by this action?

Choose 2 answers

Options:

A.

Adhere to Pragmatic REST

B.

Model the API to the consumption use case

C.

Require API Key authentication

D.

Implement CORS.

E.

Validate inputs.

Question 8

Which are techniques for dynamically choosing the target endpoint at runtime? Select all that are correct

Options:

A.

use routing tables defined for the proxy using the MGMT API

B.

use javascript to set targeturl

C.

use route rules with conditions

D.

nothing is needed, done by default

Question 9

Your API generates tokens to authenticate users. You have the following requirements

1. Limited token lifetime.

2. Managed key rotation.

3. Self-verifiable content.

4 Compact data representation

5. Refresh without new challenge.

You plan to use SAML2 Which two of the above-listed requirements are satisfied by using SAML2? Choose 2 answers

Options:

A.

Limited token lifetime.

B.

Managed key rotation

C.

Self-verifiable content

D.

Compact data representation

E.

Refresh without a new challenge

Question 10

Which feature can be used to limit application consumption to a particular group of API proxy resources?

Options:

A.

Virtual host

B.

API product

C.

Developer app

D.

RBAC (Role-based Access Control)

Question 11

When retrieving a value from an encrypted KVM. the variable name to which it is assigned must be prefixed with which value to prevent it from being readable in tracing sessions?

Options:

A.

encrypted

B.

mask

C.

kvm

D.

private

E.

hidden

Question 12

You have a particularly complicated API proxy in Edge., that uses many variables and conditions You are concerned that the number ot names is quite large, and can become confusing What can you do?

Options:

A.

Use the period "." to namespace variables.

B.

Create a data dictionary describing all the variables

C.

Use camelCase variable names instead of snake_case

D.

Break the proxy into smaller components using proxy chaining

Question 13

What is the purpose of a refresh token?

Options:

A.

To extend the amount of time an existing access token can be used by resetting the token's expiration time

B.

To request that Apigee re-issue a new access token to replace an expired access token.

C.

To reset an application to its default configuration.

D.

To notify the application that a new access token is required.

Question 14

How many times can an authorization code be used to obtain an access token?

Options:

A.

1

B.

2

C.

5

D.

Unlimited until it expires

E.

Unlimited as long as requests come within specified time of authorization code creation

Question 15

When implementing a node js application in Edge, what is the only supported configuration for running the application?

Options:

A.

ScriptTarget in a ServiceCallout policy

B.

ScriptTarget in a TargetEndpotnt

C.

NodeApp policy

D.

ResourceURL in a Javascript policy

Question 16

Which OAuth 2 0 grant requires redirection'?

Options:

A.

Authorization Code

B.

Resource Owner Password Credentials

C.

Refresh Token

D.

Client Credentials

Question 17

Your company runs their internal services across two datacenters in a hot-warm configuration The back-end system for a new API runs in both data centers You want to implement a proxy that handles failover between these data centers What should you do?

Options:

A.

Use a Java Callout to the target, calling the hot datacenter first and the warm datacenter in case of failure

B.

Use the not datacenter as the TargetEndpoint and configure a FaultRule to call the warm datacenter in case of failure

C.

Create two service callouts to the target, calling the hot datacenter first and the warm datacenter in the event of failure on the first call

D.

Create Target Servers for each datacenter and configuring the TargetEndpoint with a LoadBalancer, setting the Is Fallback property on the warm datacenter

Question 18

Which statements are true for configuring the Edge Microgateway quota plugin? Choose 3 answers

Options:

A.

Quotas are only enforced when client authentication is enabled

B.

Quota plugin requires quota-memory plugin to be installed and enabled

C.

Quota plugin requires OAuth Plugin to be installed and enabled

D.

Quota plugin must execute after the quota-memory Plugin execution

E.

Quota plugin must execute after the OAuth Plugin execution