LFCA practice question 1 of 15

Which measures can be taken to prevent unauthorized access to cloud instances and services?

Full set: 60 questions

Domain Security Fundamentals

Answer options
A: Use multi-factor authentication, implement firewall rules, and back up data off-site.
B: Implement block-chain tokens, use encrypted protocols, and encrypt the data on storage systems.
C: Replicate data to another datacenter, use multi-factor authentication, and encrypt data on storage systems.
D: Implement firewall rules, authentication, authorization, and encrypted protocols. Correct answer
Correct Answer:
D. Implement firewall rules, authentication, authorization, and encrypted protocols.
Explanation

This option provides a comprehensive, multi-layered security strategy that directly addresses the prevention of unauthorized access. Firewall rules act as the first line of defense by controlling network traffic to instances. Authentication validates the identity of a user or service, ensuring they are who they claim to be. Authorization then restricts authenticated users to only the specific resources and actions they are permitted to perform, following the principle of least privilege. Finally, encrypted protocols like SSH and TLS protect credentials and session data from being intercepted during transit, preventing attackers from stealing information to gain unauthorized access. Together, these measures form the foundation of modern access control.

Why Incorrect

A. Backing up data off-site is a crucial disaster recovery and data protection measure, but it does not prevent initial unauthorized access.
B. Encrypting data on storage systems (at-rest) protects data confidentiality if access is already gained; it does not prevent the access itself.
C. Replicating data to another datacenter is a strategy for high availability and disaster recovery, not for preventing unauthorized access.

References

1. AWS Well-Architected Framework: Security Pillar (July 31, 2023). This official vendor documentation outlines best practices for cloud security.

Page 13, "SEC 2: How do you manage identities for people and machines?": Discusses the importance of authentication and authorization (IAM).

Page 21, "SEC 4: How do you protect your networks?": Details the use of firewalls (Security Groups and network ACLs) to control traffic at all layers.

Page 27, "SEC 6: How do you protect your data in transit?": Emphasizes using cryptographic protocols like TLS to secure communications.

2. Google Cloud Security Foundations Guide (Version 3.1, January 2024). This guide provides prescriptive guidance for establishing a secure cloud environment.

Section: "Identity and access management" (Page 18): Covers the principles of authentication and authorization using Google Cloud IAM.

Section: "Network security and firewalls" (Page 26): Explains the role of Virtual Private Cloud (VPC) firewall rules in controlling network access to resources.

3. Red Hat Enterprise Linux 8 Documentation, "Configuring and managing networking". As an official vendor source for a major Linux distribution, this is highly relevant.

Chapter 8, "Using and configuring firewalls": Details the implementation of firewall rules using firewalld to prevent unauthorized network connections.

Chapter 11, "Connecting to systems remotely using OpenSSH": Describes the use of SSH, an encrypted protocol, for secure remote access and authentication.

4. Saltzer, J. H., & Schroeder, M. D. (1975). The Protection of Information in Computer Systems. Proceedings of the IEEE, 63(9), 1278–1308. This foundational academic paper outlines core security principles.

Section I.A.3, "Complete Mediation" (Page 1281): Establishes the principle that every access to every object must be checked for authority (authentication and authorization).

Section I.A.4, "Least Privilege" (Page 1281): Explains that a subject should be given only those privileges necessary to complete its task, which is the core of authorization.

DOI: https://doi.org/10.1109/PROC.1975.9939

Scroll to Top