Ch11 Additional Key Services Flashcards

1
Q

What origin servers are supported by Amazon CloudFront? (Choose 3 answers)
A. An Amazon Route 53 Hosted Zone
B. An Amazon Simple Storage Service (Amazon S3) bucket
C. An HTTP server running on Amazon Elastic Compute Cloud (Amazon EC2)
D. An Amazon EC2 Auto Scaling Group
E. An HTTP server running on-premises

A

B, C, E. Amazon CloudFront can use an Amazon S3 bucket or any HTTP server, whether
or not it is running in Amazon EC2. A Route 53 Hosted Zone is a set of DNS resource
records, while an Auto Scaling Group launches or terminates Amazon EC2 instances
automatically. Neither can be specified as an origin server for a distribution.

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

Which of the following are good use cases for Amazon CloudFront? (Choose 2 answers)
A. A popular software download site that supports users around the world, with
dynamic content that changes rapidly
B. A corporate website that serves training videos to employees. Most employees are
located in two corporate campuses in the same city.
C. A heavily used video and music streaming service that requires content to be
delivered only to paid subscribers
D. A corporate HR website that supports a global workforce. Because the site contains
sensitive data, all users must connect through a corporate Virtual Private Network
(VPN).

A

A, C. The site in A is “popular” and supports “users around the world,” key indicators that
CloudFront is appropriate. Similarly, the site in C is “heavily used,” and requires private
content, which is supported by Amazon CloudFront. Both B and D are corporate use
cases where the requests come from a single geographic location or appear to come from
one (because of the VPN). These use cases will generally not see benefit from Amazon
CloudFront.

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

Your company data center is completely full, but the sales group has determined a need
to store 200TB of product video. The videos were created over the last several years, with
the most recent being accessed by sales the most often. The data must be accessed
locally, but there is no space in the data center to install local storage devices to store this
data. What AWS cloud service will meet sales’ requirements?
A. AWS Storage Gateway Gateway-Stored volumes
B. Amazon Elastic Compute Cloud (Amazon EC2) instances with attached Amazon EBS
Volumes
C. AWS Storage Gateway Gateway-Cached volumes
D. AWS Import/Export Disk

A

C. AWS Storage Gateway allows you to access data in Amazon S3 locally, with the
Gateway-Cached volume configuration allowing you to expand a relatively small amount
of local storage into Amazon S3.

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

Your company wants to extend their existing Microsoft Active Directory capability into
an Amazon Virtual Private Cloud (Amazon VPC) without establishing a trust relationship
with the existing on-premises Active Directory. Which of the following is the best
approach to achieve this goal?
A. Create and connect an AWS Directory Service AD Connector.
B. Create and connect an AWS Directory Service Simple AD.
C. Create and connect an AWS Directory Service for Microsoft Active Directory
(Enterprise Edition).
D. None of the above

A

B. Simple AD is a Microsoft Active Directory-compatible directory that is powered by
Samba 4. Simple AD supports commonly used Active Directory features such as user
accounts, group memberships, domain-joining Amazon Elastic Compute Cloud (Amazon
EC2) instances running Linux and Microsoft Windows, Kerberos-based Single Sign-On
(SSO), and group policies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
Which of the following are AWS Key Management Service (AWS KMS) keys that will
never exit AWS unencrypted?
A. AWS KMS data keys
B. Envelope encryption keys
C. AWS KMS Customer Master Keys (CMKs)
D. A and C
A

C. AWS KMS CMKs are the fundamental resources that AWS KMS manages. CMKs can
never leave AWS KMS unencrypted, but data keys can.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
Which cryptographic method is used by AWS Key Management Service (AWS KMS) to
encrypt data?
A. Password-based encryption
B. Asymmetric
C. Shared secret
D. Envelope encryption
A

D. AWS KMS uses envelope encryption to protect data. AWS KMS creates a data key,
encrypts it under a Customer Master Key (CMK), and returns plaintext and encrypted
versions of the data key to you. You use the plaintext key to encrypt data and store the
encrypted key alongside the encrypted data. You can retrieve a plaintext data key only if
you have the encrypted data key and you have permission to use the corresponding
master key.

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

