Courseiva

CCNA Infrastructure And System Security Questions

67 questions · Infrastructure And System Security topic · All types, answers revealed

1
Multi-Selecteasy

Which THREE of the following are components of a defense-in-depth strategy?

Select 3 answers
A.Allowing all traffic on all ports.
B.Ignoring all logs.
C.Network-based IDS/IPS.
D.Host-based firewalls.
E.Application-level authentication.
AnswersC, D, E

Another layer of defense.

Why this answer

Defense-in-depth uses layers of security including host, network, and application controls.

2
MCQhard

You are designing a Zero Trust architecture in AWS. You need to implement micro-segmentation for a set of EC2 instances running a web application. Which AWS feature provides the most granular control over traffic flow between specific instances within the same VPC subnet?

A.Security Groups
B.AWS PrivateLink
C.AWS Transit Gateway Route Tables
D.Network Access Control Lists (NACLs)
AnswerA

Security Groups act as a virtual firewall for EC2 instances to control inbound and outbound traffic.

Why this answer

Security Groups are stateful and provide instance-level (interface-level) filtering, making them the appropriate tool for micro-segmentation within a subnet.

3
Multi-Selectmedium

Which TWO of the following are essential for protecting against SQL Injection?

Select 2 answers
A.Using dynamic SQL building in code.
B.Using parameterized queries (prepared statements).
C.Disabling error logging entirely.
D.Validating and sanitizing all user inputs.
E.Running the database as root.
AnswersB, D

The most effective defense against SQLi.

Why this answer

Prepared statements and input validation are the primary defenses against SQLi.

4
MCQeasy

Which security measure is most effective at preventing unauthorized access to a physical data center?

A.Layered physical access controls.
B.Complex password requirements.
C.A robust firewall configuration.
D.Implementing an EDR solution.
AnswerA

Physical barriers are the only defense against physical intrusion.

Why this answer

Layered physical security (e.g., mantraps, badge access, surveillance) provides the most comprehensive defense for physical infrastructure.

5
MCQeasy

Which protocol should be prioritized when designing a secure logging infrastructure to prevent log tampering?

A.Cleartext HTTP.
C.TLS-encrypted logging stream.
D.SNMP v1.
AnswerC

TLS provides both encryption and data integrity for log transport.

Why this answer

Syslog-ng or TLS-based transport ensures that logs are encrypted in transit and can be digitally signed to prevent tampering by an attacker.

6
Multi-Selecteasy

Which THREE of the following are common network security architecture tools?

Select 3 answers
A.Intrusion Detection System (IDS).
B.VPN.
D.Unencrypted Telnet.
E.Cleartext FTP server.
AnswersA, B, C

Essential for monitoring and alerting.

Why this answer

Firewalls, IDS/IPS, and VPNs are foundational components of a secure network architecture.

7
MCQeasy

To secure internal traffic within a VMware NSX-T environment using distributed firewalling, which object type is recommended for defining policies based on application identity rather than network topology?

A.MAC Sets
B.Logical Ports
C.IP Sets
D.Security Groups
AnswerD

Security Groups support dynamic membership based on tags, facilitating intent-based policy.

Why this answer

Security Groups in NSX-T allow administrators to bundle virtual machines based on tags or attributes, enabling identity-based micro-segmentation that persists regardless of IP changes.

8
MCQeasy

What is the primary security goal of an 'Air-Gapped' network segment?

A.To increase network bandwidth.
B.To simplify patch management.
C.To eliminate the possibility of remote network-based exploitation.
D.To improve log collection.
AnswerC

Physical isolation prevents all network-based access.

Why this answer

Total physical isolation ensures that no network traffic can enter or leave the segment, protecting critical systems from remote attacks.

9
MCQeasy

A company is moving to a multi-tenant SaaS environment. To ensure data isolation between tenants at the application layer, what is the most robust strategy?

A.Use Row-Level Security (RLS) within the database engine.
B.Use separate VPCs for every tenant.
C.Implement application-level filtering in the code.
D.Create separate database instances for every single tenant.
AnswerA

RLS provides strong, built-in isolation at the data tier.

Why this answer

Row-level security (RLS) or tenant-aware database schemas ensure that even if an application query is malformed, the database enforces isolation based on the tenant ID.

10
MCQhard

You are auditing a serverless architecture and find that functions are configured to use 'Public' network access. What is the biggest risk?

