PROFESSIONAL-CLOUD-DEVELOPER · Question #298
You work for an ecommerce company. You are designing a new Orders API that will be exposed through Apigee. In your Apigee organization, you created two new environments named orders- test and…
The correct answer is D. 1. Attach orders-test to the test environment group, and attach orders-prod to the production. In Apigee, environment groups control the mapping between hostnames (URLs) and environments. To enforce that each environment uses only its assigned URL, you must create separate environment groups - one for test (with hostname test.lnk-42.com) and one for production (with…
Question
You work for an ecommerce company. You are designing a new Orders API that will be exposed through Apigee. In your Apigee organization, you created two new environments named orders- test and orders-prod. You plan to use unique URLs named test.Ink-42.com/api/v1/orders and Ink- 42.com/api/v1/orders for each environment. You need to ensure that each environment only uses the assigned URL. What should you do?
Options
- A
- Attach orders-test and orders-prod to the orders environment group.
- B
- Attach orders-test and orders-prod to the orders environment group.
- C
- Attach orders-test to the test environment group, and attach orders-prod to the production
- D
- Attach orders-test to the test environment group, and attach orders-prod to the production
How the community answered
(42 responses)- A5% (2)
- B12% (5)
- C7% (3)
- D76% (32)
Explanation
In Apigee, environment groups control the mapping between hostnames (URLs) and environments. To enforce that each environment uses only its assigned URL, you must create separate environment groups - one for test (with hostname test.lnk-42.com) and one for production (with hostname lnk-42.com) - and attach orders-test exclusively to the test group and orders-prod exclusively to the production group. Options A and B attach both environments to a single environment group, meaning both URLs could potentially route to either environment, violating the isolation requirement. The distinction between C and D lies in the second step: D correctly specifies configuring the unique hostname per environment group, ensuring strict URL-to-environment mapping.
Topics
Community Discussion
No community discussion yet for this question.