Tüm alıştırma soruları
976 soru
An administrator is configuring access to an AWS Key Management Service (AWS KMS) customer managed key. The following KMS key policy is applied:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Allow direct admin access",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::111122223333:role/AdminRole"
},
"Action": "kms:*",
"Resource": "*"
}
]
}
An operator in the same AWS account (111122223333) has an IAM policy attached to their user profile that grants full access to KMS (kms:*). However, the operator receives an Access Denied error when attempting to encrypt data using this key.
Which configuration change will allow the operator to use the KMS key?
A SysOps Administrator needs to collect container-level performance metrics for an Amazon ECS cluster running on Amazon EC2 instances. The administrator wants to use CloudWatch Container Insights to monitor the task and service utilization. Currently, only basic EC2 metrics are visible. Which action should the administrator take to enable Container Insights metrics for this cluster?
An administrator shares a Service Catalog portfolio from an AWS Organizations management account to a member account. The sharing operation is successful, and the portfolio appears in the member account as an imported portfolio. However, developers in the member account who use the AWS Management Console cannot see the portfolio or its associated products. What must the member account's administrator do to make the portfolio and its products visible to the developers?
A SysOps Administrator is configuring permissions for an IAM user in the same AWS account to encrypt and decrypt data using a customer managed key in AWS Key Management Service (AWS KMS). Currently, the IAM user has an IAM policy attached that allows all KMS actions on the key, but they are still receiving an Access Denied error when attempting to use the key.
Which of the following actions must be taken to successfully enable access for the user? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is managing a production web application deployed via an AWS CloudFormation stack. The stack contains an Auto Scaling group, an Amazon RDS DB instance, and a Security Group. A recent drift detection operation indicates that the stack is in the DRIFTED state. The Security Group was manually modified to allow traffic on port 8080 from an unauthorized IP range, and the RDS DB instance type was manually upgraded to support higher traffic. The administrator wants to safely remediate the drift so that the resources and the CloudFormation stack are synchronized.
Which combination of actions will achieve this goal? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is setting up Amazon S3 Cross-Region Replication (CRR) to meet disaster recovery compliance requirements for an application's backup files. The administrator configures the replication rule on the source bucket, specifying a destination bucket in another Region. However, after uploading new backup files to the source bucket, the administrator notices that replication is not occurring. Which configuration step was omitted, preventing the replication from functioning?
A SysOps administrator is configuring automatic remediation in AWS Config for a managed rule that checks whether Amazon RDS DB instances have deletion protection enabled. The administrator wants to use the AWS Systems Manager (SSM) Automation document `AWS-EnableRdsDbInstanceDeletionProtection` as the remediation action. During configuration, the administrator receives an 'Access Denied' error when trying to associate the IAM execution role with the remediation action in AWS Config.
Which of the following is the most likely cause of this error?
A SysOps administrator is configuring an AWS Config rule to automatically remediate non-compliant Amazon S3 buckets. The remediation action is set to run an AWS Systems Manager (SSM) Automation document. The administrator creates a service role named ConfigRemediationRole with a trust policy allowing ssm.amazonaws.com to assume it and attaches the necessary permissions to remediate S3 buckets. However, when the administrator attempts to assign this role to the remediation configuration in AWS Config, the console returns an error indicating that they are not authorized to perform the action.
Which action is required to resolve this authorization failure?
A SysOps administrator is configuring automated remediation in AWS Config for the managed rule `iam-user-mfa-enabled`. When an IAM user without Multi-Factor Authentication (MFA) is detected, the administrator wants to automatically deactivate the user's console access using the `AWS-DisableIAMUserAccess` Systems Manager (SSM) Automation document.
Which two configurations are required to successfully set up this event-driven remediation? (Select TWO.)
Geçerli olan tümünü seçin
A company hosts its critical production database on a single-node Amazon RDS for MySQL DB instance. A SysOps Administrator must configure a backup and recovery solution to satisfy the following requirements:
1. The database must automatically fail over to a standby instance in a different Availability Zone in the event of an infrastructure failure.
2. The administrator must be able to restore the database to any point in time within the last 14 days.
3. Daily database snapshots must be automatically copied to an Amazon S3 bucket in a different AWS Region for long-term compliance, utilizing S3 Cross-Region Replication (CRR) to keep the replication process continuous and automated.
Which combination of steps should the SysOps Administrator perform to meet these requirements?
An AWS CloudFormation stack update fails during execution, causing CloudFormation to initiate a rollback. However, the rollback process also fails, and the stack status changes to UPDATE_ROLLBACK_FAILED. The stack was configured to use a dedicated IAM service role named CloudFormationExecutionRole for all provisioning actions. Which actions should a SysOps Administrator perform to successfully return this stack to a stable, manageable state? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is setting up an AWS Systems Manager Automation workflow to execute a maintenance script on a fleet of Amazon EC2 instances. The SSM Agent is running on all target instances, and each instance has an IAM instance profile attached with the AmazonSSMManagedInstanceCore policy. The administrator creates a service role named SSMAutomationExecutionRole for Systems Manager to execute the workflow.
When the administrator attempts to start the Automation workflow specifying this service role, the execution fails to start with an access denied error. Additionally, the administrator notices that several EC2 instances tagged with 'role: webserver' are not receiving the maintenance script, while others tagged with 'Role: WebServer' are successfully targeted.
Which combination of actions will resolve these issues? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps administrator has configured Amazon VPC Flow Logs for a production VPC to publish flow logs to an Amazon CloudWatch Logs log group. Although the VPC is actively routing network traffic, no log streams are being created in the destination log group after several hours. The flow logs resource status in the VPC dashboard shows that the configuration is active.
Which of the following is the most likely cause of this issue?
An operations team is implementing event-driven compliance controls. They deploy an AWS Config rule to monitor that all Amazon SQS queues have Server-Side Encryption enabled. To automatically encrypt non-compliant queues, they designate the Systems Manager Automation document AWS-EnableSqsQueueEncryption. The team creates a dedicated IAM role named QueueEncryptionExecutionRole with the required SQS permissions, trusting Systems Manager to assume it. However, when the team tries to save this auto-remediation configuration, the operation fails with an authorization error. Which action will resolve this configuration failure?
A SysOps Administrator needs to execute a shell script on a group of Amazon EC2 instances using AWS Systems Manager Run Command and archive the command output in an Amazon S3 bucket. The instances are currently running, but they do not have the required IAM permissions to associate with Systems Manager.
What is the correct sequence of steps to configure, execute, and capture the output of the Run Command operation?
Öğeleri doğru sıraya koymak için sürükleyin
A SysOps Administrator is updating an AWS CloudFormation stack that contains an Amazon RDS DB instance. The stack update fails due to a configuration mismatch, prompting CloudFormation to initiate a rollback. During the rollback, the stack transitions to the UPDATE_ROLLBACK_FAILED state because an Amazon EC2 subnet group associated with the DB instance was manually deleted outside of CloudFormation. Which action must the SysOps Administrator take to return the stack to a stable, manageable state?
An application running on Amazon EC2 instances in a private subnet needs to retrieve database credentials stored as a SecureString parameter in AWS Systems Manager Parameter Store. The parameter is encrypted with an AWS KMS customer managed key (CMK). The SysOps administrator has attached an IAM policy to the EC2 instance profile's IAM role that allows both ssm:GetParameter and kms:Decrypt on the respective resource ARNs. However, when the application runs, it fails to retrieve the parameter and receives an AccessDeniedException from AWS KMS. Which action will resolve this issue?
A SysOps Administrator is updating an AWS CloudFormation stack that manages an Auto Scaling group and an Amazon RDS DB instance. The update fails during the database configuration step, triggering a rollback. The rollback also fails, leaving the stack in the UPDATE_ROLLBACK_FAILED state. The stack events show that the IAM service role assigned to the CloudFormation stack lacks the rds:DeleteDBInstance permission required to remove the failed RDS resource. Which combination of actions must the SysOps Administrator perform to resolve this issue and return the stack to a stable state? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps administrator is configuring an AWS Systems Manager (SSM) Automation runbook to patch Amazon EC2 instances. The runbook must launch a temporary EC2 instance, associate a pre-configured IAM role named `PatchingInstanceRole` with the instance, run patching scripts, and then terminate the instance. The administrator runs the SSM Automation using an automation service role named `AutomationServiceRole`. The trust relationship of `AutomationServiceRole` is correctly configured to trust the `ssm.amazonaws.com` service principal. However, when the runbook attempts to launch the temporary EC2 instance with the `PatchingInstanceRole`, the execution fails with an 'Access Denied' error. Which of the following modifications will resolve this issue?
An EC2 instance is hosting a web server in a VPC subnet. The SysOps Administrator needs to configure the subnet's Network Access Control List (NACL) to allow incoming HTTP requests on port 80 from the internet (0.0.0.0/0). Which two rules must the administrator add to the custom NACL to allow this traffic?
Geçerli olan tümünü seçin