A.Higher cost of execution.
B.Inability to use environment variables.
C.Exposure of the function's endpoint to the public internet.
D.Increased latency.
AnswerC

This exposes the attack surface and prevents internal network isolation.

Why this answer

If a function is not in a private VPC, it cannot interact with internal resources securely and is exposed to potential internet-based discovery and interaction.

11
MCQhard

A security engineer is hardening a Linux system. Which kernel-level feature should be used to restrict processes so that even if they are compromised, they cannot access unauthorized files?

A.Sudoers file.
B.SELinux (Mandatory Access Control).
C.Standard Linux Permissions (rwx).
D.Cgroups.
AnswerB

MAC provides a system-wide policy that is enforced regardless of user uid.

Why this answer

SELinux (or AppArmor) uses Mandatory Access Control (MAC) to restrict process capabilities based on security policies, regardless of user privileges.

12
MCQhard

A security architect is designing an authentication flow for a distributed system. Which method provides the best defense against replay attacks?

A.Using IP-based restriction.
B.Using short-lived tokens with nonces.
C.Using long-lived API keys.
D.Enabling HTTPS for all traffic.
AnswerB

Nonces and short lifespans prevent attackers from reusing captured credentials.

Why this answer

Using a nonce or a short-lived token with a timestamp ensures that each authentication request is unique and can only be processed once.

13
Multi-Selectmedium

Which THREE of the following are indicators of a potential system compromise?

Select 3 answers
A.Normal user logons.
B.Unexpected outbound network traffic.
C.Scheduled system backups.
D.Unusual login times or locations.
E.Unauthorized modification of system files.
AnswersB, D, E

Common sign of C2 activity.

Why this answer

Unusual login times, unauthorized file modification, and unexpected network traffic are common indicators of compromise (IoC).

14
MCQmedium

A company is implementing database encryption at rest. What is the most secure way to handle the master encryption keys?

A.Encrypt the keys with a password and store them in the database.
B.Hardcode keys into the application environment variables.
C.Store keys in a configuration file on the database server.
D.Use a Hardware Security Module (HSM).
AnswerD

HSMs are specifically designed for the secure management of cryptographic keys.

Why this answer

Using a FIPS 140-2 Level 3 Hardware Security Module (HSM) ensures that the master keys are never exposed in plaintext and are protected by tamper-evident hardware.

15
MCQmedium

You are configuring an F5 BIG-IP LTM (Local Traffic Manager). You need to terminate SSL/TLS connections at the load balancer to inspect decrypted traffic before forwarding it to the backend web servers. Which object must you configure?

A.Server SSL Profile
B.Client SSL Profile
C.SNAT Pool
D.iRule
AnswerB

The Client SSL profile is applied to the Virtual Server to decrypt traffic arriving from the client.

Why this answer

A Client SSL profile is required on the Virtual Server to handle the decryption of traffic from the client.

16
Multi-Selectmedium

Which THREE of the following are core principles of a Zero Trust Architecture (ZTA)?

Select 3 answers
A.Trust all internal network traffic.
B.Use static, long-lived access tokens.
C.Always verify explicitly.
D.Assume breach.
E.Use least privileged access.
AnswersC, D, E

This is a core ZTA principle.

Why this answer

Zero Trust relies on explicit verification, least privilege, and assuming breach, rather than perimeter-based defense.

17
MCQeasy

Which mechanism is best suited for securing internal web traffic using mutual authentication at the TLS layer?

A.OAuth 2.0 Client Credentials flow.
B.HTTP Basic Authentication over HTTPS.
C.IP address filtering on the load balancer.
D.Mutual TLS (mTLS) with client certificates.
AnswerD

mTLS is the industry standard for secure service-to-service communication.

Why this answer

Mutual TLS (mTLS) requires both the client and the server to present valid X.509 certificates, proving the identity of both parties.

18
MCQhard

An organization is migrating to a serverless architecture. Which security control is most effective at preventing 'Insecure Serverless Function Configuration' attacks?

A.Monitor CloudWatch logs for abnormal function execution.
B.Enable runtime application self-protection (RASP).
C.Implement CI/CD pipeline security and IaC scanning.
D.Regularly rotate the function's execution role.
AnswerC

Preventative scanning of IaC is the best way to catch configuration drift before deployment.

Why this answer