Which AWS service records Application Program Interface (API) calls made on your
account and delivers log files to your Amazon Simple Storage Service (Amazon S3)
bucket?
A. AWS CloudTrail
B. Amazon CloudWatch
C. Amazon Kinesis
D. AWS Data Pipeline

A

A. AWS CloudTrail records important information about each API call, including the
name of the API, the identity of the caller, the time of the API call, the request
parameters, and the response elements returned by the AWS Cloud service.

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

You are trying to decrypt ciphertext with AWS KMS and the decryption operation is
failing. Which of the following are possible causes? (Choose 2 answers)
A. The private key does not match the public key in the ciphertext.
B. The plaintext was encrypted along with an encryption context, and you are not
providing the identical encryption context when calling the Decrypt API.
C. The ciphertext you are trying to decrypt is not valid.
D. You are not providing the correct symmetric key to the Decrypt API.

A

B, C. Encryption context is a set of key/value pairs that you can pass to AWS KMS when
you call the Encrypt, Decrypt, ReEncrypt, GenerateDataKey, and GenerateDataKeyWithoutPlaintext APIs. Although the encryption context is not included
in the ciphertext, it is cryptographically bound to the ciphertext during encryption and
must be passed again when you call the Decrypt (or ReEncrypt) API. Invalid ciphertext
for decryption is plaintext that has been encrypted in a different AWS account or
ciphertext that has been altered since it was originally encrypted

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

Your company has 30 years of financial records that take up 15TB of on-premises
storage. It is regulated that you maintain these records, but in the year you have worked
for the company no one has ever requested any of this data. Given that the company data
center is already filling the bandwidth of its Internet connection, what is an alternative
way to store the data on the most appropriate cloud storage?
A. AWS Import/Export to Amazon Simple Storage Service (Amazon S3)
B. AWS Import/Export to Amazon Glacier
C. Amazon Kinesis
D. Amazon Elastic MapReduce (AWS EMR)

A

B. Because the Internet connection is full, the best solution will be based on using AWS
Import/Export to ship the data. The most appropriate storage location for data that must
be stored, but is very rarely accessed, is Amazon Glacier.

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

Your company collects information from the point of sale registers at all of its franchise
locations. Each month these processes collect 200TB of information stored in Amazon
Simple Storage Service (Amazon S3). Analytics jobs taking 24 hours are performed to
gather knowledge from this data. Which of the following will allow you to perform these
analytics in a cost-effective way?
A. Copy the data to a persistent Amazon Elastic MapReduce (Amazon EMR) cluster,
and run the MapReduce jobs.
B. Create an application that reads the information of the Amazon S3 bucket and runs
it through an Amazon Kinesis stream.
C. Run a transient Amazon EMR cluster, and run the MapReduce jobs against the data
directly in Amazon S3.
D. Launch a d2.8xlarge (32 vCPU, 244GB RAM) Amazon Elastic Compute Cloud
(Amazon EC2) instance, and run an application to read and process each object
sequentially.

A

C. Because the job is run monthly, a persistent cluster will incur unnecessary compute
costs during the rest of the month. Amazon Kinesis is not appropriate because the
company is running analytics as a batch job and not on a stream. A single large instance
does not scale out to accommodate the large compute needs.

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

Which service allows you to process nearly limitless streams of data in flight?
A. Amazon Kinesis Firehose
B. Amazon Elastic MapReduce (Amazon EMR)
C. Amazon RedshiftD. Amazon Kinesis Streams

A

D. The Amazon Kinesis services enable you to work with large data streams. Within the
Amazon Kinesis family of services, Amazon Kinesis Firehose saves streams to AWS
storage services, while Amazon Kinesis Streams provide the ability to process the data in
the stream.

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

