Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 51
On a Cisco Catalyst 9300 Series Switch, the guest shell is being used to create a service within a container.
Which change is needed to allow the service to have external access?
Answer options
- A. Apply ip nat overload on VirtualPortGroup0.
- B. Apply ip nat inside on Interface VirtualPortGroup0.
- C. Apply ip nat outside on Interface VirtualPortGroup0.
- D. Apply ip nat inside on Interface GigabitEthernet1.
Correct answer: B
Explanation
The correct answer, B, allows the service to access the external network by configuring NAT to recognize VirtualPortGroup0 as the inside interface. Options A and C incorrectly configure NAT on the wrong interface, and D applies NAT to a different interface, which would not provide the necessary access for the container service.