Knowledge Check: Decoupled and Serverless Architectures (CLF-C01) Flashcards

1
Q

Which SQS component is responsible for storing a message until it can be read?

A. The producers

B. The consumers

C. The SQS servers

D. The dead-letter queues

A

C. The SQS servers

Explanation:
The producer component of your architecture is responsible for sending messages to your queue. At this point, the SQS service stores the message across a number of SQS servers for resiliency within the specified queue. This ensures that the message remains in the queue should a failure occur with one of the SQS servers.

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

AWS Step Functions can best be described as a serverless _____ service.

A. storage

B. messaging queue

C. pub-sub

D. state machine

A

D. state machine

Explanation

AWS Step Functions can best be described as a serverless state machine service.

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

In Amazon Kinesis Data Streams, a _____ application puts data into a stream as a series of data records.

A. data stream
B. producer
C. consumer
D. publisher

A

B. producer

Explanation
A producer application puts data into a stream as a series of data records.
/course/amazon-kinesis-data-streams-part-one-1304/the-elements-of-a-kinesis-data-stream/

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

Amazon Kinesis _____ is used to perform stream processing on binary-encoded data.

A. Data Analytics
B. Data Firehose
C. Video Streams
D. Data Streams

A

C. Video Streams

Explanation:
Kinesis Video Streams is used to do stream processing on binary-encoded data, such as audio and video.
/course/overview-amazon-kinesis-1307/amazon-kinesis-overview/

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

Which Amazon Kinesis solution capability enables you to build custom applications that process or analyze streaming data for specialized needs?

A. Amazon Kinesis Streams
B. Amazon Kinesis Firehose
C. Amazon Kinese Analytics
D. Amazon Kinesis Elasticsearch

A

A. Amazon Kinesis Streams

Explanation
Amazon Kinesis provides three different solution capabilities. Amazon Kinesis Streams enables you to build custom applications that process or analyze streaming data for specialized needs. Amazon Kinesis Firehose enables you to load streaming data into the Amazon Kinesis Analytics, Amazon S3, Amazon Redshift, and Amazon Elasticsearch services. Amazon Kinesis Analytics enables you to write standard SQL queries on streaming data.

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

Which Amazon Kinesis solution capability enables you to write standard SQL queries on streaming data?

A. Amazon Kinesis Streams
B. Amazon Kinesis Firehose
C. Amazon Kinesis Analytics
D. Amazon Kinesis OpenSearch

A

C. Amazon Kinesis Analytics

Explanation

Amazon Kinesis provides three different solution capabilities. Amazon Kinesis Streams enables you to build custom applications that process or analyze streaming data for specialized needs. Amazon Kinesis Firehose enables you to load streaming data into the Amazon Kinesis Analytics, Amazon S3, Amazon Redshift, and Amazon OpenSearch services. Amazon Kinesis Analytics enables you to write standard SQL queries on streaming data.

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

Which AWS service is a pub-sub notification service that provides both application-to-application and application-to-person communication?

A. AWS Fargate

B. Amazon SQS

C. Amazon SNS

D. Amazon API Gateway

A

C. Amazon SNS

Explanation

This service is a pub-sub notification service that provides both application-to-application and application-to-person communication. SNS can also act as an event-driven hub similar to Amazon EventBridge; It’s just more bare bones.
/course/survey-serverless-2399/a-survey-of-serverless/

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

Regarding Amazon SNS, ________ communicate asynchronously with _____________ by producing and sending a message to a topic, which is a logical access point and communication channel.

A. publishers; subscribers
B. queues; topics
C. brokers; recipients
D. clients; services

A

A. publishers; subscribers

Explanation

In Amazon SNS, there are two types of clients—publishers and subscribers—also referred to as producers and consumers. Publishers communicate asynchronously with subscribers by producing and sending a message to a topic, which is a logical access point and communication channel.

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

Which AWS service enables you to store message data until your application is able to process it?

A. Amazon Simple Queue Service (SQS)

B. Amazon Simple Notification Service (SNS)

C. Amazon Simple Email Service (SES)

D. AWS Lambda

A

A. Amazon Simple Queue Service (SQS)

Explanation

Amazon Simple Queue Service (Amazon SQS) is a web service that gives you access to message queues that store messages waiting to be processed. With Amazon SQS, you can quickly build message queuing applications that can run on any computer.

Amazon SQS offers a reliable, highly scalable, hosted queue for storing messages in transit between computers. With Amazon SQS, you can move data between diverse, distributed application components without losing messages and without requiring each component to be always available.

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

Which SQS component is responsible for sending messages to your queue?

A. The producer

B. The consumer

C. the dead-letter queue

D. the SQS server

A

A. The producer

Explanation

The producer component of your architecture is responsible for sending messages to your queue. At this point, the SQS service stores the message across a number of SQS servers for resiliency within the specified queue.

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

Which AWS service is a fully managed, serverless, NoSQL database that has been built to run high-performance applications at any scale?

A. Amazon S3

B. Amazon RDS Proxy

C. Amazon Aurora

D. Amazon DynamoDB

A

D. Amazon DynamoDB

Explanation

DynamoDB is a fully managed, serverless, NoSQL database that has been built to run high-performance applications at any scale.

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

Which service allows you to run serverless containers on Amazon ECS?

A. Amazon EventBridge

B. Amazon API Gateway

C. AWS Fargate

D. AWS Lambda

A

C. AWS Fargate

Explanation

This service allows you to run serverless containers on Amazon ECS (the Elastic Container Service). One of the coolest aspects about Fargate is that it allows you to get over the 15 minutes’ execution hurdle that plagues AWS Lambda.

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

