Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Google Apigee-API-Engineer - Google Cloud - Apigee Certified API Engineer

Page: 4 / 4
Total 126 questions

You need to interact with two different back end systems, depending on inbound request data One backend is a default target URL without SSL and another one is a dynamic target URL with 2-Way SSL What should you do?

A.

Use service callouts configuration for each target, and use a condition to decide which to invoke.

B.

Use a Key-Value Map configuration to access SSL and URL information to invoke target systems

C.

Use an AssignMessage policy to override default target URL and define 2-way SSL configuration at runtime

D.

Create another target endpoint with SSL configured and define route rule to pick that depends on available variables.

You are working on a project that adheres strictly to the Roy Fielding REST concepts. You need to update a single property named "status" of a complicated entity What should you do?

A.

Fetch the full entity, update the status value locally. DELETE the original entity and POST the new version.

B.

Fetch the full entity. Change only the status value and then send the whole object in the request body of the PUT service

C.

Create a new service that uses the UPDATE verb that accepts the "status* property and updates the entity UPDATE /api/trucks/42/status HTTP/1.1 {status: 5}

D.

Create a new service that uses the PATCH verb designed to update only given fields. PATCH /api/trucks/42 HTTP/1.1 {status: 5}

If a custom analytics report needs to filter based on data from the request payload, which policy would be used?

A.

Custom Report

B.

Message Logging

C.

StatisticsCollector

D.

AssignMessage

Your project has just started, and you are observing that bugs are being caught in QA on features that were previously working You want to provide a self-governing mechanism for the team to identify regression bugs What should you do?

A.

Use static code analysis tools.

B.

Use Behavior Driven Development tools.

C.

Implement automated integration testing on check in.

D.

Ask developers to run unit tests prior to each check in

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?

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

As an API Engineer your team is deploying code to production tonight. The test team will spend most of the night ensuring there are no bugs in the new release. After you deploy you want to go home. What is the best way to quickly verify a complete deployment?

A.

Unit tests

B.

Smoke tests.

C.

Integration tests.

D.

Code quality analysis.

Which is the recommended solution lo specify a different backend target for each environment?

A.

Java/JavaScript/Python callout

B.

TargetEndpoint configuration

C.

RouteRules

D.

TargetServer