Amazon AWS Certified CloudOps Engineer – Associate SOA-C03 Practice Test Questions and Exam Dumps Part7 Q121-140

View Full Amazon AWS Certified CloudOps Engineer – Associate SOA-C03 Exam Dumps and Practice Test Dumps

 

Question 121. A company wants to automatically apply security patches to managed EC2 instances during a scheduled maintenance period. Which combination is most appropriate?

  1. Systems Manager Patch Manager and Maintenance Windows
  2. CloudWatch Logs and SNS
  3. AWS Config and CloudTrail
  4. Route 53 and Elastic Load Balancing

Correct Answer: 1. Systems Manager Patch Manager and Maintenance Windows

Explanation:

AWS Systems Manager Patch Manager helps administrators automate the process of scanning managed nodes for missing patches and applying approved patches according to defined patch baselines. Maintenance Windows can be used to control when those patching operations are executed, which is especially useful for production systems where maintenance must occur during approved periods. This combination allows organizations to standardize patch operations while reducing unexpected disruption. Patch Manager addresses the patching activity itself, while Maintenance Windows provide scheduling and execution control. CloudWatch, Config, Route 53, and Elastic Load Balancing provide different operational capabilities and do not directly provide this complete scheduled patch-management workflow.

Question 122. A CloudOps engineer wants to execute the same shell command on 50 managed EC2 instances simultaneously without establishing individual SSH sessions. Which Systems Manager capability should be used?

  1. Parameter Store
  2. Run Command
  3. Inventory
  4. Session Manager

Correct Answer: 2. Run Command

Explanation:

Systems Manager Run Command allows administrators to execute commands remotely on one or many managed instances without manually establishing SSH connections. Administrators can select targets based on instance IDs, tags, or other supported targeting mechanisms and execute predefined or custom commands. This is useful for operational tasks such as restarting services, collecting diagnostic information, changing configuration, or running maintenance scripts across a fleet. Session Manager is intended primarily for interactive sessions, while Parameter Store manages configuration values and Inventory collects instance information. When the requirement is to execute the same command across many managed instances, Run Command is the appropriate capability.

Question 123. An organization wants to ensure that a specific configuration setting remains present on its managed EC2 instances and is automatically corrected if it changes. Which Systems Manager capability is appropriate?

  1. Systems Manager State Manager
  2. Systems Manager Session Manager
  3. Systems Manager Distributor
  4. Systems Manager Inventory

Correct Answer: 1. Systems Manager State Manager

Explanation:

Systems Manager State Manager helps maintain a defined state or configuration on managed nodes. Administrators can create associations that specify desired configurations and schedules for applying them. If a configuration changes, State Manager can help bring the instance back into the defined state according to the association’s configuration. This makes it useful for maintaining consistent operating-system settings, software configurations, and other desired-state requirements across fleets of managed instances. Session Manager provides interactive access, Distributor handles software package distribution, and Inventory gathers metadata. When the requirement is continuous or scheduled enforcement of a desired configuration, State Manager is the appropriate solution.

Question 124. A CloudOps engineer needs to collect detailed information about installed applications and operating-system versions across hundreds of EC2 instances. Which Systems Manager feature should be used?

  1. Automation
  2. Inventory
  3. Maintenance Windows
  4. Session Manager

Correct Answer: 2. Inventory

Explanation:

Systems Manager Inventory collects information about managed nodes, including operating-system details, installed applications, network configuration, and other inventory-related metadata depending on the configured collection settings. This information can help CloudOps teams maintain an accurate view of software deployed across a large fleet. It can also support compliance checks, vulnerability-management processes, software audits, and troubleshooting activities. Automation is designed for executing predefined workflows, Maintenance Windows schedule operational tasks, and Session Manager provides interactive management access. Since the requirement is specifically to gather information about installed software and operating-system versions, Systems Manager Inventory is the appropriate feature.

Question 125. An EC2 instance has an attached EBS volume that is nearly full. The volume type supports Elastic Volumes. What is the recommended operational approach?

  1. Terminate the EC2 instance immediately
  2. Create a new VPC
  3. Modify the EBS volume size and, if required, extend the file system
  4. Replace the instance with an RDS database

Correct Answer: 3. Modify the EBS volume size and, if required, extend the file system

Explanation:

