Tüm alıştırma soruları
976 soru
An organization hosts a multi-tier application in a VPC. A SysOps Administrator is troubleshooting database connection timeouts between the application servers in Subnet A () and a PostgreSQL database in Subnet B ().
The Security Groups are configured as follows:
- The application servers belong to `sg-app`, which has an outbound rule allowing TCP port to `sg-db`.
- The database belongs to `sg-db`, which has an inbound rule allowing TCP port from `sg-app`.
The Network ACLs (NACLs) are configured as follows:
- Subnet A NACL: Inbound rule allows all traffic from . Outbound rule allows TCP port to .
- Subnet B NACL: Inbound rule allows TCP port from . Outbound rule allows TCP port to .
Which configuration change will resolve the connection timeouts while maintaining the principle of least privilege?
A SysOps administrator is setting up an AWS Glue crawler to catalog data in an Amazon S3 bucket. The administrator creates an IAM role named GlueCrawlerRole that has the required permissions to access the S3 bucket. However, when the administrator attempts to run the crawler, the execution fails. The error logs indicate that the AWS Glue service is not authorized to assume the role, and the administrator is not authorized to associate the role with the crawler. Which of the following actions must the administrator take to successfully run the crawler? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is troubleshooting a new application deployment in a VPC. A backend microservice runs on Amazon EC2 instances in private Subnet A (CIDR block ). These instances must communicate with a self-managed database cluster on EC2 instances in private Subnet B (CIDR block ) over TCP port .
The Security Groups are already configured to allow TCP port outbound from the backend Security Group, and TCP port inbound to the database Security Group. However, both subnets are associated with separate, custom Network Access Control Lists (NACLs) that block all traffic by default.
Which two changes must the Administrator make to the custom NACL rules to successfully enable communication between the subnets? (Select two.)
Geçerli olan tümünü seçin
A SysOps administrator is configuring an Amazon EC2 Auto Scaling group to use a new launch template. The launch template specifies an IAM instance profile associated with an IAM role named 'ApplicationServerRole'. When the administrator attempts to create the launch template, the action fails with an 'Access Denied' error. The administrator already has full administrative access to Amazon EC2, but their IAM permissions are restricted. Which permission must be added to the administrator's IAM policy to resolve this issue?
An administrator is setting up automated security updates for a hybrid fleet of Red Hat Enterprise Linux (RHEL) managed nodes. The administrator configures a custom patch baseline and attempts to associate it with a specific subset of nodes using a custom patch group. The patching process is orchestrated using an AWS Systems Manager Maintenance Window that triggers the AWS-RunPatchBaseline document. During execution, the task fails to run on the targeted nodes, and they do not receive the specified updates. The managed nodes are verified as online and active in Systems Manager.
Which two configuration adjustments must the administrator make to ensure the custom patch baseline is applied to the target nodes during the maintenance window?
Geçerli olan tümünü seçin
A SysOps Administrator needs to implement a solution that continuously audits the configuration of AWS resources against security best practices, such as ensuring all Amazon EBS volumes are encrypted. The solution must track configuration history and report compliance status. Which AWS service is designed to meet this requirement?
A SysOps administrator is configuring cross-account access for an application running on an Amazon EC2 instance in Account A. The application must retrieve a database credential stored in AWS Secrets Manager in Account B. The secret in Account B is currently encrypted using a customer managed AWS KMS key. Which combination of actions must the administrator perform to grant the application access to the secret? (Select TWO.)
Geçerli olan tümünü seçin
A company is hosting a centralized monitoring server on an Amazon EC2 instance in Subnet A (). This server is configured to scrape metrics from production application servers located in Subnet B () on TCP port 9100.
The custom Network Access Control List (NACL) for Subnet A has the following rules:
* Inbound: Allow TCP traffic on ports from Subnet B ()
* Outbound: Allow TCP traffic on port 9100 to Subnet B ()
The custom NACL for Subnet B has the following rules:
* Inbound: Allow TCP traffic on port 9100 from Subnet A ()
* Outbound: Allow TCP traffic on port 9100 to Subnet A ()
The Security Groups associated with the EC2 instances are configured correctly to allow traffic on port 9100. However, the monitoring server cannot establish a connection to scrape metrics.
Which modification to the Subnet B NACL rules is required to resolve this connectivity issue?
A SysOps Administrator needs to execute a custom bash script on several on-premises servers using AWS Systems Manager Run Command. The on-premises servers are not yet registered with AWS. An IAM service role for Systems Manager hybrid activation has already been created.
What is the correct sequence of steps to register these on-premises servers and execute the script?
Öğeleri doğru sıraya koymak için sürükleyin
A SysOps Administrator is setting up automated patching for a group of production Amazon EC2 instances running Red Hat Enterprise Linux (RHEL). The administrator designs a custom patch baseline that approves only security updates with a 'Critical' severity. The administrator tags the target EC2 instances with the key `Patch Group` and the value `RHEL-Production`. A maintenance window is configured to run the `AWS-RunPatchBaseline` document on these instances. During the next scheduled execution, the administrator notices that the instances are patched using the default AWS-provided RHEL patch baseline instead of the custom patch baseline.
Which action must the administrator take to ensure the custom patch baseline is applied to these instances?
A SysOps Administrator is setting up an administrative logging server on an Amazon EC2 instance in a public subnet () to receive remote log streams over TCP port 514 from a legacy on-premises logging agent (). The public subnet is associated with a custom Network Access Control List (NACL), and the EC2 instance is associated with a custom Security Group. The custom Security Group has an inbound rule allowing TCP port 514 from and an outbound rule allowing all traffic. However, logs are not reaching the server, and connection attempts are timing out. Which two updates to the custom NACL rules must the administrator perform to resolve this connectivity issue?
Geçerli olan tümünü seçin
A SysOps Administrator manages an AWS CloudFormation stack that contains an Amazon DynamoDB table. A developer manually deleted a global secondary index (GSI) from the DynamoDB table using the AWS Management Console to test an application performance issue. The SysOps Administrator runs drift detection on the stack, and the table is reported as DRIFTED. The administrator wants to restore the GSI to the DynamoDB table using AWS CloudFormation. Which action should the administrator take to achieve this?
A developer is troubleshooting an Amazon EC2 instance that has a public IPv4 address but cannot access the internet to download updates. The security groups and network ACLs are configured to allow all outbound traffic. What is the most likely cause of this connectivity failure?
An organization hosts a web application on Amazon EC2 instances in Subnet A (). The application uses an Amazon ElastiCache for Redis cluster in Subnet B () to cache session data.
Subnet A and Subnet B are associated with custom Network Access Control Lists (NACLs): NACL-A and NACL-B, respectively.
The EC2 instances and the Redis cluster are configured with security groups that allow traffic on TCP port . However, the application instances are experiencing connection timeouts when trying to write to the Redis cluster.
A SysOps Administrator reviews the custom NACL configurations:
NACL-A (Associated with Subnet A):
- Inbound: Rule | Protocol: TCP | Port Range: - | Source: | ALLOW
- Outbound: Rule | Protocol: TCP | Port Range: | Destination: | ALLOW
NACL-B (Associated with Subnet B):
- Inbound: Rule | Protocol: TCP | Port Range: | Source: | ALLOW
- Outbound: Rule | Protocol: TCP | Port Range: | Destination: | ALLOW
Which configuration change must the administrator make to resolve this connection issue?
An application server running on an Amazon EC2 instance in a private subnet is unable to retrieve software updates from the internet. A SysOps administrator needs to troubleshoot this connectivity issue.
Which of the following configurations are required to resolve this problem? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is troubleshooting an access issue where an application running on an Amazon EC2 instance cannot decrypt data using an AWS KMS Customer Managed Key (CMK). The application uses an IAM role named AppExecutionRole. An IAM policy attached to this role allows the kms:Decrypt action on the CMK's Amazon Resource Name (ARN). However, the application continues to receive an AccessDenied error.
The CMK is configured with the following key policy:
{
"Version": "2012-10-17",
"Id": "key-policy-1",
"Statement": [
{
"Sid": "Allow Key Administration",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::111122223333:role/AdminRole"
},
"Action": [
"kms:Create*",
"kms:Describe*",
"kms:Enable*",
"kms:List*",
"kms:Put*",
"kms:Update*",
"kms:Revoke*",
"kms:Disable*",
"kms:Get*",
"kms:Delete*",
"kms:TagResource",
"kms:UntagResource",
"kms:ScheduleKeyDeletion",
"kms:CancelKeyDeletion"
],
"Resource": "*"
}
]
}
Which of the following actions can the administrator take to resolve this issue? (Select TWO.)
Geçerli olan tümünü seçin
A SysOps Administrator is setting up an organization-wide trail in AWS CloudTrail to log API activity across all member accounts. The trail is configured to deliver logs to a centralized Amazon S3 bucket in a dedicated security account. The S3 bucket is encrypted using SSE-KMS with a customer managed key. The S3 bucket policy is already configured to allow the `cloudtrail.amazonaws.com` service principal to perform `s3:GetBucketAcl` and `s3:PutObject` actions. However, the Administrator notices that no log files are being delivered to the S3 bucket, and the CloudTrail console displays a log delivery error. Which action must the SysOps Administrator take to resolve this log delivery issue?
A SysOps administrator is attempting to create an AWS Step Functions state machine using the AWS CLI. The state machine needs to use an existing IAM execution role named StepFunctionsExecutionRole to perform its tasks. When running the creation command, the administrator receives an Access Denied error, despite having full administrator access to AWS Step Functions. To resolve this issue, which permission must be attached to the administrator's IAM user policy?
An application tier runs on Amazon EC2 instances in Subnet A (). A PostgreSQL database runs on an Amazon EC2 instance in Subnet B (). Both subnets are in the same VPC. The Security Group associated with the database instance allows inbound TCP traffic on port from the security group of the application tier. Subnet A is associated with the default Network Access Control List (NACL), which allows all inbound and outbound traffic. Subnet B is associated with a custom NACL that contains only the default deny rules. Currently, the application instances are unable to connect to the database. Which of the following rules must be added to the Subnet B NACL to allow successful database connections from the application tier? (Select TWO.)
Geçerli olan tümünü seçin
An organization uses an AWS CloudFormation stack to manage its network infrastructure. A SysOps Administrator runs drift detection on the stack and identifies that a security group has a status of MODIFIED because a developer manually added an inbound rule allowing TCP port 3389. The administrator wants to resolve this drift so that the security group's actual configuration matches the expected configuration defined in the CloudFormation template.
Which action should the administrator take to remediate the drift?