Using Infrastructure as Code (IaC) scanning tools to audit function configurations before deployment ensures that least privilege and networking are correctly applied.

19
MCQhard

You are implementing DNS Security (DNSSEC). What is the primary benefit of this implementation?

A.It verifies the integrity and origin of DNS responses.
B.It hides DNS queries from ISP monitoring.
C.It prevents DDoS attacks against DNS servers.
D.It increases the speed of DNS resolution.
AnswerA

This is the core purpose of DNSSEC signing.

Why this answer

DNSSEC provides cryptographic authentication of DNS data, preventing DNS spoofing and cache poisoning attacks by verifying that records have not been modified.

20
MCQmedium

An organization is deploying an EDR solution across their endpoints. To ensure maximum visibility without crashing legacy applications, what is the best deployment strategy?

A.Push a mass deployment with blocking enabled immediately.
B.Deploy to a pilot group in 'Audit Mode' first.
C.Manually install the agent on every endpoint.
D.Exempt all legacy applications from EDR monitoring.
AnswerB

This enables testing and tuning before full-scale enforcement.

Why this answer

Phased rollout starting with 'Audit Mode' allows the organization to baseline behavior and identify potential conflicts before enforcing blocking actions.

21
MCQmedium

A security architect needs to implement a WAF to protect an API. Which feature is most critical to prevent BOLA (Broken Object Level Authorization) attacks?

A.SQL injection filtering.
B.DDoS rate limiting.
C.API Schema Validation (OpenAPI/Swagger).
D.Geo-blocking.
AnswerC

Validating the structure and parameters helps prevent malicious object ID manipulation.

Why this answer

BOLA attacks involve manipulating object identifiers in API calls. While a WAF can help, API schema validation and strict parameter checking are critical.

22
MCQhard

You are architecting a cloud-based application that needs to share secrets between two different cloud environments (AWS and Azure). What is the most secure way to exchange credentials?

A.Use OIDC federation between cloud providers.
B.Email the credentials to the other team.
C.Use a shared S3 bucket to store keys.
D.Hardcode credentials in both environments.
AnswerA

OIDC provides a standardized and secure way to exchange identity claims.

Why this answer

Using a federation-based approach with an identity provider that supports OIDC (OpenID Connect) allows for secure, temporary, and audited credential exchange without storing static long-lived keys.

23
Multi-Selecthard

You are deploying a Zero Trust architecture for a remote workforce. Which THREE of the following technologies should be implemented to effectively enforce granular access control at the application layer?

Select 3 answers
A.Traditional VPN
B.Network Perimeter Firewall
C.Policy-Based Access Control (PBAC)
D.Identity-Aware Proxy (IAP)
E.Micro-segmentation
AnswersC, D, E

Uses attributes for fine-grained authorization decisions.

Why this answer

Micro-segmentation, Identity-Aware Proxy (IAP), and Policy-Based Access Control (PBAC) are pillars of modern Zero Trust architecture.

24
Multi-Selecthard

Which THREE of the following are risks associated with using shared cloud storage buckets?

Select 3 answers
A.Cloud provider outage.
B.Accidental public access.
C.Lack of encryption at rest.
D.Excessive bandwidth usage.
E.Missing object versioning.
AnswersB, C, E

A leading cause of data breaches.

Why this answer

Public access, lack of encryption, and missing object versioning are common risks.

25
MCQeasy

A security administrator is hardening a Windows Server 2022 environment. They need to ensure that local administrative accounts cannot be used to remotely log into other servers in the domain. Which Active Directory Group Policy setting should be configured?

A.Minimum Password Length
B.Audit Logon Events
C.Account Lockout Threshold
D.User Rights Assignment: Deny log on through Remote Desktop Services
AnswerD

This policy prevents specific users or groups from using RDP to access the target machine.

Why this answer

Restricted Groups or the newer 'Group Policy Preferences > Local Users and Groups' can be used, but specifically, to mitigate lateral movement, 'Deny log on through Remote Desktop Services' is the standard hardening control for local admins.

26
Multi-Selecthard

A security architect is hardening a Linux-based server environment. Which TWO of the following kernel-level security modules should be configured to enforce mandatory access control?

Select 2 answers
A.AppArmor
B.iptables
C.SELinux
D.Auditd
E.PAM
AnswersA, C

