Tüm alıştırma soruları
976 soru
A company has a production database in the us-east-1 region. Applications running in both the us-east-1 and us-west-2 regions connect to this database. The database credentials are stored in a primary secret in AWS Secrets Manager in the us-east-1 region and are replicated to the us-west-2 region. A SysOps administrator must configure automatic credential rotation every 30 days without causing application downtime in either region.
Which steps should the SysOps administrator take to meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
A company stores an API key for a third-party billing platform in AWS Secrets Manager. To comply with security policies, the API key must be rotated automatically every 30 days. A SysOps administrator creates a custom AWS Lambda function to perform the rotation and deploys it in a private subnet of a VPC. When the administrator attempts to enable automatic rotation, the rotation fails. Which configurations are required to resolve this issue and successfully rotate the secret? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is using AWS Systems Manager Run Command to execute a custom configuration script on a fleet of Amazon EC2 instances. The SSM Agent is running on all instances, and an IAM instance profile with the `AmazonSSMManagedInstanceCore` policy is attached to each instance. The administrator configures the command to write its execution output to an Amazon S3 bucket. The S3 bucket is encrypted using a customer managed key (CMK) in AWS Key Management Service (AWS KMS). When the command is executed, it runs successfully on the instances, but the console displays a log delivery failure with an 'Access Denied' error. Which of the following actions will resolve this issue?
A SysOps administrator is troubleshooting an issue where an IAM user in a member account is unable to access an Amazon S3 bucket located in a different AWS account. The IAM user has an identity-based policy that grants full S3 permissions (s3:*) to the external bucket. The bucket policy in the destination account explicitly allows access from the IAM user's ARN. However, when the user attempts to list the bucket contents, they receive an Access Denied error. The member account is located within an Organizational Unit (OU) in AWS Organizations. The organization's root has the default FullAWSAccess Service Control Policy (SCP) attached. The OU containing the member account has a custom SCP attached with the following policy document:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:*",
"dynamodb:*"
],
"Resource": "*"
}
]
}
What is the root cause of this Access Denied error?
A SysOps Administrator creates a new multi-region trail in AWS CloudTrail to log all API activity in the AWS account. The administrator configures a new Amazon S3 bucket as the storage target. After several hours, the administrator notices that no CloudTrail logs have been delivered to the S3 bucket. Which of the following is the most likely cause of this log delivery failure?
An organization has a web application that stores transactional records in an Amazon DynamoDB table and daily report templates in an Amazon S3 bucket. A SysOps Administrator must configure a backup and disaster recovery solution that meets the following requirements:
- The DynamoDB table must support recovery to any point in time within the last 35 days.
- The S3 bucket content must be continuously replicated to a backup bucket in a secondary AWS Region.
Which TWO actions should the SysOps Administrator take to meet these requirements?
Geçerli olan tümünü seçin
A SysOps administrator is configuring an automated CI/CD pipeline in Account A () to register a new Amazon ECS task definition and deploy a service on AWS Fargate. The task definition specifies an ECS Task Execution Role (`ECSTaskExecutionRole`) and an ECS Task Role (`ECSTaskRole`). The pipeline runs using the credentials of an IAM user named `PipelineDeployer`. During deployment, the pipeline fails with an error indicating that `PipelineDeployer` is not authorized to perform `iam:PassRole` on the role resources. Additionally, the application inside the ECS container must read configuration files from an Amazon S3 bucket located in Account B (). Which of the following configuration changes are required to resolve the deployment failure and grant the application the necessary runtime permissions? (Select TWO.)
Geçerli olan tümünü seçin
An application container runs on Amazon Elastic Container Service (Amazon ECS) in AWS Account B (). The application must send messages to an encrypted Amazon Simple Queue Service (Amazon SQS) queue in AWS Account A (). The SQS queue is encrypted using an AWS KMS customer managed key (CMK) also located in Account A. The queue policy in Account A is configured to allow the ECS task role from Account B to perform `sqs:SendMessage` actions.
To enable the encryption flow, an administrator attached an IAM policy to the ECS task execution role in Account B, permitting `kms:GenerateDataKey` and `kms:Decrypt` on the KMS key ARN in Account A. However, the ECS task container logs show `KMS.AccessDeniedException` errors when the application attempts to publish messages.
Which combination of actions will resolve this issue? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps administrator needs to deploy a standardized security policy to protect all Application Load Balancers (ALBs) across multiple AWS accounts within an organizational unit (OU) named ProductionOU. The security policy must block known malicious IP addresses and mitigate HTTP flood attacks. The solution must centrally deploy the configurations, automatically remediate any local disassociations or modifications to the security rules, and ensure all changes are audited. Which combination of actions will meet these requirements? (Select TWO.)
Geçerli olan tümünü seçin
An enterprise application deployment contains EC2 instances in an application subnet (10.10.1.0/24) that must connect to a Microsoft SQL Server database cluster in a database subnet (10.10.2.0/24) on TCP port 1433. The default Network Access Control Lists (NACLs) have been replaced with custom NACLs that deny all traffic by default.
The current configurations are:
- The application subnet's custom NACL has an outbound rule allowing TCP port 1433 to 10.10.2.0/24, and an inbound rule allowing TCP ports 1024-65535 from 10.10.2.0/24.
- The database subnet's custom NACL has an inbound rule allowing TCP port 1433 from 10.10.1.0/24, and an outbound rule allowing TCP port 1433 to 10.10.1.0/24.
- The security groups associated with the instances allow the necessary stateful database traffic.
Although the security groups are correctly configured, database connections from the application subnet fail. Which of the following changes to the custom NACL configurations will resolve this connectivity issue?
A SysOps Administrator needs to schedule a weekly task that runs a custom configuration script on a fleet of Amazon EC2 instances by using an AWS Systems Manager Automation document. The EC2 instances are tagged with the key `Env` and the value `Production`. The instances have the SSM Agent installed and running, and they are associated with an IAM instance profile containing the `AmazonSSMManagedInstanceCore` managed policy.
The Administrator is using a custom IAM service role named `SSMAutomationServiceRole` to allow Systems Manager to execute the Automation workflow. However, when the Administrator attempts to run the Automation using their own IAM user account, the execution fails with an access denied error. What combination of steps must the Administrator perform to execute the Automation and target the correct instances? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is configuring AWS CloudTrail to send log events to Amazon CloudWatch Logs for real-time monitoring of security group changes. Which TWO configurations are required to successfully enable this log delivery? (Select TWO.)
Geçerli olan tümünü seçin
A company implements AWS Systems Manager Patch Manager to automate operating system updates for a fleet of Windows Server instances. An administrator creates a custom patch baseline and registers a patch group named 'Win-Prod' to this baseline. The administrator then configures a Maintenance Window targeted to target instances by group, and applies tags to the managed instances. However, during the next execution cycle, the administrator observes that none of the instances receive updates, and their compliance status remains 'Never'. Which of the following describes the most likely reason for this behavior?
A SysOps administrator initiates an update on a production AWS CloudFormation stack. The update fails during the modification of a database resource, triggering an automatic rollback. During this process, the stack status transitions to `UPDATE_ROLLBACK_FAILED`. Upon reviewing the stack events, the administrator discovers that CloudFormation cannot delete an old security group because it is still associated with an EC2 instance that was manually launched by a developer outside of CloudFormation. Which action should the SysOps administrator take to resolve the `UPDATE_ROLLBACK_FAILED` state and return the stack to a stable configuration?
A SysOps administrator is configuring a Python script to automate the remediation of non-compliant Amazon EC2 instances. The script associates an IAM instance profile containing the IAM role `AppLoggingRole` with EC2 instances that currently lack one.
The administrator's IAM user has the following IAM policy attached:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:DescribeInstances",
"ec2:AssociateIamInstanceProfile",
"ec2:ReplaceIamInstanceProfileAssociation"
],
"Resource": "*"
}
]
}
When running the script, the `ec2:AssociateIamInstanceProfile` API call fails with an `AccessDenied` error.
Which of the following is the root cause of this error?
A SysOps Administrator is using AWS Systems Manager Run Command to execute a configuration script on a fleet of Amazon EC2 instances. The administrator attempts to target the instances using the resource tag key `Environment` with the value `Production`. The administrator verifies that the SSM Agent is installed and running on the instances, and an IAM instance profile containing the `AmazonSSMManagedInstanceCore` policy is attached. However, the Run Command console reports that zero instances are targeted. Upon checking the Systems Manager Fleet Manager console, the administrator notices that none of the target EC2 instances are listed as managed nodes. Which of the following is the most likely cause of this issue?
A SysOps administrator is configuring an Amazon EventBridge Scheduler schedule to invoke an AWS Lambda function on a recurring basis. The schedule must execute using a custom IAM service role named SchedulerExecutionRole that has permissions to invoke the Lambda function. When the administrator attempts to create the schedule, the operation fails with a permission error indicating that the schedule cannot be created. Which of the following actions must be taken to successfully create the schedule? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps administrator is configuring an automated task using Amazon EventBridge Scheduler to run an AWS Systems Manager (SSM) Automation runbook (`AWS-StopEC2Instance`) on a weekly schedule. The SSM Automation runbook must execute using a service role named `SSMRemediationRole`. The EventBridge Scheduler schedule will run under a service role named `EventBridgeSchedulerExecutionRole`. When the administrator attempts to create the schedule using the AWS CLI, the command fails with an `AccessDeniedException` error. Which of the following actions must the administrator take to resolve this issue and successfully run the scheduled automation? (Select TWO.)
Geçerli olan tümünü seçin
A company hosts a web application behind an Application Load Balancer (ALB) protected by an AWS WAF Web ACL. The Web ACL contains the AWS Managed Rules Common Rule Set (AWSManagedRulesCommonRuleSet) to block common web exploits.
During a deployment, a SysOps Administrator notices that legitimate requests to an administrative API endpoint, /import/config, are being blocked with an HTTP 403 Forbidden error. Troubleshooting WAF logs reveals that these requests are matching the GenericLFI_BODY rule within the managed rule group, which flags local file inclusion patterns in the request body. The administrator must resolve this false positive to allow legitimate requests to /import/config while ensuring that the rest of the application remains protected by this rule.
Which configuration will resolve the issue with the least administrative effort?
A SysOps administrator launches an Amazon EC2 instance in a subnet that is intended to be public. However, the instance is unable to send or receive traffic from the internet. Which two configurations should the administrator verify to resolve this connectivity issue?
Geçerli olan tümünü seçin