Tüm alıştırma soruları
976 soru
A company requires a centralized disaster recovery strategy for its database workloads. A SysOps Administrator must configure AWS Backup to copy snapshots of Amazon RDS DB instances from a production AWS account to a secure backup vault in a separate disaster recovery AWS account. Both accounts are members of the same organization in AWS Organizations. The copied snapshots must be encrypted using a customer managed key in the disaster recovery account.
Which of the following actions must the SysOps Administrator take to configure this copy operation? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is managing an infrastructure stack using AWS CloudFormation. The stack contains an Amazon EC2 instance and an Amazon RDS DB instance. During a recent stack update, the update failed, and CloudFormation attempted to roll back the changes. However, the rollback failed because a database administrator had manually deleted the RDS DB instance out-of-band, leaving the stack stuck in the UPDATE_ROLLBACK_FAILED state. The administrator needs to return the stack to a stable, operable state without impacting the running EC2 instance. Which action should the SysOps Administrator take to resolve this issue?
Developers in a member account are attempting to deploy a database environment using a newly assigned AWS Service Catalog product. During the deployment, the provisioning status changes to failure, and the underlying resources are terminated. The product is configured to run under a specific launch constraint role. A SysOps administrator is tasked with finding the root cause of the deployment failure and applying the fix.
Which two actions should the SysOps administrator take to troubleshoot and resolve this provisioning issue? (Select TWO.)
Geçerli olan tümünü seçin
An organization has a data sharing requirement where users in a secondary AWS account must access encrypted files stored in an Amazon S3 bucket in a primary AWS account. The files are currently encrypted using the default AWS managed key (`aws/s3`) in the primary account.
Which configuration change is required to allow the users in the secondary account to decrypt these files?
An enterprise application's infrastructure is deployed using an AWS CloudFormation stack. During a scheduled stack update, the process fails and subsequent rollback attempts fail, leaving the stack stuck in the UPDATE_ROLLBACK_FAILED state. A SysOps Administrator discovers that the rollback failed because an IAM role resource was modified out-of-band and the CloudFormation service role lacks sufficient permissions to revert the changes. Which of the following actions should the administrator take to successfully resolve the UPDATE_ROLLBACK_FAILED state and complete the rollback? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is setting up Amazon S3 replication to copy data between two buckets. After configuring the replication rules and applying the configuration, the administrator notices that objects uploaded to the source bucket are not appearing in the destination bucket, and the replication status shows as failed.
Which configuration errors could be causing this replication failure? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator runs drift detection on an AWS CloudFormation stack and finds that the policy of an Amazon S3 bucket managed by the stack has been manually modified, placing the stack in a DRIFTED state. The administrator wants to align the bucket's configuration with the stack template. The administrator attempts to resolve this by initiating a stack update using the original, unmodified template and parameters. Which of the following describes the result of this operation?
A SysOps administrator with the IAM user name `ManagerUser` in Account A () needs to launch an Amazon EC2 instance that runs automated deployment scripts. The scripts will create IAM roles and attach permissions policies. The instance must run with an IAM instance profile associated with the IAM role named `DeploymentWorkerRole`.
An organization-level Service Control Policy (SCP) is attached to the Organizational Unit (OU) containing Account A:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "RestrictRoleCreation",
"Effect": "Deny",
"Action": [
"iam:CreateRole",
"iam:AttachRolePolicy"
],
"Resource": "*",
"Condition": {
"ArnNotEquals": {
"aws:PrincipalARN": "arn:aws:iam::111122223333:role/DeploymentWorkerRole"
}
}
}
]
}
`ManagerUser` has an IAM policy attached that grants full access to EC2 and Auto Scaling (`ec2:*` and `autoscaling:*`). When `ManagerUser` attempts to launch the EC2 instance using the AWS CLI and specifies the `DeploymentWorkerRole` instance profile, the operation fails with an `UnauthorizedOperation` error.
Which configuration change is required to resolve this issue and successfully launch the EC2 instance?
A SysOps administrator is managing configuration settings in AWS Systems Manager Parameter Store. A configuration parameter named `/prod/app/config` was created under the Standard parameter tier. The administrator needs to attach an Expiration parameter policy to this parameter to automatically delete it after an upcoming maintenance window. The administrator also wants to ensure that the parameter can be changed back to the Standard tier after the maintenance window to minimize ongoing costs. Which action should the administrator take to meet these requirements?
A SysOps Administrator is configuring Cross-Region Replication (CRR) between two Amazon S3 buckets. The source bucket is in the us-east-1 Region and has S3 Versioning enabled. The destination bucket is in the us-west-2 Region. The administrator creates a replication IAM role and attempts to apply the replication configuration to the source bucket using the AWS CLI. The command fails with a validation error indicating that replication cannot be configured. Which of the following is the most likely cause of this error?
A company distributes an AWS Service Catalog product that deploys web application environments. The central operations team releases a new product version to patch a security vulnerability. A SysOps administrator must ensure that all future deployments use the new version and that users can no longer provision new environments using any previous versions. The administrator must also ensure that existing, running provisioned products remain operational. Which action should the administrator take to meet these requirements?
A SysOps administrator is troubleshooting an automated compliance remediation workflow. An Amazon EventBridge rule is configured to detect non-compliant Amazon S3 buckets reported by AWS Config and trigger an AWS Systems Manager (SSM) Automation runbook to remediate them. The EventBridge rule successfully fires, but the Systems Manager Automation execution fails immediately with an access denied error. Which of the following actions are required to resolve this issue? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is running a compliance verification script across a fleet of Amazon EC2 instances in a private subnet using AWS Systems Manager Run Command with the AWS-RunShellScript document. The instances have the SSM Agent installed and running, and they are associated with an IAM instance profile containing the AmazonSSMManagedInstanceCore managed policy. To capture the full script output, the administrator specifies a custom Amazon S3 bucket in the Run Command parameters. The execution completes, but the command status shows as 'Failed' on all instances, and no logs are delivered to the S3 bucket. What should the administrator do to resolve this issue?
A SysOps administrator in Account A () is configuring an Amazon EventBridge Scheduler schedule to invoke an AWS Lambda function in Account B () on a daily basis.
The administrator creates an IAM role in Account A named `SchedulerExecutionRole` to be used as the execution role for the schedule. The role has a permissions policy that allows `lambda:InvokeFunction` on the target function `arn:aws:lambda:us-east-1:222222222222:function:DailyAudit`. The trust policy of `SchedulerExecutionRole` allows the `scheduler.amazonaws.com` service principal to assume the role.
When the administrator attempts to create the schedule using the AWS CLI, the command fails with an `AccessDeniedException` error, and the schedule is not created.
Which of the following configuration changes are required to successfully establish this workflow? (Select TWO.)
Geçerli olan tümünü seçin
An application running on an Amazon EC2 instance in Account A () must write logs to an Amazon CloudWatch Logs log group in Account B (). A SysOps administrator is configuring the application to programmatically assume an IAM role named `CrossAccountLogWriterRole` in Account B to perform this action.
Which of the following configuration steps are required to establish this cross-account access? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is hosting a web application on an Amazon EC2 instance in a public subnet. To allow public HTTP access, the administrator creates a custom Network Access Control List (NACL) associated with the subnet and adds an inbound rule allowing TCP traffic on port 80 from 0.0.0.0/0. The security group associated with the EC2 instance already allows all inbound and outbound traffic. However, external web clients are still unable to load the website. Which configuration change must the administrator make to allow clients to establish HTTP connections?
A SysOps administrator is configuring an Amazon EC2 Image Builder pipeline in Account A () to build custom machine images. The pipeline is configured to run using an IAM role named `ImageBuilderPipelineExecutionRole`. During the build process, the pipeline launches an EC2 instance that must run with an IAM instance profile associated with the IAM role `ImageBuilderBuildRole`. When the pipeline is executed, it fails during the build phase with an Access Denied error when attempting to launch the EC2 build instance. The `ImageBuilderPipelineExecutionRole` permissions policy contains permissions for `imagebuilder:*` and `ec2:*` actions but does not contain any other permissions. Which modification to the IAM policies will resolve this error?
A SysOps Administrator is configuring an AWS Systems Manager Automation workflow to automate administrative tasks across a fleet of Amazon EC2 instances. The administrator creates a custom IAM role named SSMAutomationServiceRole to grant Systems Manager permissions to perform actions on other AWS resources. When the administrator attempts to start the execution of the Automation workflow using the AWS Command Line Interface (AWS CLI), the execution fails immediately with an access denied error indicating that the user is not authorized to perform iam:PassRole on the service role resource.
The administrator's user account already has the AmazonSSMFullAccess policy attached. The SSM Agent is running on all target EC2 instances, and the AmazonSSMManagedInstanceCore policy is attached to the instance profiles.
Which of the following actions will resolve this failure?
A SysOps administrator is configuring an AWS CloudTrail organizational trail to log events across all accounts in an AWS Organization. The trail is configured to deliver logs to a centralized Amazon S3 bucket in a dedicated log archive account. The S3 bucket is encrypted using a customer managed AWS KMS key. After configuring the trail, the administrator notices that log files are not appearing in the S3 bucket, and CloudTrail shows a log delivery failure status.
Which action should the administrator take to resolve this issue?
A company enforces a strict security policy that prohibits all internet egress from its production Amazon VPC. A SysOps administrator is configuring automatic credential rotation for an Amazon RDS for PostgreSQL DB instance. The database credentials are stored in AWS Secrets Manager, and the secret is encrypted using the default AWS managed key `aws/secretsmanager`.
The administrator deploys the rotation AWS Lambda function into the same private subnets as the RDS DB instance. However, during testing, the rotation fails. CloudWatch Logs for the rotation Lambda function show that the function times out while attempting to establish a connection to the Secrets Manager service endpoint to retrieve the current version of the secret.
Which action must the administrator take to resolve this network connectivity issue and allow the rotation to complete successfully?