Courseiva

CCNA Application And Data Protection Questions

36 questions · Application And Data Protection · All types, answers revealed

1
MCQmedium

A security administrator is configuring a corporate proxy server (Squid) to inspect outbound HTTPS traffic from endpoints. To perform SSL interception (Man-in-the-Middle inspection) for content filtering and DLP, what cryptographic setup must be installed on client workstations?

A.The proxy's custom Root CA certificate installed into the workstations' Trusted Root Certification Authorities store
B.The public keys of every external website visited by users
C.An expired SSLv2 certificate bundle
D.Self-signed SSH host keys generated on the Squid proxy
AnswerA

Clients must trust the proxy's signing CA certificate to accept the re-signed TLS certificates without browser warnings.

Why this answer

For a forward proxy to decrypt and inspect HTTPS traffic, the proxy's internal Certificate Authority (CA) root certificate must be installed into the trusted root certification authorities certificate store of each client workstation.

2
MCQmedium

A security analyst is reviewing IIS 10 web server logs and notices numerous requests attempting path traversal using URL-encoded characters such as '%2e%2e%2f'. Which built-in IIS feature or security tool should be configured to automatically block such requests?

A.HTTP Compression Schema module
B.IIS Request Filtering with rules to deny double-encoding and path traversal sequences ('..')
C.IP Address and Domain Restrictions module
D.Windows Authentication Provider with Kerberos constraints
AnswerB

IIS Request Filtering inspects requests for path traversal sequences and double-encoded characters and blocks them.

Why this answer

URL Authorization and Request Filtering in IIS inspect incoming request URLs for suspicious patterns, double-escaping, and path traversal sequences like '..', blocking them before execution.

3
MCQmedium

A developer is configuring TLS 1.3 encryption on an Nginx web server. To ensure maximum cryptographic strength and forward secrecy, which cipher suite configuration should be specified for TLS 1.3?

A.ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384';
B.ssl_protocols TLSv1.3; and relying on the protocol's mandated secure cipher suites (e.g., TLS_AES_256_GCM_SHA384)
C.ssl_prefer_server_ciphers off; combined with MD5
D.ssl_cipher_suites 'TLS_RSA_WITH_AES_128_CBC_SHA';
AnswerB

TLS 1.3 eliminates vulnerable legacy ciphers entirely and mandates secure AEAD ciphers automatically when TLSv1.3 is enabled.

Why this answer

TLS 1.3 cipher suites are predefined by the protocol standard (RFC 8446) and do not allow cipher suite negotiation in the same manner as TLS 1.2. The directive ssl_ciphers applies to TLS 1.2, whereas TLS 1.3 ciphers are controlled via ssl_conf_command or default built-in parameters like TLS_AES_256_GCM_SHA384.

4
Multi-Selecteasy

An organization is evaluating methods to secure data in transit across public networks. Which TWO cryptographic protocols or mechanisms provide secure communication channels?

Select 2 answers
A.Plaintext Telnet protocol
B.Unencrypted HTTP protocol
C.Transport Layer Security (TLS v1.3)
D.Plaintext File Transfer Protocol (FTP)
E.Internet Protocol Security (IPsec) VPN
AnswersC, E

TLS secures application-layer traffic such as HTTPS, SMTPS, and LDAPS.

Why this answer

TLS (Transport Layer Security) and IPsec (Internet Protocol Security) are standard protocols for securing data in transit across networks.

5
Multi-Selectmedium

An administrator is configuring Microsoft BitLocker Drive Encryption on a Windows Server 2019 machine. Which TWO authentication methods are natively supported by BitLocker for operating system volume startup protection?

Select 2 answers
A.TPM with a Startup PIN
B.TPM only
C.RADIUS server biometric token verification
D.Active Directory Kerberos ticket delegation
E.Hardware token smart card reader authentication
AnswersA, B

Requiring a TPM and a user-entered PIN provides two-factor authentication at startup.

Why this answer

BitLocker operating system drive startup supports TPM only, TPM + PIN, TPM + Startup Key (USB), and Startup Key (USB) alone (when allowed via policy).

6
Multi-Selecthard

