Tüm alıştırma soruları
976 soru
An operations team is monitoring a containerized reporting service that writes space-delimited logs to an Amazon CloudWatch Logs group. The log entries follow this format:
`[log_level, timestamp, job_id, duration, memory_mb]`
An example log entry is:
`INFO 2026-07-14T12:00:00Z job-8829 45.2 12500`
A SysOps Administrator needs to create a metric filter to track executions where the job duration is strictly greater than seconds and the memory usage is greater than or equal to MB.
Which TWO configurations must the administrator implement to meet these requirements?
Geçerli olan tümünü seçin
A SysOps Administrator is setting up an AWS Systems Manager (SSM) Automation execution to run a custom document. The document will execute a series of diagnostic scripts on a target group of EC2 instances using SSM Run Command. The SSM Agent is installed and running on all target EC2 instances, and an IAM instance profile with the AmazonSSMManagedInstanceCore policy is attached to each instance. A custom IAM service role named SSMAutomationServiceRole has been created with the AmazonSSMAutomationRole policy attached, and its trust policy allows ssm.amazonaws.com to assume the role. The administrator's IAM user policy contains permissions for ssm:StartAutomationExecution and ssm:DescribeDocument. When the administrator attempts to start the automation execution using the AWS CLI and specifies the SSMAutomationServiceRole as the execution role, the execution fails immediately with an access denied error. What action must the administrator take to resolve this failure and allow the automation to run?
A SysOps Administrator is using AWS Systems Manager Patch Manager to automate security updates for a fleet of Red Hat Enterprise Linux (RHEL) EC2 instances. The administrator wants to apply different patch baselines to development and production instances. To achieve this, the administrator tags the development instances with the key-value pair `patch-group: RHEL-dev` and the production instances with `patch-group: RHEL-prod`. However, during the next maintenance window, Patch Manager fails to apply the custom baselines, and all instances are updated using the AWS-provided default patch baseline. Which action will resolve this issue?
A SysOps Administrator is configuring Amazon S3 Cross-Region Replication (CRR) between a source bucket and a destination bucket using the AWS CLI. The administrator has already created an IAM role (`arn:aws:iam::123456789012:role/S3ReplicationRole`) with a trust policy allowing `s3.amazonaws.com` to assume it, and a permissions policy allowing replication actions. Both buckets have versioning enabled.
However, when the administrator runs the `aws s3api put-bucket-replication` command to apply the configuration, the command fails with the following error:
`An error occurred (AccessDenied) when calling the PutBucketReplication operation: Access Denied`
An inspection of the administrator's IAM policy shows full permissions to S3 (`s3:*`). Which of the following is the root cause of this error?
A SysOps Administrator is configuring compliance monitoring for Amazon EC2 security groups. The administrator deploys the restricted-common-ports AWS Config rule to detect security groups that allow unrestricted ingress to common ports. The administrator wants to configure automated remediation to automatically revoke the non-compliant ingress rules using the AWS-DisablePublicAccessForSecurityGroup Systems Manager (SSM) Automation document. The administrator creates an Amazon EventBridge rule to detect when a security group changes to a non-compliant state and configures it to trigger the SSM Automation document directly. However, the automation fails to execute because the target configuration is not passing the specific security group ID from the event payload to the SSM document. How can the administrator resolve this issue with the least administrative effort?
A SysOps administrator is setting up configuration management for an application using AWS Systems Manager Parameter Store. The administrator needs to store standard environment variables and sensitive database passwords. Which two parameter types are supported by Parameter Store for these purposes? (Select TWO.)
Geçerli olan tümünü seçin
An organization requires that any newly created Amazon EBS volume without encryption be immediately detached and deleted. A SysOps administrator sets up an Amazon EventBridge rule that triggers when an Amazon EC2 `CreateVolume` API call is recorded. The rule is configured with an AWS Systems Manager (SSM) Automation custom document as the target. The custom document uses an IAM service role named `RemediationExecutionRole` to perform the detachment and deletion. Although EventBridge detects the `CreateVolume` events, the SSM Automation workflow fails to start. Which of the following configuration adjustments will resolve this execution failure?
A company requires all Amazon EBS volumes in its AWS account to be encrypted. A SysOps administrator configures the AWS Config managed rule `encrypted-volumes` to monitor compliance. If an unencrypted volume is created, AWS Config must automatically trigger an AWS Systems Manager (SSM) Automation document to delete the non-compliant volume.
What configuration steps must the administrator perform to successfully implement this automated remediation?
A SysOps administrator is deploying a containerized application to Amazon Elastic Container Service (Amazon ECS). The application tasks must read messages from an Amazon SQS queue. The administrator creates an IAM role for the tasks but receives an authorization error when attempting to run the task using this role.
Which of the following configurations are required to resolve this issue? (Select TWO.)
Geçerli olan tümünü seçin
A company is using AWS Elastic Disaster Recovery (AWS DRS) to replicate on-premises servers to AWS. The replication traffic is routed over an AWS Direct Connect connection to a staging area VPC that lacks internet access. The replication agents installed on the on-premises servers cannot establish communication with the AWS DRS service. Which configuration step should a SysOps Administrator take to resolve this issue while adhering to the requirement of not using the public internet?
An application running on an Amazon EC2 instance needs to retrieve a database connection string stored as a SecureString parameter in AWS Systems Manager Parameter Store. The parameter is encrypted using a Customer Managed Key (CMK) in AWS Key Management Service (AWS KMS). Which TWO actions must be allowed in the IAM policy attached to the EC2 instance profile to successfully retrieve the decrypted parameter value? (Select TWO.)
Geçerli olan tümünü seçin
A company uses an Amazon CloudFront distribution to serve its global application. The primary origin is an Application Load Balancer (ALB) serving dynamic API requests, and the secondary origin is an Amazon S3 bucket containing a static maintenance page configured within a CloudFront Origin Group for failover. The objects in the S3 bucket are encrypted using AWS KMS customer managed keys (SSE-KMS). During a recent test, a SysOps administrator notices two issues:
1. When failover to the S3 bucket is triggered, clients receive HTTP 403 Forbidden errors.
2. During normal operation, the ALB fails to process API client requests that require user authorization tokens because these headers are stripped before reaching the origin.
Which TWO actions should the SysOps administrator take to resolve these issues? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is attempting to grant an IAM user permission to decrypt data using an AWS Key Management Service (KMS) customer managed key. The administrator attaches an IAM policy to the user that allows the `kms:Decrypt` action on the key's ARN. However, the user still receives an 'Access Denied' error when trying to perform decryption.
What is the most likely cause of this issue?
A security auditing application runs on Amazon EC2 instances in a security account (222222222222) under an IAM role named `AuditorRole`. The application needs to retrieve audit logs stored in an Amazon S3 bucket located in a production account (111111111111). The S3 bucket is encrypted using a customer managed AWS KMS key in the production account. A SysOps administrator is configuring a cross-account IAM role named `ProdAccessRole` in the production account to grant the application access. The administrator has already configured the permissions policy for `ProdAccessRole` and the IAM permissions policy for `AuditorRole`. Which combination of actions is required to allow the auditing application to assume the role and decrypt the logs? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is setting up automated patching for a fleet of Amazon EC2 instances using AWS Systems Manager Patch Manager. The administrator creates a custom patch baseline named 'Production-Security-Baseline' to install critical security updates. To target the instances, the administrator registers a patch group named 'Prod-Servers' and associates it with the custom baseline. The SSM Agent is verified as installed and running on all instances, and the 'AmazonSSMManagedInstanceCore' managed policy is attached to the IAM instance profile of each instance. The administrator tags the target instances with the key 'PatchGroup' and the value 'Prod-Servers'. During the next scheduled maintenance window, the administrator observes that the Systems Manager Run Command using the 'AWS-RunPatchBaseline' document executes successfully, but the instances are patched using the default baseline ('AWS-DefaultPatchBaseline') instead of 'Production-Security-Baseline'. Which of the following explains why the custom patch baseline was not applied to the instances?
A SysOps Administrator needs to restrict access to an Amazon S3 bucket so that users can only access the content through an Amazon CloudFront distribution. The administrator wants to use the most secure, modern AWS-recommended method to prevent direct public access to the S3 bucket. Which configuration should the administrator implement to meet these requirements?
A company manages a multi-account environment using AWS Organizations with consolidated billing enabled. The environment consists of the following workloads:
* Account A: Runs a steady-state web application on Amazon EC2 instances in the region.
* Account B: Runs microservices on AWS Fargate and AWS Lambda.
* Account C: Runs dynamic development environments on Amazon EC2 instances in the region.
The SysOps administrator must implement a cost optimization strategy that provides the highest flexibility, covers all of these compute resources, and allows any unused discount capacity from one account to automatically apply to other accounts' eligible workloads.
Which purchasing strategy meets these requirements most cost-effectively?
An Amazon EC2 instance with the private IP address is launched in a private subnet of a VPC. The instance is configured to download software updates from a public repository at via HTTPS. The security group associated with the EC2 instance allows all outbound traffic and has no inbound rules. The instance is unable to complete the download. A SysOps Administrator enables VPC Flow Logs for the subnet and observes the following log entries:
| version | srcaddr | dstaddr | srcport | dstport | protocol | packets | bytes | start | end | action | log-status |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | 10.0.1.15 | 198.51.100.50 | 49152 | 443 | 6 | 5 | 400 | 1718840000 | 1718840060 | ACCEPT | OK |
| 2 | 198.51.100.50 | 10.0.1.15 | 443 | 49152 | 6 | 5 | 400 | 1718840000 | 1718840060 | REJECT | OK |
Which of the following is the most likely root cause of this connection failure?
A company manages a multi-account organization with consolidated billing. The SysOps administrator is tasked with optimizing cost for the following workloads:
| Account | Workload Type | Instance/Service | Region | Pattern |
|---|---|---|---|---|
| Development | Dynamic | EC2 (`t3`, `m5`, `c5`) & Fargate | Multiple Regions | Frequently changes families and regions |
| Production | Steady-state | EC2 (`c6g.xlarge`) | `us-east-1` | Runs 24/7, expected to remain unchanged for 12 months |
Which purchasing strategy provides the maximum cost savings while meeting the operational flexibility requirements of both environments?
A SysOps Administrator is troubleshooting a connectivity issue where Amazon EC2 instances in a private subnet are unable to download package updates from an external repository over HTTPS (port 443). The subnet's route table contains a route to a NAT Gateway, and the instances' security groups are configured to allow all outbound TCP port 443 traffic.
VPC Flow Logs reveal the following record:
`2 123456789012 eni-0a1b2c3d4e5f6g7h8 198.51.100.55 10.0.1.15 443 51234 6 10 400 1781222400 1781222460 REJECT OK`
Which of the following actions will resolve this issue?