Missed Review Questions March 2020 Flashcards

1
Q

How do you output build artifacts from AWS CodeBuild to AWS CodePipeline?

A

Specify artifact files in the buildspec.yml configuration file.

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

Which operating systems does AWS Elastic Beanstalk support?

A

Amazon Linux, Windows Server

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

Which components are required in an encryption system? (Select THREE.)

A
  1. Data to encrypt
  2. Method to Encrypt
  3. Cryptographic algorithm

Note: There is NO database to store encryption keys. That is stored in an HSM.

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

If an instance is running low on storage, and you find that there are a large number of deployment revisions stored by AWS CodeDeploy, what can be done to free up this space permanently?

A

Configure the AWS CodeDeploy agent to store fewer revisions.

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

How does AWS Lambda support in-place deployments?

A

Lambda does not support in place deployments

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

Which are the components of key management infrastructure (KMI)? (Select TWO.)

A

Storage layer and management layer

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

What does a service token represent in a custom resource declaration?

A

The Amazon Simple Notification Service (Amazon SNS) or AWS Lambda resource Amazon Resource Name (ARN) that receives the request

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

Can data passed to build projects using environment variables be encrypted or protected?

A

No, but possible with other AWS services.

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

If a single pipeline contains multiple sources, such as an AWS CodeCommit repository and an Amazon S3 archive, under what circumstances will the pipeline be triggered?

A

When either a commit is pushed to the repository or the archive is updated, regardless of timing

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

Immutable updates

A

the fastest deployment for the lowest cost. In an immutable update, a new Auto Scaling group is created and registered with the load balancer. Once health checks pass, the existing Auto Scaling group is terminated.

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

Which of these options allows you to specify a required number of signals to mark the resource as CREATE_COMPLETE?

A

CreationPolicy

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

If your AWS CodeDeploy configuration includes creation of a file, nginx.conf, but the file already exists on the server (prior to the use of AWS CodeDeploy), what is the default behavior that will occur during deployment?

A

The deployment will fail.

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

What is the only deployment type supported by on-premises instances?

A

In-Place

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

Which AWS encryption service provides asymmetric encryption capabilities?

A

Cloud HSM

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

Which feature of AWS Key Management Service (AWS KMS) enables you to use an AWS CloudHSM cluster for the storage of your encryption keys?

A

custom key stores

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

Which account is billed for user-accessed AWS resources allocated by AWS Elastic Beanstalk?

A

All accounts involved

17
Q

How can you connect to an AWS CodeCommit repository without Git credentials?

A

AWS CodeCommit credential helper. You can use the CodeCommit credential helper to convert an IAM access key and secret access key to valid Git credentials for SSH and HTTPS authentication.

18
Q

You are creating a custom resource associated with AWS Lambda that will execute several database functions in an Amazon Relational Database Service (Amazon RDS) database instance. As part of this, the functions will return data you would like to use in other resources declared in your AWS CloudFormation template.
How would you best pass this data to the other resources declared in the template?

A

Use custom resource outputs to declare the returned data as resource properties. Then, query the properties using the Fn::GetAtt intrinsic function.