An enterprise security architect is configuring database security controls in Microsoft SQL Server 2019. Which THREE native features should be implemented to ensure comprehensive data protection and auditing?

Select 3 answers
A.Dynamic Data Masking (DDM) to limit sensitive data exposure to non-privileged users in query results
B.Always Encrypted to protect sensitive column data from database administrators
C.Transparent Data Encryption (TDE) for encrypting database files at rest on disk
D.Disabling the TCP/IP protocol and allowing only NetBIOS frame broadcasts
E.Granting db_owner permissions to all public database roles by default
AnswersA, B, C

DDM obscures sensitive data in the result set of queries over designated database fields without altering underlying data.

Why this answer

SQL Server features include Transparent Data Encryption (TDE), Dynamic Data Masking (DDM), Always Encrypted, and SQL Server Audit.

7
MCQmedium

A penetration tester is evaluating a web application built on Node.js and discovers that user objects passed into an administrative function are vulnerable to prototype pollution. Which remediation strategy should the development team apply to prevent this vulnerability?

A.Freeze global object prototypes using Object.freeze() and validate incoming JSON keys to disallow __proto__ assignments
B.Sanitize all input parameters using DOMPurify before rendering them
C.Configure CORS headers with Access-Control-Allow-Origin set to specific domains
D.Implement parameterized SQL queries for all database interactions
AnswerA

Freezing prototypes and filtering out special property keys like __proto__ or constructor prevents prototype pollution.

Why this answer

Freezing the prototype object using Object.freeze(Object.prototype) or avoiding recursive merging of untrusted JSON payloads into existing objects prevents prototype pollution in JavaScript/Node.js.

8
Multi-Selecteasy

An organization is deploying a Data Loss Prevention (DLP) solution to protect sensitive intellectual property. Which TWO locations or data states must a comprehensive DLP architecture monitor?

Select 2 answers
A.Data routed through internal Bluetooth beacon devices
B.Data processed inside physical server CPU cache registers only
C.Data in transit across network gateways (Network DLP)
D.Data transmitted over analog telephone modem lines
E.Data at rest on endpoint hard drives and file shares (Storage/Discovery DLP)
AnswersC, E

Network DLP monitors email, web traffic, FTP, and other protocols leaving the perimeter.

Why this answer

Comprehensive DLP solutions cover data in transit (network), data at rest (storage/databases), and data in use (endpoints).

9
Multi-Selecthard

A security engineer is performing a security audit on an enterprise PostgreSQL database server. Which THREE hardening steps should be implemented to secure database access and data at rest?

Select 3 answers
A.Configure pg_hba.conf to enforce scram-sha-256 password authentication and restrict remote host connection ranges
B.Load the pgcrypto extension and configure encryption for sensitive columns
C.Set superuser password to null and allow trust authentication for all interfaces
D.Enable SSL/TLS in postgresql.conf by setting ssl = on along with valid server certificate file paths
E.Disable all logging in postgresql.conf to maximize query execution performance
AnswersA, B, D

scram-sha-256 is the recommended secure password authentication method in PostgreSQL, and pg_hba.conf controls host access.

Why this answer

PostgreSQL hardening includes configuring pg_hba.conf for strict IP/authentication, enabling SSL/TLS in postgresql.conf, and managing superuser access properly.

10
MCQhard

A security administrator is hardening an Apache HTTP Server 2.4 configuration on Ubuntu to protect web applications against Cross-Site Scripting (XSS) and clickjacking. Which directives should be added to the httpd.conf file to enforce a Content Security Policy (CSP) and prevent framing?

A.LoadModule headers_module modules/mod_headers.so followed by Header set X-Frame-Options 'DENY' and Header set Content-Security-Policy "default-src 'self'"
B.TraceEnable Off and ServerTokens Prod
C.FileETag None and Options -Indexes
D.SecurityHeadersEngine On followed by SetFrameOptions DENY
AnswerA

mod_headers must be loaded to set HTTP security response headers such as X-Frame-Options and Content-Security-Policy.

Why this answer

Header set Content-Security-Policy and Header set X-Frame-Options are the standard Apache directives (using mod_headers) to enforce security headers.

11
MCQeasy

