VMware Carbon Black Cloud Enterprise EDR (2020) — Question 55

The application development team is pushing a Kubernetes application into production. It consists of an application server and a database. The team wants to ensure that only the production application server can access the production database.
Can the development team meet this requirement using Kubernetes Network Policy?

Answer options

Correct answer: A

Explanation

The correct answer is A, as Kubernetes Network Policies allow you to control the traffic between pods based on labels and selectors. Option B is incorrect because NSX Manager is not part of Kubernetes native features. Option C does not fulfill the requirement since disabling all pod-to-pod communication would prevent the production application server from accessing the database. Option D is wrong because Kubernetes Network Policies can indeed restrict access between pods.