March Sale Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

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

Page: 1 / 13
Total 126 questions

Google Cloud - Apigee Certified API Engineer Questions and Answers

Question 1

What are the HTTPTargetConneclion properties to control network timeouts?

Options:

A.

response millis and connect.millis

B.

target.timeout and proxy timeout

C.

connect.timeout.millis and io.timeoutmillis

D.

connect timeout and network timeout

Question 2

When a quota is configured with the distributed flag set to false, the number of which of the following would affect the overall allowed traffic?

Options:

A.

Cassandra nodes

B.

Routers

C.

Message Processors

D.

Management Servers

Question 3

You have a new set of requirements for a mobile app. The product team tells you that the user data already exists from the website version of the app. The user APIs are currently internal access only. The product team has asked for the following.

• The app requires user authentication before data should be accessed.

• The app needs to display user data once the user has logged into the mobile app.

* The app needs to allow changes to user data once the user has logged into the mobile app.

Choose three development tasks that would accomplish the requirements. Choose 3 answers

Options:

A.

Create an Oauth 2 0 Service Account API proxy

B.

Create an Oauth 2.0 Password Grant Type API proxy

C.

Create an Oauth 2.0 Client Credential Flow Grant Type API proxy

D.

Create a new API proxy for a GET /v1/customers/{customerid}

E.

Create a new API proxy for a PUT/v1/customers/{customerid}

F.

Create a new API proxy for a POST /v1/customers/{customerid}

G.

Create a new API proxy for a DELETE/v1/customers/{customerid}

Question 4

In your last release, there were unexpected errors uncovered by users within the first 24 hours The root cause analysis found that key configurations were not promoted to production You want to avoid similar release failures in your next release What should you do?

Options:

A.

Notify operations of the release

B.

Run an automated smoke test suite.

C.

Monitor the logs looking for unusual error patterns

D.

Ensure all sources are checked into source control

Question 5

The performance testing team would like to improve the transactions per second for an API you recently developed. The API retrieves partner names and contact information. What should you do?

Options:

A.

Add Caching Policies

B.

Add a Spike Arrest Policy

C.

Add an Assign Message Policy

D.

Add a Statistics Collector Policy

Question 6

As an API Engineer you have been asked to automate the build process for Apigee deployments. You decide to build a new tool to deploy the API Bundles using the Apigee Management API. What would be the correct approach?

Options:

A.

You should deploy an Apigee microgateway

B.

Management APIs need a separate API product for security reasons.

C.

Each management API you plan to use should be turned into an Apigee Proxy.

D.

Management APIs should be called directly from the tool to the Apigee gateway

Question 7

You are designing an API that allows a consumer to fetch all orders associated to a given customer. You want to use a RESTful design Which design should you use?

Options:

A.

GET/customers/{customer-id)/orders

B.

GET/orders7customer-id={customer-id}

C.

GET /getOrdersForCustomer?customer-id={customer-id}

D.

POST /orders with a post-body of customer-id={customer-id}

Question 8

Which proxy endpoint configuration determines the target endpoint that will be used?

Options:

A.

Step

B.

TargetConfiguration

C.

RouteRule

D.

Connection

E.

Path

Question 9

You have a single back end that needs to be exposed to customers using different API request and response payloads You need to allow these different request types without breaking existing implementations What should you do?

Options:

A.

Create a new API proxy for new customers and invoke backend target system with required parameters.

B.

Configure the API as a pass-through proxy and invoke backend target system with client request parameters.

C.

Create a new proxy xml and base path with upgraded version and invoke backend target system with required parameters

D.

Include a new customer requirement in an existing API proxy and invoke backend target system with required parameters.

Question 10

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 11

As an API Engineer you get a calendar invite for a backlog grooming session. What should you expect to take place in the meeting?

Options:

A.

Review the Epics and meet the cross functional team

B.

Review and update the user stories and tasks in detail.

C.

Review the high level design document and ask questions

D.

Update support tickets that have been sitting for x number of days

Question 12

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 13

As an Apigee API Engineer you are building a new proxy as follows:

POST /v1/virtualnetworkconnections

The backend developer, being new to RESTful APIs, asks you which response code should be returned on a successful call. What should you recommend?

Options:

A.

Return a 200 OK

B.

Return a 302 Found

C.

Return a 201 Created

D.

Return a 202 Accepted

E.

Return a 303 See Other

F.

Return a 400 Bad Request

Question 14

Your APIs are configured as a relying party on an OpenID Connect platform. You need to inspect and verify the OpenID Connect identity. What two actions should you take?

Choose 2 answers

Options:

A.

Verify the signature of the JWT using a shared secret.

B.

Parse the JWT to extract the exp: nbf and iat properties to determine if the token is still valid

C.

Pass the JWT to a preconfigured 3rd party for verification of the signature, exp, nbf and iat properties

D.

Use the OpenID Connect URL to locate a trusted 3rd party for verification the signature, exp, nbf and iat properties

E.

Using the JKWS URL in the OpenID Connect configuration, fetch the signing key to verify the JWT signature and parameters

Question 15

You are using Apigee Edge as the OAuth Resource Server. The product owner asks you to create an API that logs a user out by revoking OAuth tokens. What should you do?

Options:

A.

Use the InvalidateToken operation with cascade=true

B.

Use the InvalidateToken operation with cascade=false

C.

Store a list of revoked tokens in Firebase. On each access, check the list and only allow unrevoked tokens through

D.

Store a list of revoked tokens in Key-Value Maps. On each access, check the list and only allow unrevoked tokens through

Question 16

Which JavaScript statement can be used to raise a fault from a JavaScript policy named 'Weather"?

Options:

A.

return-1,

B.

return false,

C.

context setVanablefWeather Fault", "true"),

D.

throw "Bad Data";

Question 17

What does the variable "message.content" represent?

Options:

A.

the request content in the request flow

B.

the response content in the response flow

C.

the request content when in the request flow and the response content when in the response flow

D.

neither the request content nor the response content

Question 18

While testing your Apigee API proxy, you discover that the TargetEndpomt that is called is not what you expect. You have verified that there is a RouteRule that matches conditions, and should be called. What should you do?

Options:

A.

Modify the RouteRuies to be more specific.

B.

Create a new proxy for this special condition.

C.

Reorder the RouteRuies so that your condition is found

D.

Add a new TargetServer to handle your specific condition

Page: 1 / 13
Total 126 questions