An administrator needs to configure Microsoft BitLocker Drive Encryption via Group Policy to require a startup PIN on a Trusted Platform Module (TPM) equipped system. Which specific policy path must be navigated in the Local Group Policy Editor?

A.Computer Configuration -> Windows Settings -> Security Settings -> Account Policies -> BitLocker Settings
B.Computer Configuration -> Administrative Templates -> System -> Trusted Platform Module Services
C.User Configuration -> Administrative Templates -> Windows Components -> Encryption -> BitLocker
D.Computer Configuration -> Administrative Templates -> Windows Components -> BitLocker Drive Encryption -> Operating System Drives
AnswerD

This is the exact path where operating system drive policies, including startup authentication requirements, are configured.

Why this answer

To enforce a startup PIN with TPM in BitLocker via Group Policy, the administrator must navigate to Computer Configuration -> Administrative Templates -> Windows Components -> BitLocker Drive Encryption -> Operating System Drives and enable 'Require additional authentication at startup'.

12
MCQhard

An organization is utilizing PostgreSQL to store sensitive customer records and needs to implement Transparent Data Encryption (TDE) for data at rest. Which core native PostgreSQL mechanism or extension should the Database Administrator configure?

A.pg_encrypt_cluster utility
B.PostgreSQL Enterprise TDE Daemon
C.Filesystem-level encryption using dm-crypt/LUKS combined with the pgcrypto extension for column-specific cryptographic functions
D.pg_tde core extension module
AnswerC

Because native database-engine level TDE is not built into standard open-source PostgreSQL, organizations use filesystem encryption (dm-crypt/LUKS) or pgcrypto.

Why this answer

PostgreSQL does not have a native, monolithic Transparent Data Encryption (TDE) feature built into the core open-source engine like Microsoft SQL Server or Oracle. Instead, organizations must rely on extensions like pgcrypto for column-level encryption or rely on underlying filesystem-level encryption (such as dm-crypt/LUKS).

13
MCQeasy

A security analyst is investigating a web application vulnerability and identifies that user input is reflected directly inside a JavaScript block without adequate sanitization, leading to execution in the victim's browser. What specific type of vulnerability is present?

A.Stored Cross-Site Scripting (Stored XSS)
B.Server-Side Request Forgery (SSRF)
C.DOM-based Cross-Site Scripting (DOM XSS)
D.Reflected Cross-Site Scripting (Reflected XSS)
AnswerC

DOM XSS occurs when client-side script processes untrusted source data directly within the browser's Document Object Model.

Why this answer

DOM-based Cross-Site Scripting (DOM XSS) occurs when an application contains client-side JavaScript that processes data from an untrusted source (the DOM) in an unsafe way, usually by writing the data back to the document.

14
MCQeasy

A systems administrator needs to secure data at rest on an enterprise Linux server by encrypting an entire secondary disk partition (e.g., /dev/sdb1) using LUKS (Linux Unified Key Setup). Which command should be executed first to initialize the encrypted partition?

A.sudo fdisk /dev/sdb1 --encrypt
B.sudo mkfs.ext4 -e encrypted /dev/sdb1
C.sudo cryptsetup luksFormat /dev/sdb1
D.sudo mount -o encrypt /dev/sdb1 /mnt/secure
AnswerC

cryptsetup luksFormat formats the target partition with LUKS encryption.

Why this answer

The cryptsetup luksFormat command initializes a partition with LUKS encryption headers and master keys.

15
Multi-Selectmedium

A software developer is writing a secure web application and needs to protect sensitive user session cookies against theft and cross-site scripting (XSS) attacks. Which TWO cookie attributes must be set when creating session cookies?

Select 2 answers
A.Max-Age=31536000
B.Domain=example.com
C.SameSite=Strict or Lax
D.Secure
E.HttpOnly
AnswersD, E

The Secure attribute ensures the cookie is transmitted exclusively over encrypted HTTPS connections.

Why this answer

HttpOnly prevents client-side scripts (JavaScript) from accessing the cookie (mitigating XSS theft), and Secure ensures the cookie is only transmitted over encrypted HTTPS connections.

16
MCQhard