Amazon EBS Elastic Volumes allows supported EBS volumes to be modified while they remain attached to an instance, reducing the need for disruptive replacement operations. An administrator can increase the volume size and, depending on the operating system and file system, perform the necessary steps to extend the file system so that the additional capacity becomes usable. Monitoring disk utilization before the volume reaches full capacity is an important operational practice. The exact file-system procedure depends on the operating system and file-system type. Terminating the instance or creating a new VPC is unnecessary for a supported online EBS expansion.

Question 126. An operations team wants to receive an alert when available disk space on an EC2 instance falls below a specific percentage. Which solution is appropriate?

  1. Install and configure the CloudWatch agent and create a CloudWatch alarm
  2. Enable CloudTrail Insights
  3. Create an S3 Lifecycle rule
  4. Configure a Route 53 health check only

Correct Answer: 1. Install and configure the CloudWatch agent and create a CloudWatch alarm

Explanation:

EC2 does not automatically provide all guest operating-system metrics, including detailed file-system utilization, through standard instance metrics. The CloudWatch agent can collect disk-space information from the operating system and publish the relevant metrics to CloudWatch. A CloudWatch alarm can then monitor the metric and notify administrators when the configured threshold is reached. This creates a complete monitoring workflow from metric collection to automated alerting. CloudTrail Insights analyzes unusual API activity, S3 Lifecycle manages objects, and Route 53 health checks monitor endpoints. Therefore, the CloudWatch agent combined with an alarm is appropriate for disk-space monitoring.

Question 127. An Auto Scaling group should automatically add EC2 instances when average CPU utilization remains above a defined target. Which scaling policy is appropriate?

  1. Scheduled scaling
  2. Target tracking scaling
  3. Manual scaling
  4. Lifecycle hook

Correct Answer: 2. Target tracking scaling

Explanation:

Target tracking scaling allows an Auto Scaling group to maintain a target value for a selected CloudWatch metric, such as average CPU utilization. The Auto Scaling service automatically adjusts the desired capacity to move the workload toward the configured target. This reduces the need for administrators to manually calculate separate scale-out and scale-in thresholds. Target tracking can be useful for workloads where resource demand varies continuously throughout the day. Scheduled scaling is better when demand changes predictably at known times, while lifecycle hooks control instance launch and termination workflows. Therefore, target tracking is appropriate when scaling should respond automatically to a target utilization level.

Question 128. An Auto Scaling group must run additional capacity every weekday between 9 AM and 5 PM because workload demand follows a predictable schedule. Which scaling approach is appropriate?

  1. Scheduled scaling
  2. Target tracking only
  3. Health check replacement
  4. Instance recovery

Correct Answer: 1. Scheduled scaling

Explanation:

Scheduled scaling allows an Auto Scaling group to adjust its desired, minimum, or maximum capacity according to a predefined schedule. It is particularly useful when workload demand follows predictable patterns, such as increased business traffic during working hours. Instead of waiting for a metric to increase before adding capacity, the organization can proactively adjust capacity before the expected demand period begins. Target tracking is more appropriate when capacity should dynamically respond to a metric target rather than a known schedule. Health checks and instance recovery address availability and failure handling rather than predictable capacity planning. Therefore, scheduled scaling matches this scenario.

Question 129. An Application Load Balancer should stop sending new requests to an EC2 instance before the instance is terminated, while allowing existing requests time to finish. Which feature helps provide this behavior?

  1. Connection draining through target deregistration delay
  2. S3 Object Lock
  3. EC2 user data
  4. Route 53 weighted routing

Correct Answer: 1. Connection draining through target deregistration delay

Explanation:

Application Load Balancers use target deregistration delay, commonly associated with connection draining behavior, to allow existing connections to complete before a target is fully removed from service. When a target is deregistered, the load balancer stops sending new requests to it while allowing existing connections an opportunity to finish within the configured period. This is useful during deployments, Auto Scaling termination events, and controlled maintenance because it reduces the risk of abruptly interrupting active requests. The appropriate delay depends on application behavior and request duration. S3 Object Lock, EC2 user data, and Route 53 routing policies do not provide this load-balancer target-draining function.

Question 130. A company uses an Auto Scaling group behind an Application Load Balancer. An instance becomes unhealthy according to the load balancer health check. What can the Auto Scaling group do when configured to use the load balancer health check?

  1. Automatically increase the EBS volume size
  2. Replace the unhealthy instance
  3. Create an S3 bucket
  4. Change the Route 53 domain name

Correct Answer: 2. Replace the unhealthy instance

Explanation:

