Courseiva
Security and CompliancemediumMultiple ChoiceObjective-mapped

CLF-C02 Security and Compliance Practice Question

A company's security policy prohibits opening SSH (port 22) or RDP (port 3389) to the internet for any Amazon EC2 instance. The operations team needs a way to establish secure shell sessions to manage instances directly from the AWS Management Console without managing bastion hosts or SSH keys. Which AWS service provides this capability?

⚠ Common exam trap

It's easy for candidates to confuse AWS Certificate Manager (a certificate provisioning service) or AWS CloudHSM (a hardware security module) with a secure access tool, when the correct answer is a systems management service that operates over HTTPS without opening traditional remote access ports.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

AWS Systems Manager Session Manager

AWS Systems Manager Session Manager enables secure shell access to EC2 instances directly from the AWS Management Console without opening inbound ports (22 or 3389) or managing bastion hosts. It uses the SSM Agent and AWS Identity and Access Management (IAM) policies to establish a bidirectional connection over HTTPS (port 443), eliminating the need for SSH keys or public IP addresses. This fully satisfies the security policy requirement while providing the desired management capability.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • AWS Systems Manager Session Manager

    Why this is correct

    Correct. Session Manager offers browser-based shell access to EC2 instances through the AWS Management Console or CLI, using the SSM Agent and without requiring any inbound open ports. It is designed for secure, agent-based instance management.

  • AWS Certificate Manager

    Why it's wrong here

    AWS Certificate Manager (ACM) is a service for provisioning, managing, and deploying public and private SSL/TLS certificates, typically used to secure network traffic to load balancers, CloudFront distributions, or API Gateway endpoints. It does not provide any interactive shell or command execution capability, nor does it involve an agent installed on EC2 instances. Therefore, ACM cannot serve as a secure remote access alternative to SSH or RDP.

    When this WOULD be correct

    A question asking for a service to provision, manage, and deploy public and private SSL/TLS certificates for use with AWS services or internal resources, without needing to handle certificate renewals manually.

  • AWS CloudHSM

    Why it's wrong here

    AWS CloudHSM delivers dedicated hardware security modules (HSMs) in the cloud, enabling you to perform cryptographic operations and store encryption keys in tamper-resistant hardware that meets compliance standards such as FIPS 140-2. While highly useful for key management and cryptographic signing, CloudHSM offers no remote shell functionality and does not connect to EC2 instances for administrative sessions. It is fundamentally a key storage and crypto acceleration service, not a management plane for interactive access.

    When this WOULD be correct

    A question asking for a service to manage cryptographic keys in a dedicated HSM appliance, especially for compliance with FIPS 140-2 Level 3, where you need to offload key generation and storage from application servers.

  • Amazon GuardDuty

    Why it's wrong here

    Amazon GuardDuty is a continuous threat detection service that monitors AWS accounts and workloads using machine learning and threat intelligence on data sources like AWS CloudTrail event logs, VPC Flow Logs, and DNS query logs. It identifies suspicious activity (e.g., compromised credentials, crypto mining, or unusual network patterns) but does not provide any mechanism to open an interactive shell or manage instances. GuardDuty only detects and alerts; it cannot be used to establish a remote session that would otherwise require SSH or RDP.

    When this WOULD be correct

    A question asking: 'Which AWS service continuously monitors for malicious or unauthorized behavior to help protect AWS accounts and workloads?' would make GuardDuty the correct answer.

Option-by-option analysis

Why each answer is right or wrong

Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The CLF-C02 exam frequently reuses these exact scenarios with slightly different constraints.

AWS Systems Manager Session ManagerCorrect answer

Why this is correct

Correct. Session Manager offers browser-based shell access to EC2 instances through the AWS Management Console or CLI, using the SSM Agent and without requiring any inbound open ports. It is designed for secure, agent-based instance management.

AWS Certificate ManagerWrong answer — click to see why

Why this is wrong here

AWS Certificate Manager manages SSL/TLS certificates, not secure shell sessions. It does not provide remote access to EC2 instances.

★ When this WOULD be the correct answer

A question asking for a service to provision, manage, and deploy public and private SSL/TLS certificates for use with AWS services or internal resources, without needing to handle certificate renewals manually.

Why candidates choose this

Candidates may confuse 'secure shell' with 'secure certificates' due to the word 'secure', or think that certificates are required for SSH authentication.

AWS CloudHSMWrong answer — click to see why

Why this is wrong here

AWS CloudHSM provides hardware security modules for cryptographic key storage, not remote shell access to EC2 instances. It cannot establish SSH or RDP sessions.

★ When this WOULD be the correct answer

A question asking for a service to manage cryptographic keys in a dedicated HSM appliance, especially for compliance with FIPS 140-2 Level 3, where you need to offload key generation and storage from application servers.

Why candidates choose this

Candidates may confuse 'secure shell' with 'security' and think CloudHSM provides secure access, or they may misread the question as needing a secure key management solution for instance authentication.

Amazon GuardDutyWrong answer — click to see why

Why this is wrong here

Amazon GuardDuty is a threat detection service that monitors for malicious activity, not a tool for establishing secure shell sessions to manage EC2 instances.

★ When this WOULD be the correct answer

A question asking: 'Which AWS service continuously monitors for malicious or unauthorized behavior to help protect AWS accounts and workloads?' would make GuardDuty the correct answer.

Why candidates choose this

Candidates may confuse GuardDuty's security monitoring capabilities with the ability to provide secure access, or they might think it can manage sessions due to its 'security' label.

Analysis generated from the official CLF-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”

About these practice questions

One of 988 original CLF-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CLF-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CLF-C02 exam.