Udemy Test 1 Flashcards

1
Q

EFS issue resulted in the poor performance of the application that reads and writes data into the file system.

What step should the SysOps administrator perform to resolve the high PercentIOLimit metric on the file system?

A

Build a new EFS file system that is configured with Max I/O performance mode. Utilize AWS DataSync to migrate data to the newly created EFS file system.

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

As the user visits grow, the IT department decides to implement a caching service for faster database performance and to maintain high availability for the RDS instance.

Which combination of steps should the SysOps admin perform to accomplish the requirement?

A

Utilize Amazon ElastiCache for Redis data store to support the demands of the database.

  • Activate Multi-AZ deployment for the data store.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Does multi-az support in-memory cache service like Amazon ElastiCache for Memcached data store

A

No it does not

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

Users started to report that they are being served with the desktop version of the website when using mobile phones.

Which action can help the SysOps administrator resolve the issue?

A

Update the CloudFront distribution origin settings. Add a User-Agent header to the list of origin custom headers.

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

configure CloudFront to forward one or more of the following headers to your custom origin if you cache based on the device the user is using

A
  • CloudFront-Is-Desktop-Viewer
  • CloudFront-Is-Mobile-Viewer
  • CloudFront-Is-SmartTV-Viewer
  • CloudFront-Is-Tablet-Viewer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Can you set the cache behavior of the CloudFront distribution to forward the User-Agent header?

A

No, this is configured in the Origin Custom Headers setting. Not the CF distribution.

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

CreationPolicy attribute supported resources

A

AWS::AutoScaling::AutoScalingGroup, AWS::EC2::Instance, and AWS::CloudFormation::WaitCondition.

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

What is CreationPolicy attribute?

A

Use attribute when you want to wait on resource configuration actions before stack creation proceeds.

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

DependsOn attribute

A

you can specify that the creation of a specific resource follows another.

When you add a DependsOn attribute to a resource, that resource is created only after the creation of the resource specified in the DependsOn attribute.

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

Can you modify the existing EFS file system configuration and activate Max I/O performance mode?

A

you can’t change the performance mode configuration of an EFS file system right away. You need to migrate the data to another file system configured with your desired performance mode.

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

Nested Stacks are used when

A

infrastructure grows, common patterns can emerge in which you declare the same components in multiple templates.

Nested stacks are stacks created as part of other stacks. You create a nested stack within another stack by using the AWS::CloudFormation::Stack resource. Nested stacks can themselves contain other nested stacks, resulting in a hierarchy of stacks.

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

Users are directed to the AWS region nearest to them

A

Set up a Route 53 Geoproximity routing policy to direct users to their closest region.

Latency-based routing is primarily used to minimize end-user latency. Not use to route to closest region.

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

Configuring VPC site to site

A

On VGW - add the customer on-premise subnet route as destination.

On CGW- Add AWS VPC subnet as destination.

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

How to automatically encrypting newly created EBS volumes?

A

You can configure your AWS account to enforce the encryption of the new EBS volumes and snapshot copies that you create.

Default only applies to specific AWS regions.

Example is when EC2 instance is created.

AWS Config only encrypts the existing ebs volumes with encrypted-volume option.

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

AWS Budgets VS Billing Alarm

A

AWS Budgets gives you the ability to set custom budgets that alert you when your costs or usage exceed (or are forecasted to exceed) your budgeted amount.

set reservation utilization or coverage targets and receive alerts when your utilization drops below the threshold you define.

Amazon CloudWatch Billing Alarm - although you can use this to monitor your estimated AWS charges and specified thresholds, this service still does not allow you to set coverage targets and receive alerts when your utilization drops below the threshold you define.

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

How to increase cache hit ratio when it’s low with cloud front?

A

using CloudFront is to reduce the number of requests that your origin server must respond to directly. Assisting with load of origin.

increasing the proportion of your viewer requests that are served from CloudFront edge caches instead of going to your origin servers for content

  1. Increase the TTL of your objects
  2. Configure the distribution to forward only the required query string parameters, cookies or request headers for which your origin will return unique objects.
  3. Remove Accept-Encoding header when compression is not needed
  4. Serving Media Content by using HTTP
17
Q

What is a stackset?

A

You can use AWS CloudFormation StackSets to launch AWS Service Catalog products across multiple AWS Regions and accounts.

You can specify the order in which products deploy sequentially within AWS Regions. Across accounts, products are deployed in parallel.

When launching, users can specify failure tolerance and the maximum number of accounts in which to deploy in parallel.

18
Q

Stack Policy

A

prevent stack resources from being unintentionally updated or deleted during a stack update by using a stack policy.

19
Q

Change Sets are used when

A

When you need to update a stack, understanding how your changes will affect running resources before you implement them can help you update stacks with confidence.

Change sets allow you to preview how proposed changes to a stack might impact your running resources, for example, whether your changes will delete or replace any critical resources, AWS CloudFormation makes the changes to your stack only when you decide to execute the change set, allowing you to decide whether to proceed with your proposed changes or explore other changes by creating another change set.

20
Q

ACM functionality - Private certificate authority

A

ACM manages

private CA service that helps you easily and securely manage the lifecycle of your private certificates. ACM Private CA provides you a highly-available private CA service without the upfront investment and ongoing maintenance costs of operating your own private CA or private CA hierarchy.

21
Q

ACM - Secure key management

A

Strong encryption and key management best practices are used when protecting and storing private keys.

22
Q

ACM - Integrated with other AWS cloud services

A

Elastic Load Balancer

Amazon CloudFront distribution or API in Amazon API Gateway.

works with AWS Elastic Beanstalk and AWS CloudFormation

23
Q

ACM functionality

A

managed renewal for your Amazon-issued SSL/TLS certificates.

This means that ACM will either renew your certificates automatically (if you are using DNS validation), or it will send you email notices when expiration is approaching.

24
Q

ACM Renewal Eligibility

A
  1. if associated with another AWS service, such as Elastic Load Balancing or CloudFront.
  2. exported since being issued or last renewed.
  3. if it is a private certificate issued by calling the ACM RequestCertificate API and then exported or associated with another AWS service.
  4. if it is a private certificate issued through the management console and then exported or associated with another AWS service.
25
Q

ACM Renewal Ineligibility

A

NOT ELIGIBLE if

  1. if it is a private certificate issued by calling the ACM Private CA IssueCertificate API.
  2. If imported
  3. If already expired.
26
Q

ACM post renewal.

A

the certificate’s Amazon Resource Name (ARN) remains the same.

Also, ACM certificates are regional resources. If you have certificates for the same domain name in multiple AWS Regions, each of these certificates must be renewed independently.

27
Q

How to identify the affected resources with non-compliant tags?

A

You can can leverage the require-tags managed rule in AWS Config. This rule checks if a resource contains the tags that you specify.

28
Q

How to allow all accounts be able to sign in using a single login URL as shown below:
https://tutorialsdojo.signin.aws.amazon.com/console

A

It is possible for only the root account. To create an alias in place for account number. Other members in IAM users in that account can sign in with the URL.

It is not possible for MULTIPLE accounts to sign in under one URL.