ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question

A development team wants to ensure its Kubernetes-hosted Java microservice automatically blocks network traffic originating from any CIDR range that is not on an approved list, without adding new logic to each controller class. Which action best demonstrates a declarative security approach to meet this requirement?

  • Wrap every endpoint in a try/catch block that throws an exception when the client IP is not trusted.

  • Invoke a GeoIP service from business logic to decide at runtime whether to accept the request.

  • Create a NetworkPolicy YAML manifest that only allows pod ingress from the whitelisted CIDR blocks.

  • Write a servlet filter that programmatically inspects the Origin header and rejects untrusted sources.

ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Implementation
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot