Summer Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

A company uses an AWS Lambda function to process user uploads to an Amazon S3 bucket. The Lambda function runs in response to Amazon S3 PutObject events.

A SysOps administrator needs to set up monitoring for the Lambda function. The SysOps administrator wants to receive a notification through an Amazon Simple Notification Service (Amazon SNS) topic if the function takes more than 10 seconds to process an event.

Which solution will meet this requirement?

A.

Collect Amazon CloudWatch logs for the Lambda function. Create a metric filter to extract the PostRuntimeExtensionsDuration metric from the logs. Create a CloudWatch alarm to publish a notification to the SNS topic when the function runtime exceeds 10 seconds.

B.

Collect Amazon CloudWatch metrics for the Lambda function to extract the function runtime. Create a CloudWatch alarm to publish a notification to the SNS topic when the runtime exceeds 10 seconds.

C.

Configure an Amazon CloudWatch metric filter to capture the runtime of the Lambda function. Set the function ' s timeout setting to 10 seconds. Create an SNS subscription to alert the SysOps administrator if the function times out.

D.

Use Amazon CloudWatch Logs Insights to query Lambda logs for the function runtime. Set up a CloudWatch alarm based on the query result. Configure Amazon SNS to send notifications when function runtime exceeds 10 seconds.

A SysOps administrator needs to implement a solution that protects credentials for an Amazon RDS for MySQL DB instance. The solution must rotate the credentials automatically one time every week.

Which combination of steps will meet these requirements? (Select TWO.)

A.

Configure an RDS proxy to store the credentials.

B.

Add the credentials to AWS Secrets Manager.

C.

Add the credentials to AWS Systems Manager Parameter Store.

D.

Create an AWS Lambda function to rotate the credentials.

E.

Create an AWS Systems Manager Automation runbook to rotate the credentials.

A CloudOps engineer has an Amazon ECS service that runs a transaction processing application. The CloudOps engineer needs to deploy a new feature on the ECS service. The feature cannot have downtime during deployment. The feature must also have the ability to run an immediate one-step rollback if a performance-degrading bug is detected.

Which solution will meet these requirements?

A.

Configure a canary deployment by using an AWS CodeDeploy linear traffic shift with a 10% increment over 10 minutes.

B.

Implement a blue/green deployment by using AWS CodeDeploy.

C.

Configure the ECS service with a minimum healthy percentage of 100%. Use the default rolling update deployment type.

D.

Set the ECS service ' s desired count to double the current size. Manually terminate the old tasks after the new tasks are registered.

A CloudOps engineer must ensure that all of a company ' s current and future Amazon S3 buckets have logging enabled. If an S3 bucket does not have logging enabled, an automated process must enable logging for the S3 bucket.

Which solution will meet these requirements?

A.

Use AWS Trusted Advisor to perform a check for S3 buckets that do not have logging enabled. Configure the check to enable logging for S3 buckets that do not have logging enabled.

B.

Configure an S3 bucket policy that requires all current and future S3 buckets to have logging enabled.

C.

Use the s3-bucket-logging-enabled AWS Config managed rule. Add a remediation action that uses an AWS Lambda function to enable logging.

D.

Use the s3-bucket-logging-enabled AWS Config managed rule. Add a remediation action that uses the AWS-ConfigureS3BucketLogging AWS Systems Manager Automation runbook.

A CloudOps engineer launches two Amazon EC2 instances and creates a single public subnet for testing purposes in the same Availability Zone. The CloudOps engineer wants Amazon Route 53 to respond with a public IP address only if a test webpage on an instance is running. However, even when the test webpage is unavailable, Route 53 still responds with the public IP addresses from both instances.

How can the CloudOps engineer resolve this issue?

A.

Create a Route 53 multivalue answer routing record. Associate a health check with the record.

B.

Configure latency-based routing with a health check in Route 53.

C.

Configure weighted routing in Route 53.

D.

Create another public subnet in the same Availability Zone for one of the instances.

A company plans to migrate several of its high-performance computing (HPC) virtual machines to Amazon EC2. The deployment must minimize network latency and maximize network throughput between the instances.

Which placement group strategy should the CloudOps engineer choose?

A.

Deploy the instances in a cluster placement group in one Availability Zone.

B.

Deploy the instances in a partition placement group in two Availability Zones.

C.

Deploy the instances in a partition placement group in one Availability Zone.

D.

Deploy the instances in a spread placement group in two Availability Zones.

A company has a non-production application that runs on an Amazon EC2 instance. The Amazon CloudWatch agent is installed on the EC2 instance. The application includes a process that randomly overuses temporary disk space and fills disks to 100% capacity.

A CloudOps engineer needs to automate a reboot of the EC2 instance after the disks reach 100% capacity.

Which solution will meet this requirement in the MOST operationally efficient way?

A.

Create a CloudWatch alarm for the EC2 instance. Create an Amazon EventBridge event rule that reacts to the CloudWatch alarm and reboots the EC2 instance.

B.

Create a CloudWatch alarm for the EC2 instance. Create an Amazon SES notification that reacts to the CloudWatch alarm and reboots the EC2 instance.

C.

Create an AWS Lambda function to reboot the EC2 instance. Create a CloudWatch alarm that uses Amazon EventBridge to invoke the Lambda function.

D.

Create an AWS Lambda function to reboot the EC2 instance. Use EC2 health checks to invoke the Lambda function.

A medical research company uses an Amazon Bedrock powered AI assistant with agents and knowledge bases to provide physicians quick access to medical study protocols. The company needs to generate audit reports that contain user identities, usage data for Bedrock agents, access data for knowledge bases, and interaction parameters.

Which solution will meet these requirements?

A.

Use AWS CloudTrail to log API events from generative AI workloads. Store the events in CloudTrail Lake. Use SQL-like queries to generate reports.

B.

Use Amazon CloudWatch to capture generative AI application logs. Stream the logs to Amazon OpenSearch Service. Use an OpenSearch dashboard visualization to generate reports.

C.

Use Amazon CloudWatch to log API events from generative AI workloads. Send the events to an Amazon S3 bucket. Use Amazon Athena queries to generate reports.

D.

Use AWS CloudTrail to capture generative AI application logs. Stream the logs to Amazon Managed Service for Apache Flink. Use SQL queries to generate reports.

A company has a microservice that runs on a set of Amazon EC2 instances. The EC2 instances run behind an Application Load Balancer (ALB).

A CloudOps engineer must use Amazon Route 53 to create a record that maps the ALB URL to example.com.

Which type of record will meet this requirement?

A.

An A record

B.

An AAAA record

C.

An alias record

D.

A CNAME record

A company’s application servers in AWS account 111122223333 use a security group sg-1234abcd. They need to access a database hosted in account 444455556666. The VPCs are connected using a VPC peering connection (pcx-b04deed9).

A CloudOps engineer must configure the database’s security group to allow new connections only from the application servers.

What should the engineer do?

A.

Add an inbound rule to the database ' s security group. Reference 111122223333/sg-1234abcd as the source.

B.

Add an inbound rule to the database ' s security group. Reference pcx-b04deed9/sg-1234abcd as the source.

C.

Add an inbound rule to the database ' s security group. Reference sg-1234abcd as the source.

D.

Add an inbound rule to the database ' s security group. Reference 444455556666/sg-1234abcd as the source.