AppArmor uses profiles to restrict programs to a limited set of resources.

Why this answer

SELinux and AppArmor are the two industry-standard Linux kernel security modules that enforce mandatory access control (MAC).

27
MCQmedium

You are configuring a load balancer for a secure web application. Which setting ensures that cookies are protected?

A.Enabling HTTP/2.
B.Increasing cookie expiration time.
C.Disabling session persistence.
D.Setting the 'Secure' and 'HttpOnly' flags.
AnswerD

These are essential for hardening cookies against interception and XSS.

Why this answer

The 'Secure' and 'HttpOnly' flags prevent cookies from being sent over unencrypted connections and restrict access via client-side scripts, mitigating XSS.

28
MCQhard

In a VMware NSX-T environment, you need to implement a 'Distributed Firewall' (DFW) policy that separates traffic based on the application tier regardless of which ESXi host the VM is running on. What is the primary object used to achieve this logical grouping?

A.VLAN ID
B.NSX Groups
C.Logical Switch Port ID
D.Physical NIC MAC Address
AnswerB

NSX Groups allow for dynamic membership based on tags or attributes, enabling policy application regardless of host location.

Why this answer

NSX-T uses 'Groups' based on dynamic criteria (tags, VM names, etc.) to apply DFW rules consistently across the infrastructure.

29
MCQmedium

A developer needs to store sensitive secrets for an application. Which approach is considered the industry standard for cloud environments?

A.Using a cloud provider's Secret Management service.
B.Hardcoding them in a secure configuration file.
C.Storing them in Git using an encrypted file.
D.Passing them as command-line arguments at runtime.
AnswerA

Managed services provide auditability, rotation, and lifecycle management.

Why this answer

Using a dedicated secret management service (e.g., AWS Secrets Manager, Azure Key Vault) allows for secure storage, automatic rotation, and granular access control.

30
Multi-Selectmedium

You are configuring AWS S3 bucket security for sensitive data. Which THREE of the following are best practices to prevent unauthorized public access?

Select 3 answers
A.Apply a bucket policy with an explicit Deny for s3:PutObject for unauthenticated users
B.Enable S3 Block Public Access at the bucket level
C.Enable Server-Side Encryption with KMS
D.Enable S3 Block Public Access at the account level
E.Use IAM users for all S3 interactions
AnswersA, B, D

Explicit Deny statements always override Allow statements.

Why this answer

Block Public Access settings at the account level, using Bucket Policies with Deny statements, and enforcing S3 Block Public Access at the bucket level are the primary defense-in-depth measures.

31
MCQmedium

Which feature is essential for protecting against 'Credential Stuffing' attacks on an enterprise authentication portal?

A.Limiting the password character set.
B.Implementing Multi-Factor Authentication (MFA).
C.Increasing the session timeout.
D.Implementing a strong password policy.
AnswerB

MFA is the standard defense against stolen credentials.

Why this answer

Multi-Factor Authentication (MFA) is the most effective defense against credential stuffing because compromised passwords alone are insufficient to gain access.

32
Multi-Selecthard

Which TWO of the following are key requirements for securing a container orchestrator like Kubernetes?

Select 2 answers
A.Exposing the Kube API to the public internet.
B.Running all pods with root privileges.
C.Implementing Network Policies to restrict pod communication.
D.Disabling RBAC.
E.Securing the etcd datastore with encryption.
AnswersC, E

This enforces segmentation within the cluster.

Why this answer

Securing Kubernetes requires protecting the control plane and enforcing isolation through policies.

33
MCQmedium

When configuring Cisco ASA firewalls for high availability, which protocol is used to maintain state information between the primary and standby units?

A.Stateful Failover (Failover Link)
AnswerA

The failover link specifically synchronizes firewall connection state tables.

Why this answer

The Cisco Failover Link is used to synchronize the state table, session information, and configuration between the active and standby units.

34
MCQhard

A security engineer is designing a zero-trust architecture for a hybrid environment. They need to ensure that local service-to-service communication is encrypted without modifying application code. Which tool should be used?

A.Implement IPsec tunnels between all application servers.
B.Hardcode SSL libraries into each application binary.
C.Deploy a global VPN concentrator for all intra-datacenter traffic.
D.Configure Istio with an mTLS PeerAuthentication policy.
AnswerD

This enforces mTLS for all services within the mesh automatically.

Why this answer

