nerdexam
(ISC)2

CSSLP · Question #250

Which of the following are the basic characteristics of declarative security? Each correct answer represents a complete solution. Choose all that apply.

The correct answer is A. It is a container-managed security. B. It has a runtime environment. C. All security constraints are stated in the configuration files. Declarative security involves defining security policies externally through configuration rather than directly in application code.

Secure Software Concepts

Question

Which of the following are the basic characteristics of declarative security? Each correct answer represents a complete solution. Choose all that apply.

Options

  • AIt is a container-managed security.
  • BIt has a runtime environment.
  • CAll security constraints are stated in the configuration files.
  • DThe security policies are applied at the deployment time.

How the community answered

(43 responses)
  • A
    91% (39)
  • D
    9% (4)

Why each option

Declarative security involves defining security policies externally through configuration rather than directly in application code.

AIt is a container-managed security.Correct

Declarative security is often container-managed, meaning the application server or runtime environment enforces the security constraints defined externally.

BIt has a runtime environment.Correct

It operates within a runtime environment, where the container or framework interprets and enforces the specified security constraints during application execution.

CAll security constraints are stated in the configuration files.Correct

A core characteristic is that security constraints, such as access control rules or authentication methods, are explicitly stated in configuration files or annotations, separate from the business logic.

DThe security policies are applied at the deployment time.

While security policies are often configured or loaded during deployment, their enforcement happens continuously at runtime by the container or environment, not solely at the deployment time itself.

Concept tested: Declarative security characteristics

Source: https://docs.oracle.com/javaee/6/tutorial/doc/bncbx.html

Topics

#Declarative security#Application security#Security enforcement#Container-managed security

Community Discussion

No community discussion yet for this question.

Full CSSLP Practice