What combination of services enable you to copy daily 50TB of data to Amazon storage,
process the data in Hadoop, and store the results in a large data warehouse?
A. Amazon Kinesis, Amazon Data Pipeline, Amazon Elastic MapReduce (Amazon
EMR), and Amazon Elastic Compute Cloud (Amazon EC2)
B. Amazon Elastic Block Store (Amazon EBS), Amazon Data Pipeline, Amazon EMR,
and Amazon Redshift
C. Amazon Simple Storage Service (Amazon S3), Amazon Data Pipeline, Amazon EMR,
and Amazon Redshift
D. Amazon S3, Amazon Simple Workflow, Amazon EMR, and Amazon DynamoDB

A

C. Amazon Data Pipeline allows you to run regular Extract, Transform, Load (ETL) jobs
on Amazon and on-premises data sources. The best storage for large data is Amazon S3,
and Amazon Redshift is a large-scale data warehouse service.

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

Your company has 50,000 weather stations around the country that send updates every 2
seconds. What service will enable you to ingest this stream of data and store it to
Amazon Simple Storage Service (Amazon S3) for future processing?
A. Amazon Simple Queue Service (Amazon SQS)
B. Amazon Kinesis Firehose
C. Amazon Elastic Compute Cloud (Amazon EC2)
D. Amazon Data Pipeline

A

B. Amazon Kinesis Firehose allows you to ingest massive streams of data and store the
data on Amazon S3 (as well as Amazon Redshift and Amazon Elasticsearch).

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

Your organization uses Chef heavily for its deployment automation. What AWS cloud
service provides integration with Chef recipes to start new application server instances,
configure application server software, and deploy applications?
A. AWS Elastic Beanstalk
B. Amazon Kinesis
C. AWS OpsWorks
D. AWS CloudFormation

A

C. AWS OpsWorks uses Chef recipes to start new app server instances, configure
application server software, and deploy applications. Organizations can leverage Chef
recipes to automate operations like software configurations, package installations,
database setups, server scaling, and code deployment.

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

A firm is moving its testing platform to AWS to provide developers with instant access to
clean test and development environments. The primary requirement for the firm is to
make environments easily reproducible and fungible. What service will help the firm
meet their requirements?
A. AWS CloudFormation
B. AWS Config
C. Amazon Redshift
D. AWS Trusted Advisor

A

A. With AWS CloudFormation, you can reuse your template to set up your resources
consistently and repeatedly. Just describe your resources once and then provision the
same resources over and over in multiple stacks.

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

Your company’s IT management team is looking for an online tool to provide
recommendations to save money, improve system availability and performance, and to
help close security gaps. What can help the management team?
A. Cloud-init
B. AWS Trusted Advisor
C. AWS Config
D. Configuration Recorder

A

B. AWS Trusted Advisor inspects your AWS environment and makes recommendations
when opportunities exist to save money, improve system availability and performance, or
help close security gaps. AWS Trusted Advisor draws upon best practices learned from
the aggregated operational history of serving hundreds of thousands of AWS customers.

17
Q

Your company works with data that requires frequent audits of your AWS environment
to ensure compliance with internal policies and best practices. In order to perform these
audits, you need access to historical configurations of your resources to evaluate relevant
configuration changes. Which service will provide the necessary information for your
audits?
A. AWS Config
B. AWS Key Management Service (AWS KMS)
C. AWS CloudTrail
D. AWS OpsWorks

A

A. AWS Config is a fully managed service that provides you with an AWS resource
inventory, configuration history, and configuration change notifications to enable
security and governance. With AWS Config, you can discover existing and deleted AWS
resources, determine your overall compliance against rules, and dive into configuration
details of a resource at any point in time. These capabilities enable compliance auditing.

18
Q

All of the website deployments are currently done by your company’s development team.
With a surge in website popularity, the company is looking for ways to be more agile
with deployments. What AWS cloud service can help the developers focus more on
writing code instead of spending time managing and configuring servers, databases, load
balancers, firewalls, and networks?
A. AWS Config
B. AWS Trusted Advisor
C. Amazon Kinesis
D. AWS Elastic Beanstalk

A

D. AWS Elastic Beanstalk is the fastest and simplest way to get an application up and
running on AWS. Developers can simply upload their application code, and the service
automatically handles all the details such as resource provisioning, load balancing, Auto
Scaling, and monitoring.