A service mesh, such as Istio, provides mutual TLS (mTLS) for all service-to-service communication transparently through sidecar proxies, requiring no application changes.

35
MCQmedium

You are configuring a Palo Alto Networks NGFW to secure traffic between a database zone and an application zone. To ensure that only specific SQL queries are allowed while preventing SQL injection, which specific security feature must be configured within the Security Profile?

A.Vulnerability Protection Profile
B.Data Filtering Profile
C.URL Filtering Profile
D.App-ID based policy enforcement
AnswerA

Vulnerability protection profiles include signature-based matching to detect and block exploits such as SQL injection.

Why this answer

Vulnerability protection profiles allow for specific signatures to be applied to block SQL injection attempts at the application layer.

36
MCQmedium

When designing a secure API, which protocol is recommended for authorization?

B.SAML 2.0.
C.OAuth 2.0.
D.LDAP.
AnswerC

OAuth 2.0 is designed specifically for API authorization delegation.

Why this answer

OAuth 2.0 is the industry-standard authorization framework for enabling third-party applications to obtain limited access to an HTTP service.

37
MCQmedium

A security architect is configuring IPsec VPN tunnels between two data centers. Which encryption standard provides the best balance of security and modern performance?

A.AES-GCM.
B.3DES
C.Blowfish
D.DES
AnswerA

AES-GCM is a modern, authenticated encryption standard.

Why this answer

AES-GCM is the preferred choice for modern IPsec tunnels because it provides both confidentiality and authentication (AEAD) with hardware acceleration.

38
MCQmedium

You need to protect a legacy web application that cannot be patched. What is the best strategy?

A.Disable all logging.
B.Deploy a WAF to provide virtual patching.
C.Migrate the app to a new language.
D.Isolate the server on an isolated VLAN.
AnswerB

Virtual patching through a WAF is the standard defense for unpatchable legacy apps.

Why this answer

Placing a Web Application Firewall (WAF) or an RASP solution in front of the application can filter malicious traffic before it reaches the vulnerable application.

39
MCQhard

You are designing a secure data enclave using Confidential Computing. Which technology allows you to verify that the code running inside the TEE (Trusted Execution Environment) has not been tampered with?

A.Remote Attestation.
B.Encrypted Page Tables.
C.Hardware Root of Trust (RoT).
D.Signed firmware updates.
AnswerA

Remote attestation is the mechanism to verify code integrity in a TEE.

Why this answer

Remote Attestation allows a third party to verify the measurement (hash) of the code and the state of the TEE before providing sensitive keys.

40
MCQmedium

An organization is deploying Azure Kubernetes Service (AKS). To enforce organizational compliance, they must restrict which container images can be deployed. What is the most effective approach?

A.Assign RBAC roles to all developers to prevent image pull actions.
B.Modify the Kubelet configuration files directly on the nodes.
C.Configure the Azure CLI to deny access to unauthorized ACR registries.
D.Use the Azure Policy add-on for Kubernetes to enforce an 'Allowed Container Images' policy.
AnswerD

This acts as an admission controller to block non-compliant deployments.

Why this answer

Azure Policy for Kubernetes provides built-in policies to restrict container image registries and enforce image tagging, ensuring only trusted images are deployed.

41
MCQmedium

An organization is using Infrastructure as Code (IaC) to deploy resources. How can they ensure that developers do not introduce insecure configurations?

A.Only allow senior architects to deploy resources.
B.Relying on developers to perform self-audits.
C.Automated Policy-as-Code scanning in the CI/CD pipeline.
D.Manual code review of all commits.
AnswerC

This provides early, consistent, and scalable security validation.

Why this answer

Integrating automated policy-as-code tools (e.g., Checkov, Open Policy Agent) into the CI/CD pipeline enables automatic detection of misconfigurations before deployment.

42
Multi-Selecthard

Which THREE of the following are critical for a secure identity architecture?

Select 3 answers
A.Enforcing Multi-Factor Authentication (MFA).
B.Sharing accounts between users.
C.Regular audit of identity permissions.
D.Using passwords as the only factor.
E.Granting least privilege access.
AnswersA, C, E

Standard for securing identities.

Why this answer

Multi-factor authentication, least privilege, and robust auditing are required for identity security.

43
Multi-Selectmedium

Which THREE of the following are valid security controls for a database?