When an Auto Scaling group is configured to use Elastic Load Balancing health checks, the group can identify instances that the load balancer considers unhealthy. An unhealthy instance can be terminated and replaced so that the group maintains the desired capacity of healthy instances. This helps automate recovery from application-level failures that may not be detected by basic EC2 status checks. The load balancer’s health check configuration should accurately represent whether the application is capable of serving requests. EBS resizing, S3 bucket creation, and Route 53 domain changes are unrelated to automatic instance replacement based on load balancer health.

Question 131. A company wants an EC2 instance to execute initialization commands automatically when it is launched from an AMI. Which feature should be used?

  1. EC2 user data
  2. VPC Flow Logs
  3. CloudTrail trail
  4. S3 Object Lock

Correct Answer: 1. EC2 user data

Explanation:

EC2 user data allows administrators to provide startup configuration or initialization scripts that can run when an instance launches. User data is commonly used to install packages, configure services, retrieve application configuration, or perform other initialization tasks required by the workload. The exact execution behavior depends on the operating system and initialization system, so scripts should be designed and tested appropriately. User data is especially useful when combined with launch templates and Auto Scaling groups, allowing new instances to receive consistent initialization instructions. VPC Flow Logs, CloudTrail, and S3 Object Lock serve different networking, auditing, and data-protection purposes.

Question 132. An organization wants to standardize the configuration of newly launched EC2 instances in an Auto Scaling group. Which resource should be used to define instance launch parameters?

  1. IAM Access Analyzer
  2. EC2 launch template
  3. CloudWatch dashboard
  4. Route 53 health check

Correct Answer: 2. EC2 launch template

Explanation:

An EC2 launch template allows administrators to define reusable instance-launch parameters such as the AMI, instance type, security groups, IAM instance profile, user data, storage configuration, and other supported settings. Auto Scaling groups can reference launch templates when creating new instances, helping ensure that replacement and scale-out instances use a consistent configuration. Launch templates also support versioning, which can help organizations manage controlled infrastructure updates. A CloudWatch dashboard provides visualization, IAM Access Analyzer analyzes resource access, and Route 53 health checks monitor endpoints. Therefore, a launch template is the appropriate mechanism for standardizing EC2 launch configuration.

Question 133. A CloudOps engineer needs to store a sensitive database connection string securely and retrieve it from an application. Which Parameter Store parameter type can encrypt the value?

  1. StringList
  2. String
  3. SecureString
  4. PlainTextList

Correct Answer: 3. SecureString

Explanation:

AWS Systems Manager Parameter Store supports the SecureString parameter type for storing sensitive configuration values in encrypted form. SecureString parameters use AWS Key Management Service for encryption, allowing organizations to control access to the parameter and, where applicable, the encryption key. Applications can retrieve the decrypted value only when their IAM permissions allow the required operations. This makes SecureString appropriate for sensitive values such as passwords, connection strings, or API credentials when Parameter Store is selected for the use case. String parameters are not intended to provide the same encrypted storage capability. StringList is designed for comma-separated values rather than secret protection.

Question 134. An administrator needs to determine which resources were affected by a recent AWS service event that is specific to the organization’s account. Which service should be checked?

  1. AWS Health Dashboard
  2. Amazon SQS
  3. Amazon EBS
  4. AWS PrivateLink

Correct Answer: 1. AWS Health Dashboard

Explanation:

The AWS Health Dashboard provides visibility into AWS service events that can affect an organization’s account and resources. Account-specific health events can provide information about impacted resources, event status, and recommended actions, depending on the nature of the event. This makes the dashboard useful during incidents where administrators need to determine whether an AWS-side issue may explain observed service degradation. SQS provides messaging, EBS provides block storage, and PrivateLink enables private service connectivity. When investigating a potentially AWS-originated service disruption affecting specific resources, the Health Dashboard is an appropriate operational source of information.

Question 135. A company wants to automatically discover whether an Amazon S3 bucket is publicly accessible through its resource policy. Which service can help analyze this access?

  1. IAM Access Analyzer
  2. Amazon EBS
  3. AWS Backup
  4. Amazon CloudFront

Correct Answer: 1. IAM Access Analyzer

Explanation:

IAM Access Analyzer can analyze resource-based policies for supported resources and identify access that allows external principals to reach those resources. For supported S3 configurations, this can help security and operations teams discover potentially unintended public or cross-account access. Findings can then be reviewed to determine whether the access is intentional or should be restricted. This capability is particularly useful because manually inspecting every resource policy across a large AWS environment can be difficult. EBS provides storage, AWS Backup handles backup management, and CloudFront distributes content. IAM Access Analyzer is specifically designed to analyze access relationships and policy-based external access.

