***NOT READY FOR STUDY*** AWS DEV-A Practice Exam 4 Flashcards

1
Q

A task placement constraint is a rule that is considered during task placement. Task placement constraints can be specified when either running a task or creating a new service. The task placement constraints can be updated for existing services as well.

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

Cluster queries are expressions that enable you to group objects. For example, you can group container instances by attributes such as Availability Zone, instance type, or custom metadata.

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

The AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications.

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

AWS Serverless Application Model (SAM) provides shorthand syntax to express functions, APIs, databases, and event source mappings. With just a few lines per resource, you can define the application you want and model it using YAML.

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

During deployment, SAM transforms and expands the SAM syntax into AWS CloudFormation syntax, enabling you to build serverless applications faster.

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

AWS SAM CLI provides a Lambda-like execution environment that lets you locally build, test, and debug applications defined by SAM templates.

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

You can also use the SAM CLI to deploy your applications to AWS.

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

With the SAM CLI you can package and deploy your source code using two simple commands:

sam package
sam deploy

Alternatively, you can use:

AWS cloudformation package
AWS cloudformation deploy

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

Amazon ECS supports the following types of task placement constraints:

A

distinctInstance

memberOf

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

Amazon ECS supports Task placement constraint type

distinctInstance: Place each task on a

A

Place each task on a different container instance.

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

Amazon ECS supports Task placement constraint type

memberOf: Place tasks on container instances that satisfy an expression

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

When you invoke a function asynchronously, you don’t wait for a response from the function code. You hand off the event to Lambda and Lambda handles the rest

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

To avoid request throttling, design your DynamoDB table with the right partition key to meet your access requirements and provide even distribution of data. Recommendations for doing this include the following:

Use high cardinality attributes (e.g. email_id, employee_no, customer_id etc.)

Use composite attributes

Cache popular items

Add random numbers or digits from a pre-determined range for write-heavy use cases

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

If you use AWS SAM to create your serverless application, it comes built-in with CodeDeploy to provide gradual Lambda deployments.

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

AWS SAM does the following for you during deployments: *Make this into 4 F/C

Deploys new versions of your Lambda function, and automatically creates aliases that point to the new version.

Gradually shifts customer traffic to the new version until you’re satisfied that it’s working as expected, or you roll back the update.

Defines pre-traffic and post-traffic test functions to verify that the newly deployed code is configured correctly and your application operates as expected.

Rolls back the deployment if CloudWatch alarms are triggered

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

SAML is used with directory sources such as Microsoft Active Directory, not Facebook or Google.

A
17
Q

CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances, serverless Lambda functions, or Amazon ECS services.

A
18
Q

CodeDeploy can deploy application content that runs on a server and is stored in Amazon S3 buckets, GitHub repositories, or Bitbucket repositories.

A