An enterprise security architect is deploying Digital Guardian DLP to protect intellectual property on Windows endpoints. An employee attempts to upload proprietary source code to a personal cloud storage provider via a web browser. Which DLP component intercepts this action at the browser level?

A.Digital Guardian Discovery Server
B.Digital Guardian Network Sensor
C.Digital Guardian Cloud Analytics Engine (CAE)
D.Digital Guardian Endpoint Agent with Web Inspection / Browser Control module
AnswerD

The endpoint agent inspects browser traffic and file transfers directly on the workstation.

Why this answer

Digital Guardian provides an endpoint agent with deep hooks into browser communications and application APIs to inspect and block HTTPS uploads and web-based file transfers.

17
MCQhard

An enterprise application stores user passwords in a PostgreSQL database. To comply with modern cryptographic standards, which hashing algorithm configuration should the database administrator verify is in use to ensure strong password protection against offline brute-force attacks?

A.SHA-256 without a salt
B.AES-256-CBC symmetric encryption with a shared database key
C.bcrypt via the pgcrypto extension using the crypt(password, gen_salt('bf', 12)) function
D.MD5 with a hardcoded static salt
AnswerC

bcrypt is a slow, adaptive, salted hashing algorithm designed specifically for secure password storage.

Why this answer

Argon2id or bcrypt are modern, memory-hard hashing algorithms recommended for password storage. PostgreSQL supports bcrypt natively via the pgcrypto extension using the crypt() function with a salt and cost factor.

18
MCQmedium

A cybersecurity analyst is auditing a Linux server running Apache Tomcat. To prevent attackers from exploiting directory traversal vulnerabilities to download sensitive configuration files from outside the web root, which Tomcat configuration parameter must be properly configured in server.xml?

A.Set crossContext="true" in the Host configuration
B.Set allowLinking="false" in the Context element of server.xml
C.Set debug="9" and swallowOutput="false"
D.Configure Enterprise Security Manager (ESM) connector bindings
AnswerB

Setting allowLinking to false prevents Tomcat from following symbolic links that could point to sensitive files outside the web root.

Why this answer

The allowLinking attribute or docBase security restrictions in Tomcat control whether symbolic links outside the web app base can be followed. Additionally, the privileged context setting manages administrative access.

19
MCQmedium

A security analyst is hardening an enterprise Microsoft Exchange email server and needs to prevent Server-Side Request Forgery (SSRF) and insecure deserialization attacks targeting Exchange web components. Which security control or update management practice is most critical?

A.Configuring an IIS URL Rewrite rule to block GET requests
B.Disabling Outlook Web Access (OWA) entirely for all users
C.Enabling Basic Authentication across all virtual directories
D.Applying the latest Microsoft Exchange Cumulative Updates (CUs) and security patches
AnswerD

Vendor patches are the primary remediation for software flaws like SSRF and deserialization in Exchange.

Why this answer

Applying the latest cumulative updates (CUs) and security patches provided by Microsoft Exchange team is critical because Exchange vulnerabilities like ProxyLogon and ProxyShell stem from unpatched Exchange web services.

20
MCQeasy

A security engineer is configuring a Web Application Firewall (WAF) to protect an online banking portal. The WAF must detect and drop HTTP requests containing patterns typical of SQL injection attacks before they reach the web server. What category of WAF protection rule is being utilized?

A.TCP handshake stateful inspection
B.Behavioral anomaly machine learning baseline profiling
C.Data Loss Prevention (DLP) pattern matching
D.Signature-based detection rules
AnswerD

Signature-based rules compare incoming request components against known malicious patterns and signatures.

Why this answer

Signature-based or pattern-matching rules in a WAF inspect HTTP traffic for known signatures and attack patterns (such as SQL injection or XSS strings).

21
MCQeasy

An enterprise network administrator needs to enforce data loss prevention rules across corporate endpoints. They deploy McAfee Data Loss Prevention Endpoint. Which client component inspects and blocks data movement to USB mass storage devices locally on the workstation?

A.McAfee DLP Endpoint Client
B.McAfee DLP Prevent
C.McAfee ePolicy Orchestrator (ePO) Relay Server
D.McAfee DLP Discover
AnswerA

