TutorialsDojo Flashcards

1
Q

You need to set up an alert that notifies the IT manager about EC2 instances service limits.

A

Use Amazon CloudWatch Events to detect and react to changes in the status of Trusted Advisor checks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

You need to track the deletion and rotation of CMKs.

A

Use AWS CloudTrail to log AWS KMS API calls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

You need to investigate if the traffic is reaching the EC2 instance.

A

Use VPC flow logs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You need to ensure that the SSH protocol is always disabled on private servers.

A

Use AWS Config Rules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You need to retrieve the instance metadata of an EC2 instance.

A

http://169.254.169.254/latest/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

You have to monitor the CPU usage of a single process in your EC2 instance.

A

Use the CloudWatch Agent procstat plugin to monitor system utilization.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When the incoming message traffic increases the EC2 instances fall behind and it takes too long to process the messages.

A

Create an Auto Scaling group that can scale out based on the number of messages in the queue.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

You need to log the client’s IP address latencies request paths and server responses that go through your Application Load Balancer.

A

Enable access logging in ALB and store the logs on an S3 bucket.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

You need to determine which cipher is used for the SSL connection in your ELB.

A

Enable Server Order Preference

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

You need to monitor the total number of requests or connections in your load balancer.

A

Monitor the SurgeQueueLength metric

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

You need to ensure that the backups of an Amazon Redshift cluster are always available.

A

Configure the Amazon Redshift cluster to automatically copy snapshots of a cluster to another region.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You must remotely execute shell scripts and securely manage the configuration of EC2 instances.

A

Use Systems Manager Run Command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

You need to identify the configuration changes in the CloudFormation resources.

A

Use drift detection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Requires a CloudFormation template that can be reused for multiple environments. If the template has been updated all the stack that is referencing it will automatically use the updated configuration.

A

Use Nested Stacks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

You need to automate the process of updating the CloudFomration templates to map to the latest AMI IDs.

A

Use CloudFormation with Systems Manager Parameter Store

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The eviction count in Amazon ElastiCache for Memcached has exceeded its threshold.

A

Scale the cluster by increasing the number of nodes.

17
Q

You need to provide each department a new AWS account with governance guardrails and a defined baseline in place.

A

Set up AWS Control Tower

18
Q

An S3 bucket must be configured to move the objects older than 60 days to Infrequent Access storage class.

A

Set up a lifecycle policy

19
Q

You need to monitor all the COPY and UNLOAD traffic in the Redshift cluster.

A

Enable Enhanced VPC routing on the Redshift cluster.

20
Q

You need to generate a report on the replication and encryption status of all of the objects stored in the S3 bucket.

A

Use S3 Inventory

21
Q

A total of 500 TB of data needs to be transferred to Amazon S3 in the fastest way.

A

Use multiple AWS Snowball devices

22
Q

You need to encrypt all the objects at rest in your S3 bucket

A

Use SS3-S3 SSE-KMS or SSE-C

23
Q

You have to rotate an existing CMK with imported key material every 6 months

A

Create a new CMK with imported key material and update the key ID to point to the new CMK

24
Q

A company needs to restrict access to the data in an S3 bucket.

A

Use S3 ACL and bucket policy

25
Q

Mitigate malicious attacks such as SQL injection and DDoS attacks from unknown origins.

A

Use AWS WAF and Shield

26
Q

You need to define an IAM policy to enable the user to pass a role to an AWS service.

A

Define iam:PassRole in the IAM policy

27
Q

You need to create a solution that allows multiple EC2 instances in a private subnet to use AWS KMS and the traffic must not pass through the public Internet.

A

Configure a VPC endpoint

28
Q

You need to allow the EC2 instances in your VPC that support IPv6 to connect to the Internet but block any incoming connection.

A

Set up an egress-only Internet gateway

29
Q

You have to establish a dedicated connection between their on-premises network and their Amazon VPC.

A

Set up a Direct Connect connection

30
Q

You need to increase the cache hit ratio for a CloudFront web distribution.

A

Add a Cache-Control max-age and increase the TTL by specifying the longest value for max-age

31
Q

You need to ensure that users are consistently directed to the AWS region nearest to them.

A

Set up a Route 53 Geoproximity routing policy

32
Q

A company plans to implement a hybrid cloud architecture. You need to allow your resources on AWS the connectivity to external networks.

A

Assign an Internet Gateway to the VPC

Create a Virtual Private Gateway

33
Q

You have to automate the process of patching managed instances with security-related updates.

A

Use AWS Systems Manager Patch Manager

34
Q

You need to analyze the data hosted in Amazon S3 using standard SQL.

A

Use Amazon Athena

35
Q

Improving the site speed of a static S3 web hosting with customers around the globe

A

Create a CloudFront web distribution and set Amazon S3 as the origin.

36
Q

You need to implement a solution to enforce the tagging of all instances that will be launched in the VPC.

A

Use AWS Service Catalog TagOption library

37
Q

You need to get billing alerts once it reaches a certain limit.

A

Enable billing alerts in Account Preferences of the AWS Console.