1. Trang chủ
  2. » Kinh Doanh - Tiếp Thị

QUIZ module 6 using cloudfront backed by s3

4 12 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 4
Dung lượng 30,85 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

QUIZ Module-6 Using CloudFront Backed by S3 1 CloudFront distribution takes the content in the S3 bucket and distributes it out to all the ‘edge locations’.. CloudFront distribution tak

Trang 1

QUIZ

Module-6

Using CloudFront Backed by S3

1) CloudFront distribution takes the content in the S3 bucket and distributes it out to all the

‘edge locations’

a True

b False

Feedback

Correct a: That’s right CloudFront distribution takes your content in the S3 bucket,

replicates it, and makes it available worldwide It then distributes this content to all your

‘edge locations’

Incorrect b: No That’s not quite right CloudFront distribution takes your content in the S3

bucket, replicates it, and makes it available worldwide It then distributes this content to all your ‘edge locations’

2) Which of the following statements is true?

a) Each HTTP request and response consists of two paths, a body section, and a footer section

b) The ‘RTMP’ distribution serves static content meant to be consumed as a single whole unit by the client application

c) An S3 bucket with all the files for the application in it should be created first, before creating a CloudFront distribution

d) The‘Origin Path’ setting provides Cloudfront users the option, to choose the content

in a bucket, and distribute it later globally

Feedback

Correct if c) is chosen: That’s right You should first create an S3 bucket with all your

application files in it Only then, you will be able to specify it in the ‘Origin Domain Name’, and distribute your content to the world

Incorrect if a) is chosen: No That’s not quite right Each HTTP request and response consists

of two paths, a header section and a body section The header section is a combination of key value pairs It designates to the recieving entity, what the sender entity wants

Incorrect if b) is chosen: No That’s not quite right You select the ‘RTMP’ distribution to

distribute streaming data If you are building a website with a lot of videos in it, you can select this distribution to serve your content

Trang 2

Incorrect if d) is chosen: No That’s not quite right The‘Origin Path’ setting allows you to

select content in a particular folder within your S3 bucket You can then serve this content to your audience using CloudFront

3) Which of the following statements is NOT True?

a) For the user’s content to be visible to the global audience, it is best recommended to serve it from CloudFront as ‘HTTP’

b) CloudFront couples a ‘TTL’, with each replication from the S3 bucket to each of the edge locations for content updates

c) The ‘Allowed HTTP Methods’ setting describes to the server what the client is requesting

d) The ‘Origin Custom Headers’ setting provides the best use of the http protocol, by requesting clients to do things that suit the user’s application needs

Feedback

Correct if a) is chosen: That’s right You have to serve your content as ‘HTTPS’ and not

‘HTTP’ This makes your content visible to the global audience, as most web browsers are soon going to disable ‘HTTP’

Incorrect if b) is chosen: No That’s not quite right CloudFront couples a ‘TTL’ with each

replication from your S3 bucket to each of the edge locations, for your content updates Your TTL value should be a balance between, the frequency of your content updates, and the latencies your users will percieve as normal

Incorrect if c) is chosen: No That’s not quite right The ‘Allowed HTTP Methods’ setting

describes to the server what your client is requesting It can be a GET,HEAD, POST, or some other request which your client is issuing the server

Incorrect if d) is chosen: No That’s not quite right The ‘Origin Custom Headers’ setting

provides the best use of the http protocol, by requesting clients to do things that suit the your application needs The values you specify here in the header, will instruct your client who obeys the HTTP protocol to pass this header, and take the appropriate action

4) ‘TTL’ is:

a) short for ‘Time To Live’ and is measured in hours

b) short for ‘Time To Log’ and is measured in seconds

c) short for ‘Time To Live’ and is measured in seconds

d) short for ‘Time To Log’ and is measured in hours

Trang 3

Correct if c) is chosen: That’s right ‘TTL’ is short for ‘Time To Live’, and is measured in

seconds Once, this value expires, content is re-fetched from your S3 bucket, and replicated

to your client

Incorrect if a) is chosen: No That’s not quite right ‘TTL’ is short for ‘Time To Live’, and is

measured in seconds Once, this value expires, content is re-fetched from your S3 bucket, and replicated to your client

Incorrect if b) is chosen: No That’s not quite right ‘TTL’ is short for ‘Time To Live’, and is

measured in seconds Once, this value expires, content is re-fetched from your S3 bucket, and replicated to your client

Incorrect if d) is chosen: No That’s not quite right ‘TTL’ is short for ‘Time To Live’, and is

measured in seconds Once, this value expires, content is re-fetched from your S3 bucket, and replicated to your client

5) Which of the following statements is True?

a) Users should select the ‘Use All Edge Locations’ option in the ‘Price Class’ setting to incur less billing costs, and for the best performance

b) To specify an alternate domain name, users have to first configure that domain name as a ‘CNAME’ record in the DNS, and then specify it in the ‘Alternate Domain Names’ setting

c) Users should get their CloudFront SSL certificate from a third party like Verisign, GoDaddy, or Let’s Encrypt

d) The ‘Log Prefix’ setting allows users to specify, the S3 bucket in which all the logs will

be kept

Feedback

Correct if b) is chosen: That’s right To specify an alternate domain name you should first,

configure that domain name as a ‘CNAME’ record in your DNS Then, you have to specify it in the ‘Alternate Domain Names’ setting

Incorrect if a) is chosen: No That’s not quite right You should always select a location in the

‘Price Class’ setting, based on where your audience is located This won’t replicate your content to other locations, and will result in reduced billing costs, and provide you the best performance

Incorrect if c) is chosen: No That’s not quite right CloudFront provides you two options for

choosing your SSL certificate You can either use the default CloudFront SSL certificate, or select a custom SSL certificate from a third party like Verisign, GoDaddy, or Let’s Encrypt

Trang 4

Incorrect if d) is chosen: No That’s not quite right The ‘Log Prefix’ setting allows users to

specify a ‘Log Prefix’ which makes each log line start with that prefix So, if you are logging a lot of things from different places to your S3 bucket, you can distinguish what is coming from your CDN, and somewhere else

6) Which of the following statements is NOT True?

a) The latency users experience while deploying a CloudFront distribution depends only on, how fast the file can travel to all the servers, and how fast the request gets qued among all the clients

b) Users can enable the ‘Cookie Logging’ setting to log the cookie information about any custom ‘Cookies’ they have set in the ‘Origin Custom Headers’

c) Users have to use CloudFront and not S3, if they are serving content to a global audience

d) After the CloudFront distribution gets deployed, users get a specific header value to access the content in their S3 bucket

Feedback

Correct if d) is chosen: That’s right After the CloudFront distribution gets deployed, you get

a specific URL, not a header value You can use this URL to access the content in your S3 bucket

Incorrect if a) is chosen: No That’s not quite right The latency you experience while

deploying your CloudFront distribution depends only on, how fast your file travels to all the servers, and how fast your request gets qued among all your clients

Incorrect if b) is chosen: No That’s not quite right You can enable the ‘Cookie Logging’

setting to log the cookie information about any custom ‘Cookies’ you have set in the ‘Origin Custom Headers’ For this, you can set a ‘Cookie’ using a header called ‘Set Cookie’ with a particular value

Incorrect if c) is chosen: No That’s not quite right You have to use CloudFront and not S3, if

you are serving content to a global audience, since the bandwidth transfer cost for S3 is higher than that for CloudFront

Ngày đăng: 15/09/2020, 15:52

w