Practice-Exam01 Flashcards

1
Q

What are the Programming Languages supported by Lambda Runtime?

A
  • C# / .NET
  • Go
  • Java
  • Node.js
  • Python
  • Ruby
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name a few languages that are not supported by lambda runtime.

A
  • PHP
  • R
  • C
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What to do if upload to S3 fails during peak hours?

What to do to optimize S3 performance?

A

Create custom prefixes within a single bucket. Upload daily files into those prefixed locations.

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

How does the availability of Standard-IA differ from Standard Access?

A
  1. 9% Standard-IA

99. 99% Standard

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

What is the latency of the Standard-IA access?

A

ms low latency.

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

What are the different types of AWS Storage Gateway ?

A
  • Tape Gateway
  • File Gateway
  • Volume Gateway
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which Storage Gateway supports NFS interface?

A

AWS Storage Gateway - File Gateway.

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

Which Storage Gateway supports iSCSI block storage?

A

AWS Storage Gateway- Volume Gateway

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

What Protocol / Interface does site-to-site support? Give an example on unsupported interface.

A

Supports IPSec

Does not support NFS interface for file integration

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

Name an S3 feature that can only be suspended after it is enabled.

A

Versioning. It can be suspended. A bucket cannot return to an nu-versioned state.

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

Which Storage is best for query data?

A

Standard storage class.
Glacier instant retrieval is charged for 90 days min.
Storage-IA is charged for 30 days min.

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

When can Storage type be changed from Standard to Standard-IA ?

A

After min. 30 days.

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

What Can be done if you delete the Customer Master Key (CMK) ?

A

By default the delete is pending for 30 days.

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

When is multi-part upload to S3 recommended ?

A

In general for files greater than 100 MB.

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

How can AWS Global Accelerator help with S3 upload?

A

AWS Global accelerator does not help with S3 file uploads.

It is meant to improve availability & performance of applications.

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

Which service supports Microsoft Distributed File System (DFS) ?

A

Amazon FSx for Windows File Server.

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

how to interconnect VPCs with On-premises data centers?

A

Use VPC transit gateway.

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

What AWS services to federate your workforce into AWS accounts ?

A
  1. IAM (multiple directories)

2. SSO (single directory)

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

Which service is one that does not support Federated accounts ?

A

AWS Organisations

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

Which service helps with content-based routing?

A

ALB

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

Which service improves availability & performance of an application using UDP protocol? & supports fast regional failover?

A

Global Accelarator

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

What type of Storage can be used as boot volume?

A

SSDs

Instance Store

23
Q

What replication type does an RDS DB Multi-AZ deployment follow?

A

Synchronous replication

24
Q

What replication type does an RDS DB deployment to read-replicas follow?

A

Asynchronous replication

25
Q

How to download logs before an EC2 terminates?

A

Use Auto-Scaling group lifecycle hook

26
Q

How to delete GuardDuty data when you want to stop it?

A

Disable the service!

27
Q

Which Storage type is recommended for data replicated on a fleet of EC2 instances?

A

Instance store

28
Q

Configure additional Confirmation to delete S3 objects ?

A

No such thing

29
Q

No Targets registered for ALB, which error would arise?

A

HTTP 503 : No Service available

30
Q

If Image upload with S3TA did not make a difference. What charges are incurred?

A

No charges for image upload or S3TA!

  • Data in to S3 are free.
  • Only accelerated S3TA costs are incurred.
31
Q

What can be used and can not be used to schedule scaling ? Ex. 10 EC2 instances at a particular time.

A

Scaling Scheduler can be used.

CANNOT USE: Simple & Target tracking policies

32
Q

What is the quota for Lambda concurrent executions per account per region ?

A

1000

33
Q

What to do if Lambda concurrent executions exceeds the quota?

A

Contact AWS support

34
Q

Launch type prices for ECS EC2 Vs. ECS Fargate ?

A

ECS EC2 launch type: Used EC2 instances & EBS volumes.

ECS Fargate: vCPUs and memory requests.

35
Q

A ‘target group’ target types ?

A
  • Instance
  • IP
  • Lambda Function
36
Q

IP address target type ?

A

Private IP address

37
Q

GuardDuty data sources?

A
  • CloudTrail events,
  • VPC Flow Logs,
  • DNS logs
38
Q

Kinesis Firehose cannot directly write into ____ ?

A

DynamoDB table.

39
Q

When copying AMI from region A to B. What is copied?

A

The AMI image + underlying Snapshot.

40
Q

Unsupported life-cycle transitions for S3 storage classes ?

A
  • Any storage class ==> S3 Standard storage class.
  • Any storage class ==> Reduced Redundancy .
  • S3 Intelligent-Tiering ==> S3 Standard-IA .
  • S3 One Zone-IA ==> S3 Standard-IA
  • S3 One Zone-IA ==> S3 Intelligent-Tiering.
41
Q

Ways to control what EC2 instances can access EFS file system ?

A
  • Use VPC security group rules (control network traffic)
  • Use IAM policies (control what clients can mount the EFS)
  • Use EFS Access Points (manage application access).
42
Q

SSE-KMS is preferred for S3 objects encryption. Why SSE-C (customer) and SSE-S3 are not options sometimes?

A

SSE-C and SSE-S3 has no option to audit trail to usage of encryption keys.

43
Q

CTO decided to migrate 80TB of data to the cloud in 2 weeks. Why DirectConnect is not a good option?

A

DirectConnect needs a month to setup.

44
Q

How to process 1000 ‘ordered’ messages per second in SQS ?

A

Process in batches of 4 messages per operation = 1200 message/second
Default : 300 message / second;
Maximum batch of 10 messages = 3000

45
Q

Name 3 services that help in throttling or buffering of requests.

A
  • Amazon API Gateway,
  • Amazon SQS,
  • Amazon Kinesis
46
Q

Name 3 services that does NOT throttle requests.

A
  • ELB
  • SNS
  • Gateway Endpoints
47
Q

Does lambda function throttle requests?

A

Throttles requests with error code 429 status code.

48
Q

Why VPC transit Gateway is not a good option in some scenarios?

A

It cannot establish a low latency and high throughput connection.

49
Q

Why in some scenarios ElastiCache for Memcached is not a cache option?

A

It is in-memory key-value store, used as cache for data store.
Used with relational or NoSQL database.

ElastiCache Memcached cannot be used as a cache to serve static content from S3

50
Q

Name two ways to place a retention period on an object version?

A
  1. Explicitly on the object version.

2. Through a bucket default setting.

51
Q

What might be a reason not to use Global Accelerator to make an application more resilient to periodic spikes in request rates?

A

CloudFront and Aurora Replica are better for improving application resiliency.

52
Q

What could be a reason not to use Kinesis Data Analytics to load, transform and store data into S3?

A

Kinesis Data Analytics cannot directly ingest data from the source as it ingests data either from Kinesis Data Streams or Kinesis Data Firehose,

53
Q

What volume types can to used to enable Multi-Attach on Nitro-based EC2 instances? & what types cannot be used?

A
  • Use io1/io2 volumes

- gp2/3 are not supported for Multi-Attach.

54
Q

What is a Autoscaling group lifecycle hooks for?

A

perform custom actions as the Auto Scaling group launches or terminates instances