What is Amazon Kinesis Firehose?

A. a fully-managed service for delivering real-time streaming data to destinations such as Amazon Simple Storage Service, or S3, Amazon Redshift, or Amazon OpenSearch service
B. a consumer that receives and processes records from an Amazon Kinesis firehose
C. a producer that pushes data to an Amazon Kinesis firehose
D. an ordered sequence of data records meant to be written to and read from in real-time

A

A. a fully-managed service for delivering real-time streaming data to destinations such as Amazon Simple Storage Service, or S3, Amazon Redshift, or Amazon OpenSearch service

Explanation

Amazon Kinesis Firehose is a fully-managed service for delivering real-time streaming data to destinations such as Amazon Simple Storage Service, or S3, Amazon Redshift, or Amazon OpenSearch service.

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

Which AWS service is a fully managed service that assists with building, publishing, monitoring, securing, and maintaining APIs within AWS?

A. Amazon API Gateway

B. Amazon S3

C. AWS AppSync

D. AWS Lambda

A

A. Amazon API Gateway

Explanation

AWS has created a fully managed service called Amazon API Gateway that helps deal with building, publishing, monitoring, securing, and maintaining APIs within AWS.

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

Applications that process the data from a stream are known as _____.

A. consumers
B. producers
C. destinations
D. endpoints

A

A. consumers

Explanation
Multiple data streams can be processed simultaneously and consumers, applications that process the data from a stream, can create new data streams.

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

Which of the following architectures specifically responds to changes within its infrastructure’s state?

A. Event-driven architecture

B. Decoupled architecture

C. Monolithic architecture

D .Microservice architecture

A

A. Event-driven architecture

Explanation

Event-driven architectures closely relate and interact with decoupled architectures, however, services in an event-driven architecture are triggered by events that occur within the infrastructure. So what is an event? Well, an event can be a number of things, for example, a change of state, so a resource such as an EC2 instance changing from ‘running’ to ‘stopped’—that is a change of state, or perhaps an order has been placed on your website and an item has been moved from for sale to sold, that could be a change of state within your application

17
Q

Which AWS service is an object-based serverless storage system that is able to handle a nearly unlimited amount of data?

A. Amazon DynamoDB

B. Amazon EC2

C. Amazon S3

D. Amazon ECS

A

C. Amazon S3

Explanation

Amazon S3 is an object-based serverless storage system that is able to handle a nearly unlimited amount of data.

18
Q

A _____ is the base throughput unit of an Amazon Kinesis stream.

A. shard
B. data blob
C. sequence
D. record

A

A. shard

Explanation
A shard is the base throughput unit of an Amazon Kinesis stream.

19
Q

Which AWS service allows you to build serverless applications that are more scalable than your standard direct-to-RDS implementations?

A. Amazon EC2

B. Amazon DynamoDB

C. Amazon Aurora

D. Amazon RDS Proxy

A

D. Amazon RDS Proxy
Explanation

Amazon RDS Proxy is a fully managed, serverless, highly available database proxy for Amazon RDS. The proxy allows you to build serverless applications that are more scalable than your standard direct-to-RDS implementations.

20
Q

What is an Amazon Kinesis stream?

A. a fully-managed service for delivering real-time streaming data to destinations such as Amazon Simple Storage Service, or S3, Amazon Redshift, or Amazon Elasticsearch service
B. a consumer that receives and processes records from an Amazon Kinesis firehose
C. a producer that pushes data to an Amazon Kinesis firehose
D. an ordered sequence of data records meant to be written to and read from in real-time

A

D. an ordered sequence of data records meant to be written to and read from in real-time

Explanation
A Kinesis stream is an ordered sequence of data records meant to be written to and read from in real-time.

21
Q

Which SQS component is responsible for processing the messages within your queue?

A. Producers

B. Consumers

C. SQS servers

D. Dead-Letter Queues

A

B. Consumers

Explanation

Consumers are responsible for processing the messages within your queue. As a result, when the consumer element of your architecture is ready to process the message from the queue, the message is retrieved and is then marked as being processed by activating the visibility timeout on the message.

22
Q

After it’s configured, where do Amazon SQS messages go when they have failed to be read after the maximum number of attempts, so that a developer can review the message to determine the cause of failure?

A. A user-created S3 bucket

B. A Dead-Letter Queue

C. An AWS-created S3 bucket

D. They are not stored anywhere. The messages are deleted.

A

B. A Dead-Letter Queue

Explanation

A dead-letter queue differs from the standard and FIFO queues as this dead-letter queue is not used as a source queue to hold messages submitted by producers. Instead, the dead-letter queue is used by the source queue to send messages that fail to process for one reason or another.

23
Q

________________ applications essentially separate processing and data into different elements and

A. components.
B. Decoupled
C. Elastic
D. Migrated
E. Scalable

A

B. Decoupledm

Explanation

Decoupling the application architecture essentially splits out your processing and data into different elements and components, so building an application as a collection of services helps to build a decoupled application that would be more closely aligned and cloud-ready. Having the ability to scale out specific parts of your application, and having them work independently of each other allows for the flexibility and scalability of the cloud to take your application to new levels depending on demand.

24
Q

Which AWS service allows you to manage and synchronize data across multiple mobile devices and users?

A. AWS AppSync

B. Amazon SQS

C. Amazon SNS

D. Amazon API Gateway

A

A. AWS AppSync

Explanation

AWS AppSync allows you to manage and synchronize data across multiple mobile devices and users.