Câu 14: KCSA: Kubernetes and Cloud Native Security Associate
A user wants to declare a network policy that allows only pods with the label app=frontend to communicate with Pods with the label app=backend. Which NetworkPolicy rules should they configure on the backend Pod namespace?
Nội dung câu hỏi
A user wants to declare a network policy that allows only pods with the label app=frontend to communicate with Pods with the label app=backend. Which NetworkPolicy rules should they configure on the backend Pod namespace?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. egress: []
- B. ingress: [{“from": [{"podSelector": {"matchLabels": {"app": "frontend"}}}]}] — đáp án hiện tại
- C. egress: [{"to": [{"podSelector": {"matchLabels": {"app": "backend"}}}]}]
- D. ingress: []
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.