The McAfee DLP Endpoint Client runs on workstations to enforce policies on local actions like USB transfers and clipboard usage.

Why this answer

McAfee DLP Endpoint uses an agent client containing the McAfee DLP Endpoint Client driver that hooks into the operating system I/O stack to monitor and control peripheral device access.

22
MCQhard

An enterprise database administrator is configuring Microsoft SQL Server Always On Availability Groups and needs to ensure that database traffic transmitted between replicas across the network is encrypted. Which configuration setting must be enabled?

A.Run sp_configure 'enforce network encryption', 1; on the master instance
B.Set the database compatibility level to 150 and enable Always Encrypted with secure enclaves
C.Enable Transparent Data Encryption (TDE) on the primary replica database
D.Configure the Availability Group Endpoint with ALTER ENDPOINT hadr_endpoint FOR DATABASE_MIRRORING (ENCRYPTION = REQUIRED)
AnswerD

HADR database mirroring endpoints must be explicitly configured with encryption required to secure data in transit between replicas.

Why this answer

Availability group endpoints must be configured with ENCRYPTION = REQUIRED or SUPPORTED using ALTER ENDPOINT to secure replication traffic across nodes.

23
MCQmedium

A security analyst is deploying Snort IDS to inspect incoming web traffic and needs to write a rule that triggers when the HTTP URI contains the exact string 'admin_login.php' regardless of case. Which Snort rule option modifier accomplishes this?

A.nocase
B.uricontent
C.depth
D.offset
AnswerA

The nocase option makes the pattern matching case-insensitive for the preceding content rule.

Why this answer

The nocase modifier in Snort tells the detection engine to ignore case sensitivity when matching pattern content.

24
Multi-Selectmedium

A security analyst is hardening an Apache HTTP Server against web attacks. Which TWO directives or modules should be configured to enhance application security and mitigate common web threats?

Select 2 answers
A.KeepAlive On and KeepAliveTimeout 5
B.DirectoryIndex index.php index.html
C.Listen 80 without SSLVirtualHost configuration
D.mod_security (Web Application Firewall engine)
E.mod_headers configured to enforce HTTP Strict Transport Security (HSTS)
AnswersD, E

mod_security provides real-time web application monitoring, logging, and access control filtering.

Why this answer

mod_headers (for security headers like HSTS and CSP) and mod_security (Web Application Firewall engine) enhance Apache security.

25
MCQhard

A security engineer is configuring AWS Key Management Service (KMS) for an application storing customer data in Amazon S3 buckets. The security policy dictates that the Customer Master Key (CMK) must be automatically rotated every year, and the key material must be managed within a dedicated hardware security module. Which KMS key type and rotation setting fulfill these requirements?

A.S3 Master Symmetric Key with client-side PGP encryption keys
B.External Key Store (XKS) with static key material managed on-premise without rotation
C.Customer Managed Key (CMK) with automatic annual key rotation enabled and backed by AWS CloudHSM
D.AWS Managed Key with manual rotation every 90 days via CLI
AnswerC

Customer Managed Keys allow enabling automatic annual key rotation and integration with CloudHSM for hardware-backed security.

Why this answer

AWS KMS Customer Managed Keys (CMKs) support automatic annual key rotation (setting rotation to true) and can be backed by AWS CloudHSM via Custom Key Store integration.

26
MCQhard

An organization is implementing database encryption in Oracle Database 19c and wants to protect specific sensitive columns containing Social Security Numbers using Advanced Security Transparent Data Encryption (TDE). Which SQL command correctly creates a table with a column encrypted using AES256?

A.CREATE ENCRYPTED TABLE employee (ssn VARCHAR2(11)) STORAGE ENGINE INNODB_TDE;
B.CREATE TABLE employee (ssn VARCHAR2(11) ENCRYPT USING 'AES256' IDENTIFIED BY master_key);
C.CREATE TABLE employee (ssn VARCHAR2(11) ENCRYPT USING 'AES256');
D.ALTER DATABASE ENCRYPT COLUMN ssn WITH ALGORITHM = 'AES256';
AnswerC

Oracle allows column-level encryption using the ENCRYPT keyword and algorithm specification directly in the column definition.

Why this answer