Select 3 answers
A.Allowing anonymous access for testing.
B.Enabling audit logging.
C.Storing database credentials in plain text.
D.Encryption at rest.
E.Strong access control lists (ACLs).
AnswersB, D, E

Essential for monitoring and accountability.

Why this answer

Encryption, auditing, and access control are fundamental database security controls.

44
MCQmedium

You are designing a VPC architecture in AWS. You need to ensure that database instances in a private subnet can download patches from the internet without being directly reachable from the public internet. Which architecture component should you deploy?

A.Internet Gateway
B.VPC Endpoint
D.Egress-Only Internet Gateway
AnswerC

A NAT Gateway is specifically designed to allow private instances to initiate outbound traffic while blocking inbound requests.

Why this answer

A NAT Gateway allows instances in a private subnet to connect to the internet (e.g., for software updates) while preventing the internet from initiating a connection with those instances.

45
Multi-Selectmedium

Which THREE of the following items should be addressed when designing a secure remote access architecture for a hybrid cloud environment using a VPN gateway?

Select 3 answers
A.Public IP address assignment for all internal nodes
B.AES-256 encryption for the IKE/IPsec tunnel
C.Multi-Factor Authentication (MFA) integration
D.Role-Based Access Control (RBAC) at the gateway
E.Disabling logging to reduce overhead
AnswersB, C, D

Strong encryption is required to protect the confidentiality of the transit traffic.

Why this answer

A secure design requires robust authentication (MFA), transport security (encryption), and granular authorization (least privilege).

46
MCQeasy

When designing a secure network, which zone should host public-facing services to minimize the risk of lateral movement to internal networks?

A.Management LAN.
B.DMZ (Demilitarized Zone).
C.User Access Subnet.
D.Back-end database subnet.
AnswerB

The DMZ is the classic architectural pattern for isolating public-facing services.

Why this answer

The DMZ (Demilitarized Zone) acts as a buffer, isolating public services from the internal trusted network.

47
Multi-Selectmedium

Which THREE of the following are best practices for securing a remote worker's endpoint?

Select 3 answers
A.EDR solution for threat monitoring.
B.Disabling the lock screen.
C.Always-on VPN.
D.Using a shared local account.
E.Full-disk encryption (FDE).
AnswersA, C, E

Essential for detecting threats.

Why this answer

Endpoint protection, disk encryption, and VPN usage are critical for remote endpoints.

48
MCQmedium

A security engineer needs to secure SSH access to Linux servers in a cloud VPC. What is the most secure method to replace static SSH keys?

A.Implement an SSH Certificate Authority (CA) system.
B.Restrict SSH to a hardened bastion host.
C.Use a central password manager to rotate keys.
D.Require MFA for every single SSH connection.
AnswerA

SSH CAs allow for identity-based, short-lived certificate issuance.

Why this answer

Short-lived, ephemeral SSH certificates generated by an Identity Provider (IdP) eliminate the need for static, long-lived keys.

49
Multi-Selecthard

Which TWO of the following are key benefits of 'Immutable Infrastructure'?

Select 2 answers
A.Increases administrative overhead.
B.Reduces disk space usage.
C.Prevents configuration drift.
D.Enables reliable automated recovery.
E.Allows manual patching on live servers.
AnswersC, D

Ensures consistent state.

Why this answer

Immutability prevents configuration drift and allows for rapid recovery.

50
MCQmedium

You are deploying a HashiCorp Vault cluster for secret management. To ensure that the root keys are never held by a single administrator, which mechanism must you enable during the initialization process?

A.Transit Secret Engine
B.Shamir's Secret Sharing
C.Token Authentication
D.Auto-Unseal via AWS KMS
AnswerB

This algorithm splits the master key into shares, requiring a defined threshold to reconstitute the key.

Why this answer

Vault utilizes Shamir's Secret Sharing to split the unseal key into multiple shares, requiring a quorum to unseal the vault.

51
MCQmedium

You are designing a Zero Trust architecture in AWS. Which mechanism should you implement to enforce granular access control between microservices running in EKS without relying on traditional IP-based security groups?

A.VPC Flow Logs
B.AWS WAF
C.Security Groups for Pods
D.AWS App Mesh with Envoy sidecars
AnswerD

App Mesh uses Envoy proxies to manage traffic, providing identity-based security rather than network-layer security.

Why this answer