Question 136. An application running on an EC2 instance needs to access a Secrets Manager secret. Which permission should the instance’s IAM role have?

  1. secretsmanager
  2. s3
  3. ec2 only
  4. cloudwatch only

Correct Answer: 1. secretsmanager

Explanation:

An EC2 instance that retrieves a secret from AWS Secrets Manager needs an IAM role with the appropriate Secrets Manager permissions. The secretsmanager action allows an authorized principal to retrieve the value of a specified secret. The permission should be restricted to the specific secret resources required by the application wherever practical, following least-privilege principles. Additional permissions may be required depending on the encryption configuration and application design. S3 GetObject is unrelated unless the secret is stored in S3, while EC2 and CloudWatch permissions address different operations. The key permission for retrieving a Secrets Manager secret is GetSecretValue.

Question 137. A CloudOps team wants to automatically run an AWS Systems Manager Automation runbook whenever a specific EventBridge event occurs. Which service integration can provide this workflow?

  1. Amazon EBS
  2. Amazon EventBridge
  3. Amazon Route 53
  4. Amazon S3 Glacier only

Correct Answer: 2. Amazon EventBridge

Explanation:

Amazon EventBridge can detect matching events and invoke supported targets, enabling event-driven operational workflows. Systems Manager Automation can be used as part of such workflows to execute predefined operational runbooks in response to events. For example, an operational team could create an EventBridge rule that detects a specific resource state change and triggers an automation workflow to perform a corrective or investigative action. This approach reduces the need for continuously running custom monitoring scripts. EBS and Route 53 provide storage and DNS capabilities, while S3 Glacier is a storage class. EventBridge is therefore the appropriate event-routing component.

Question 138. A company wants to make a copy of an EBS snapshot in another AWS Region for disaster recovery. Which operation should be performed?

  1. Modify the security group
  2. Copy the EBS snapshot to the target Region
  3. Create a Route 53 health check
  4. Attach the snapshot directly to an EC2 instance

Correct Answer: 2. Copy the EBS snapshot to the target Region

Explanation:

Amazon EBS snapshots can be copied across AWS Regions, allowing organizations to maintain recovery data in a separate geographic location. Cross-Region snapshot copies can support disaster-recovery strategies by providing a backup that remains available even if the primary Region experiences a major outage. Administrators should consider encryption, snapshot retention, copy scheduling, and the recovery procedure when designing this architecture. An EBS snapshot itself is not directly attached to a running EC2 instance; a volume is created from the snapshot and then attached. Security groups and Route 53 health checks address networking rather than snapshot replication.

Question 139. An RDS administrator wants to restore a database to a specific point in time rather than only to the exact time of an individual snapshot. Which capability should be used?

  1. Point-in-time restore
  2. Read Replica promotion only
  3. Multi-AZ failover only
  4. Parameter group modification

Correct Answer: 1. Point-in-time restore

Explanation:

Amazon RDS point-in-time restore allows a supported database to be restored to a specific point within the available backup retention period. RDS uses automated backups and transaction logs to provide the recovery capability, allowing administrators to select a recovery timestamp rather than being limited to the exact creation time of a manual snapshot. This is useful when a database must be recovered after accidental data modification or deletion and the organization needs a state from shortly before the incident. Multi-AZ provides high availability, Read Replicas support read scaling and replication use cases, and parameter groups control database configuration.

Question 140. A CloudOps engineer needs to reduce operational risk by ensuring that a production CloudFormation update can be reviewed before execution. Which practice is most appropriate?

  1. Execute every update immediately without review
  2. Use a Change Set and review the proposed resource modifications
  3. Disable CloudTrail during deployment
  4. Delete the stack before every update

Correct Answer: 2. Use a Change Set and review the proposed resource modifications

Explanation:

Using CloudFormation Change Sets provides a controlled way to review proposed infrastructure modifications before they are applied to a production stack. The change set can show whether resources will be added, modified, or removed and can highlight changes that may cause resource replacement or other operational consequences. Reviewing these changes gives administrators an opportunity to identify unexpected modifications before execution. This supports safer infrastructure-as-code practices and reduces the risk of applying unintended changes to production. Disabling CloudTrail removes valuable auditing information, while deleting stacks unnecessarily introduces additional operational risk. A reviewed Change Set provides a structured deployment-control mechanism.