CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

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.

  1. A. egress: []
  2. B. ingress: [{“from": [{"podSelector": {"matchLabels": {"app": "frontend"}}}]}] — đáp án hiện tại
  3. C. egress: [{"to": [{"podSelector": {"matchLabels": {"app": "backend"}}}]}]
  4. 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.

Câu hỏi liền kề