AWS App Mesh provides application-level networking, allowing for service-to-service communication control using mutual TLS (mTLS) and fine-grained traffic routing independent of IP addresses.

52
Multi-Selecthard

You are reviewing the security architecture of a Kubernetes cluster. Which TWO of the following configurations are considered best practices for preventing unauthorized container privilege escalation?

Select 2 answers
A.Using a default Namespace for all workloads
B.Increasing the memory limit for pods
C.Setting allowPrivilegeEscalation to false in the SecurityContext
D.Running containers as a non-root user
E.Enabling ClusterIP services
AnswersC, D

This prevents a process from gaining more privileges than its parent process.

Why this answer

To prevent escalation, you must restrict the container's ability to run as root and prevent it from gaining additional privileges that were not granted at start-up.

53
Multi-Selectmedium

Which THREE of the following are primary components of a typical Cisco ACI (Application Centric Infrastructure) fabric design used to enforce security segmentation?

Select 3 answers
A.Physical Port Security
B.Tenants
C.Contracts
D.Endpoint Groups (EPG)
E.VLAN Tagging
AnswersB, C, D

Tenants represent the highest level of logical separation in the ACI fabric for security and administration.

Why this answer

In Cisco ACI, the EPG, Contract, and Tenant are the fundamental building blocks for security policy definition and isolation.

54
MCQhard

You are auditing a GCP environment. You discover that a Cloud Function is accessing a Cloud Storage bucket using the default Compute Engine service account. What is the primary security risk?

A.Cloud Functions do not support custom service accounts.
B.The storage bucket requires a specific bucket-level IAM policy.
C.The default service account lacks the 'Owner' role.
D.The default service account has excessive permissions and is shared across services.
AnswerD

Using default accounts leads to privilege escalation risks and visibility issues.

Why this answer

The default service account often has 'Editor' permissions on the project, violating the principle of least privilege. It should be replaced with a dedicated, fine-grained identity.

55
Multi-Selectmedium

Which TWO of the following are common methods to protect data during transit?

Select 2 answers
B.TLS 1.3.
C.Cleartext telnet.
D.Storing data on a local drive.
E.HTTP/1.1 (plain).
AnswersA, B

Standard for secure network-to-network traffic.

Why this answer

TLS and IPsec are the primary protocols for protecting data in transit.

56
MCQmedium

To protect against side-channel attacks on shared infrastructure, which hardware feature should be verified on physical host servers?

A.Unified Extensible Firmware Interface (UEFI) Secure Boot.
B.PCIe bus encryption.
C.Trusted Platform Module (TPM) 2.0
D.Hardware-enforced isolation and constant-time execution paths.
AnswerD

These are specific defenses against side-channel analysis.

Why this answer

Constant Time (CT) instructions and hardware-based mitigations like Intel SGX or isolation features prevent information leakage through timing side-channels.

57
Multi-Selecthard

Which TWO of the following are essential for a secure Cloud CI/CD pipeline?

Select 2 answers
A.Implementing automated security scanning (SAST/DAST).
B.Using ephemeral, isolated build runners.
C.Manual approval for every single build.
D.Hardcoding credentials in scripts.
E.Disabling build logs.
AnswersA, B

This finds vulnerabilities early.

Why this answer

Securing the pipeline requires protecting the build environment and ensuring the integrity of the artifacts being deployed.

58
MCQhard

A company is migrating legacy workloads to Azure and requires host-based intrusion detection with file integrity monitoring (FIM) across hybrid environments. Which service provides this integrated capability?

A.Azure Monitor
B.Microsoft Defender for Servers
C.Network Watcher
D.Azure Bastion
AnswerB

This service includes the agent-based FIM and vulnerability assessment capabilities required.

Why this answer

Microsoft Defender for Servers (part of Microsoft Defender for Cloud) provides the integrated FIM and endpoint protection features required for hybrid cloud/on-premises machines.

59
Multi-Selecteasy

Which TWO of the following are fundamental pillars of information security (CIA triad)?

Select 2 answers
A.User Friendliness.
B.Confidentiality.
C.Availability.
D.Cost effectiveness.
E.Performance.
AnswersB, C

One of the three pillars.

Why this answer

The CIA triad consists of Confidentiality, Integrity, and Availability.

60
MCQmedium

A cloud architect is defining a network security architecture for a multi-tier application. How should they protect the application tier from direct internet access?