In Oracle TDE Column Encryption, the ENCRYPT specification with the desired algorithm (e.g., USING 'AES256') is declared directly on the column definition within the CREATE TABLE statement.

27
MCQeasy

A security engineer is configuring a Symantec Data Loss Prevention (DLP) Network Monitor policy to intercept outgoing HTTP traffic containing credit card numbers. Which detection technology should be selected to match standard credit card formats using Luhn algorithm validation?

A.Exact Data Matching (EDM)
B.Described Content Matching (DCM) with a Data Identifier utilizing Luhn algorithm validation
C.Indexed Document Matching (IDM)
D.Vector Machine Learning (VML)
AnswerB

Data Identifiers in Symantec DLP use regular expressions combined with algorithmic validation like the Luhn check for credit cards.

Why this answer

Symantec DLP uses Exact Data Matching (EDM), Described Content Matching (DCM) / Regular Expressions with Luhn validation, or Indexed Document Matching (IDM). DCM combined with validation algorithms matches standard patterns like credit cards.

28
MCQmedium

An application security team is performing static code analysis on a Java Spring Boot web application. The scanner flags a potential SQL injection vulnerability in a JDBC template query. Which remediation method should the developer implement to secure the database interaction?

A.Invoke the java.net.URLEncoder.encode() method on all parameters
B.Wrap all input strings inside single quotes and strip out semicolon characters
C.Use parameterized queries and PreparedStatement objects with placeholder parameters
D.Sanitize all input characters using HTML entity encoding before passing them to the database driver
AnswerC

Parameterized queries separate query structure from user data, safely neutralizing SQL injection attacks.

Why this answer

Using parameterized queries (PreparedStatements) ensures that user-supplied input is treated strictly as data, never as executable SQL commands, neutralizing SQL injection.

29
MCQhard

An enterprise security auditor is reviewing an Elasticsearch cluster configuration. To prevent unauthorized access to stored indices containing sensitive PII and financial records, which authentication and transport layer security (TLS) settings must be enforced?

A.xpack.security.enabled: true and xpack.security.transport.ssl.enabled: true in elasticsearch.yml
B.http.cors.enabled: true and http.cors.allow-origin: "*"
C.cluster.routing.allocation.enable: all and network.host: 0.0.0.0
D.discovery.type: single-node without password configuration
AnswerA

These specific Elasticsearch configuration settings enable cluster security features and TLS encryption for transport.

Why this answer

In Elasticsearch Security (formerly X-Pack), setting xpack.security.enabled: true and xpack.security.transport.ssl.enabled: true enforces node-to-node and client-to-cluster TLS encryption and authentication.

30
MCQmedium

A software developer is writing a Python Flask web application that accepts file uploads from users. To prevent arbitrary file upload vulnerabilities leading to Remote Code Execution (RCE), which validation procedure must the developer implement?

A.Pass the uploaded file directly to the operating system's eval() function
B.Validate the file's magic bytes (header signature), enforce an extension whitelist, and store files outside the web root
C.Compress the uploaded file using ZIP format before saving
D.Check only the filename extension provided in the client's HTTP multipart header
AnswerB

Checking magic bytes and enforcing an extension whitelist ensures the uploaded file is genuinely of the expected type.

Why this answer

Validating the file extension against an explicit whitelist, inspecting the file's magic bytes (file signature), and storing uploaded files outside the web root with randomized filenames prevents RCE.

31
Multi-Selecthard

A cybersecurity architect is designing an enterprise Data Loss Prevention (DLP) deployment strategy across endpoint, network, and storage vectors. Which THREE technical capabilities are standard functions of enterprise storage discovery DLP tools?

Select 3 answers
A.Executing automated remediation tasks such as quarantining, encrypting, or deleting discovered sensitive files
B.Scanning file shares and NAS devices for unencrypted sensitive files (e.g., PII, financial records)
C.Inspecting live bidirectional SIP VoIP voice call streams for rogue credit card dictation
D.Querying relational databases (e.g., Oracle, SQL Server) for columns containing unprotected credit card numbers
E.Intercepting local USB thumb drive file copy operations inline on endpoints
AnswersA, B, D