A.Place the app tier in a private subnet and restrict ingress to the ALB.
B.Use a NACL to block all incoming traffic.
C.Deploy a WAF on each application instance.
D.Attach a public IP to every instance in the app tier.
AnswerA

This is the secure standard for multi-tier application architecture.

Why this answer

Place the application tier in a private subnet with no public IP, and allow traffic only from the Load Balancer (ELB) security group.

61
Multi-Selectmedium

Which TWO of the following are best practices for securing API endpoints?

Select 2 answers
A.Using OAuth/OIDC for authentication.
B.Publicly exposing all internal endpoints.
C.Ignoring input validation.
D.Implementing rate limiting.
E.Requiring no authentication for GET requests.
AnswersA, D

Industry-standard authentication.

Why this answer

Rate limiting and strong authentication are foundational API security practices.

62
MCQeasy

A company is migrating to Microsoft 365. You need to ensure that users are only able to access SharePoint sites from managed devices that are compliant with corporate security policies. Which service provides this conditional access control?

A.SharePoint Online Admin Center
B.Microsoft Purview
C.Microsoft Entra Conditional Access
D.Microsoft Intune
AnswerC

Conditional Access policies evaluate signals, including device compliance, to permit or deny access.

Why this answer

Microsoft Entra ID (formerly Azure AD) Conditional Access policies are used to evaluate device compliance status before granting access to M365 resources.

63
MCQeasy

What is the primary purpose of a TPM chip in a laptop?

A.To increase CPU performance.
B.To accelerate disk encryption.
C.To store cryptographic keys and ensure platform integrity.
D.To provide biometric authentication.
AnswerC

TPM is a hardware root of trust for identity and boot integrity.

Why this answer

The Trusted Platform Module (TPM) stores cryptographic keys, performs hardware-based platform integrity checks, and enables secure boot.

64
MCQeasy

What is the primary function of an EDR (Endpoint Detection and Response) tool compared to traditional Antivirus?

A.To encrypt the hard drive.
B.To provide visibility and response to suspicious behavioral activity.
C.To act as a personal firewall.
D.To block known file-based malware signatures.
AnswerB

EDR provides behavioral analysis and response capabilities.

Why this answer

EDR focuses on continuous monitoring and recording of endpoint activities to enable investigation, threat hunting, and automated response to sophisticated threats.

65
MCQeasy

Which of the following is the most effective way to secure a remote access connection for employees?

A.Using a simple password.
B.VPN with Multi-Factor Authentication (MFA).
C.Allowing SSH access directly from the internet.
D.Opening RDP port 3389 to the world.
AnswerB

This is the industry standard for secure remote access.

Why this answer

A VPN using MFA provides both encryption for the transit path and strong verification of user identity.

66
MCQhard

A security architect is configuring an AWS VPC to ensure that traffic between two subnets is inspected by a centralized firewall appliance. Which configuration provides the most resilient design?

A.Configure static route tables on all subnets to point to the firewall's ENI.
B.Implement a transparent bridge on each EC2 instance in the destination subnet.
C.Utilize AWS Transit Gateway with route tables that hairpin traffic to a security VPC.
D.Deploy a Gateway Load Balancer (GWLB) and use VPC Ingress Routing to route traffic through the fleet.
AnswerD

GWLB is the standard architectural pattern for centralized inspection in AWS.

Why this answer

Using AWS Gateway Load Balancer (GWLB) with VPC Ingress Routing ensures that traffic is transparently intercepted and inspected by the firewall before reaching the destination, providing higher scalability than static routing.

67
MCQhard

An organization is using AWS Control Tower. How should they implement guardrails to ensure that no S3 bucket is ever created publicly, regardless of the IAM user's intent?

A.Set up an AWS Config rule to delete buckets after creation.
B.Configure individual IAM policies for every user.
C.Apply a Service Control Policy (SCP) to the Organizational Unit (OU).
D.Enable S3 Block Public Access at the account level.
AnswerC

SCPs provide a preventative guardrail that cannot be bypassed by IAM users.

Why this answer

Service Control Policies (SCPs) applied at the OU level can explicitly deny the 's3:PutBucketPolicy' action if the bucket is public, overriding any IAM user permissions.

Ready to test yourself?

Try a timed practice session using only Infrastructure And System Security questions.