Discovery DLP tools can automatically apply remediation policies to secure or remove misplaced sensitive files.

Why this answer

Storage discovery DLP tools scan repositories like file shares, databases, and cloud storage for sensitive unencrypted data at rest.

32
MCQeasy

An organization wants to secure data in transit between microservices communicating within a Kubernetes cluster. Which service mesh technology provides mutual TLS (mTLS) encryption automatically between service pods without modifying application code?

A.Kubernetes Ingress Controller with basic HTTP routing
B.Istio with Envoy sidecar proxies enforcing automatic mTLS
C.Docker Swarm overlay networking with IPsec tunneling
D.Apache ZooKeeper configuration management service
AnswerB

Istio uses Envoy sidecars to transparently encrypt service-to-service traffic using mTLS.

Why this answer

Istio (or Linkerd) is a service mesh that injects sidecar proxies (like Envoy) to automatically handle mutual TLS (mTLS) between Kubernetes pods.

33
MCQeasy

A security practitioner is deploying an intrusion prevention system (IPS) rule to detect XML External Entity (XXE) injection attacks in HTTP POST requests. Which core feature of an XML parser is being abused in an XXE attack and must be disabled?

A.Support for HTTP chunked transfer encoding
B.Support for UTF-8 character encoding
C.Support for JSON serialization and deserialization
D.Support for Document Type Definitions (DTDs) and external entity references
AnswerD

Disabling DTDs and external entity loading in XML parsers prevents XXE vulnerabilities.

Why this answer

XXE attacks exploit vulnerable XML parsers that permit the parsing of Document Type Definitions (DTDs) containing external entity references.

34
Multi-Selecthard

An organization is implementing database transparent data encryption (TDE) and needs to understand its architectural security boundaries. Which THREE security characteristics or limitations are true regarding TDE?

Select 3 answers
A.TDE does not protect data in memory (RAM) or prevent authorized database users/administrators with SELECT privileges from viewing decrypted data
B.TDE prevents SQL injection attacks by automatically sanitizing all incoming query parameters
C.TDE does not protect data in transit across the network between client applications and the database server
D.TDE encrypts database data files, log files, and backups at rest on storage media
E.TDE eliminates the need for database user access controls and role-based permissions
AnswersA, C, D

Once data is loaded into memory or accessed by authenticated users, TDE does not restrict query visibility.

Why this answer

TDE protects data at rest on disk and backup files, but does not protect data in transit or data accessed in memory while the database is running.

35
MCQeasy

An organization is implementing database activity monitoring (DAM) to detect unauthorized data access and SQL injection attempts against their enterprise SQL Server databases. Where should the DAM sensor ideally be placed to capture all database queries accurately without relying solely on database logs?

A.Network tap / SPAN port capturing database protocol traffic or host-based driver interceptors
B.On the perimeter firewall inspecting ICMP echo requests
C.At the corporate DNS resolver cache
D.As an SMTP email gateway relay filter
AnswerA

Network taps or host interceptors capture all SQL traffic directly, bypassing database log tampering.

Why this answer

Database Activity Monitoring (DAM) appliances often use network sniffing (passive tap/SPAN port) or lightweight software agents installed on the database host to inspect queries independently of database transaction logs.

36
MCQhard

An enterprise application developer is implementing JSON Web Tokens (JWT) for stateless session authentication. Which implementation flaw represents the highest risk of signature forgery and unauthorized privilege escalation?

A.Setting an expiration time (exp claim) of 15 minutes
B.Failing to strictly validate the JWT algorithm header, allowing 'none' or asymmetric-to-symmetric key confusion (RS256 to HS256)
C.Storing the JWT inside an HTTP-only Secure cookie instead of localStorage
D.Including the user's role claim inside the public payload section
AnswerB

Allowing 'none' algorithms or key confusion attacks enables attackers to forge valid signatures for any administrative user ID.

Why this answer

Accepting 'none' as a valid algorithm or failing to verify the cryptographic signature (e.g., confusing RS256 with HS256 where the public key is treated as the HMAC secret) allows attackers to forge arbitrary JWT payloads.

Ready to test yourself?

Try a timed practice session using only Application And Data Protection questions.