AWS Practice Exam 3 Flashcards

1
Q

Which Amazon EC2 pricing model is the most cost-effective for an always-up, right-sized database server running a project that will last 1 year?

-On-Demand Instances
-Standard Reserved Instances
-Convertible Reserved Instances
-Spot Instances

A

Standard Reserved Instances

Reserved Instances (RIs) provide you with a significant discount (up to 72%) compared to On-Demand instance pricing. Standard reserved instances offer the most cost savings. RIs are based on a 1 or 3 year contract so they are suitable for workloads that will run for the duration of the contract period.

“Convertible Reserved Instances” is incorrect. You have the flexibility to change families, OS types, and tenancies while benefitting from RI pricing when you use Convertible RIs. However, this is not required for a right-sized server.

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

What is a benefit of moving an on-premises database to Amazon Relational Database Service (RDS)?

-There is no need to manage operating systems
-You can run any database engine
-You can scale vertically without downtime
-There is no database administration required

A

There is no need to manage operating systems

With Amazon RDS, which is a managed service, you do not need to manage operating systems. This reduces operational costs.

You cannot scale vertically without downtime. When scaling with RDS you must change the instance type, and this requires a short period of downtime while the instances’ operating system reboots.

You cannot run any database engine with RDS. The options are MySQL, Microsoft SQL, MariaDB, Oracle, PostgreSQL and Aurora.

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

Which AWS service provides on-demand downloads of AWS security and compliance reports?

-AWS Trusted Advisor
-AWS Artifact
-AWS Directory Service
-Amazon Inspector

A

AWS Artifact

AWS Artifact is the go-to, central resource for compliance-related information that matters to you. It provides on-demand access to AWS’ security and compliance reports and select online agreements.

Reports available in AWS Artifact include Service Organization Control (SOC) reports, Payment Card Industry (PCI) reports, and certifications from accreditation bodies across geographies and compliance verticals that validate the implementation and operating effectiveness of AWS security controls.

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

Which of the below is an example of an architectural benefit of moving to the cloud?

-Elasticity
-Monolithic services
-Proprietary hardware
-Vertical scalability

A

Elasticity

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

Which pillar of the AWS Well-Architected Framework includes the design principle of defining workloads, applications, and infrastructure as code (IaC)?

-Security
-Performance efficiency
-Operational excellence
-Reliability

A

Operational excellence

There are five design principles for operational excellence in the cloud, the first one is:

Perform operations as code: In the cloud, you can apply the same engineering discipline that you use for application code to your entire environment. You can define your entire workload (applications, infrastructure) as code and update it with code. You can implement your operations procedures as code and automate their execution by triggering them in response to events. By performing operations as code, you limit human error and enable consistent responses to events.

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

A new web application is being developed by a company. Logging into the application through a social identity provider is a must have requirement for the company.

Which AWS service will meet these requirements?

-AWS Directory Service.
-AWS Single Sign-On.
-Amazon Cognito.
-AWS Identity and Access Management (IAM).

A

Amazon Cognito.

Amazon Cognito lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily. Amazon Cognito scales to millions of users and supports sign-in with social identity providers, such as Apple, Facebook, Google, and Amazon, and enterprise identity providers via SAML 2.0 and OpenID Connect.

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

What are the benefits of using Amazon Rekognition with image files?

-Can help with image compression
-Can be used to transcode audio
-Can be used to identify objects in an image
-Can be used to resize images

A

Can be used to identify objects in an image

Rekognition Image is a deep learning powered image recognition service that detects objects, scenes, and faces; extracts text; recognizes celebrities; and identifies inappropriate content in images. It also allows you to search and compare

You should use the Elastic Transcoder service to transcode audio.

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

Which AWS services are associated with Edge Locations? (Select TWO.)

-Amazon CloudFront
-Amazon EBS
-AWS Config
-AWS Direct Connect
-AWS Shield

A

-Amazon CloudFront
-AWS Shield

Edge Locations are parts of the Amazon CloudFront content delivery network (CDN) that are all around the world and are used to get content closer to end-users for better performance.

AWS Shield which protects against Distributed Denial of Service (DDoS) attacks is available globally on Amazon CloudFront Edge Locations.

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

How can a user block a suspicious IP address from connecting to an Amazon EC2 instance?

-Block the IP on the inbound rule of a network ACL.
-Block the IP on the outbound rule of a security group.
-Block the IP on the inbound rule of a security group and network ACL.
-Block the IP on the outbound rule of a security group and network ACL.

A

Block the IP on the inbound rule of a network ACL.

With a Network ACL you can block a specific IP address that would be coming inbound into your subnet. This would prevent a specific IP from gaining access if you suspected them of being a bad actor.

The table below shows the key differences between Network ACLs and Security Groups:

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

Which AWS services can be used as infrastructure automation tools? (Select TWO.)

-AWS OpsWorks
-Amazon CloudFront
-Amazon QuickSight
-AWS CloudFormation
-AWS Batch

A

-AWS OpsWorks
-AWS CloudFormation

AWS CloudFormation provides a common language for you to model and provision AWS and third party application resources in your cloud environment. AWS CloudFormation allows you to use programming languages or a simple text file to model and provision, in an automated and secure manner, all the resources needed for your applications across all regions and accounts.

AWS OpsWorks is a configuration management service that provides managed instances of Chef and Puppet. Chef and Puppet are automation platforms that allow you to use code to automate the configurations of your servers. OpsWorks lets you use Chef and Puppet to automate how servers are configured, deployed, and managed across your Amazon EC2 instances or on-premises compute environments.

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

AWS Global Infrastructure consists of which of the following components?

-AWS Regions
-AWS Organizations
-Amazon Alexa
-Amazon LightSail

A

AWS Regions

AWS has the concept of a Region, which is a physical location around the world where we cluster Availability Zones. Each AWS Region consists of multiple, isolated, and physically separate AZs within a geographic area. This is a key part of the AWS Global Infrastructure.

Amazon LightSail is a virtual private server (VPS) provider and is the easiest way to get started with AWS for developers, small businesses, students, and other users who need a solution to build and host their applications on cloud. Amazon LightSail is not part of the AWS Global Infrastructure.

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

What is a specific benefit of an Enterprise Support plan?

-Included Technical Support Manager
-Included AWS Solutions Architect
-Included Cloud Support Associate
-Included Technical Account Manager

A

-Included Technical Account Manager

Only the Enterprise Support plan gets a Technical Account Manager (TAM).

You do not get an AWS Solutions Architect with any plan.

Cloud Support Associates are provided in the Developer plan.

There’s no such thing as a Technical Support Manager in the AWS support plans.

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

An Amazon EC2 instance running the Amazon Linux 2 AMI is billed in what increment?

-Per CPU
-Per hour
-Per GB
-Per second

A

Per second

Amazon EC2 instances running Linux are billed in one second increments, with a minimum of 60 seconds.

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

You have been running an on-demand Amazon EC2 instance running Linux for 4hrs, 5 minutes and 6 seconds. How much time will you be billed for?

-4hrs, 6mins
-5hrs
-4hrs
-4hrs, 5mins, and 6 seconds

A

On-demand, Reserved and Spot Amazon EC2 Linux instances are charged per second with a minimum charge of 1 minute. Therefore, as the minimum has been exceeded, exactly 4hrs, 5mins and 6 seconds will be charged.

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

What AWS service decouples application components so that they can run independently?

-Amazon Simple Queue Service (Amazon SQS)
-AWS Glue
-Amazon Simple Workflow Service (Amazon SWF)
-Amazon Simple Notification Service (Amazon SNS)

A

Amazon Simple Queue Service (Amazon SQS)

Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. SQS eliminates the complexity and overhead associated with managing and operating message-oriented middleware and empowers developers to focus on differentiating work.

Amazon SWF helps developers build, run, and scale background jobs that have parallel or sequential steps, and is a fully managed state tracker and task coordinator in the Cloud.

Amazon Simple Notification Service (Amazon SNS) is a fully managed messaging service for both application-to-application (A2A) and application-to-person (A2P) communication and does not directly decouple application components.

AWS Glue is a serverless data integration service that makes it easy to discover, prepare, and combine data for analytics, machine learning, and application development, and does not decouple your architecture.

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

A company has a mission critical Linux-based application. The application must run every Monday from 6 AM until 10pm. As the application is critical, it cannot be interrupted.

Which Amazon EC2 instance purchasing option meets these requirements MOST cost-effectively?

-Regional Reserved Instances
-Spot Instances
-On-Demand Capacity Reservation with Savings Plan
-Dedicated Hosts

A

On-Demand Capacity Reservation with Savings Plan is ideal in this scenario as the application will have predictable running times (every Monday from 6am till 10pm). It is also mission critical, so reserving the capacity within an Availability Zone using On-Demand Capacity Reservation with Savings Plan makes perfect sense. The savings plans will also make this application cost-effective whilst still maintaining the guaranteed availability that you cannot get with spot instances.

“Regional Reserved Instances” is incorrect because it does not give you the guaranteed service availability that On Demand Capacity reservations have, therefore it is wrong.

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

Which AWS tools can be used for automation? (Select TWO.)

-AWS Elastic Beanstalk
-Elastic Load Balancing
-AWS CloudFormation
-Amazon Elastic File System (EFS)
-AWS Lambda

A

-AWS Elastic Beanstalk
-AWS CloudFormation

AWS Elastic Beanstalk and AWS CloudFormation are both examples of automation. Beanstalk is a platform service that leverages the automation capabilities of CloudFormation to build out application architectures.

Elastic Load Balancing (ELB) is used for distributing incoming connections to Amazon EC2 instances.

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

A manager is planning to migrate applications to the AWS Cloud and needs to obtain AWS compliance reports.

How can these reports be generated?

-Contact the AWS Compliance team.
-Download the reports from AWS Secrets Manager.
-Create a support ticket with AWS Support.
-Download the reports from AWS Artifact.

A

Download the reports from AWS Artifact.

Agreements available in AWS Artifact include the Business Associate Addendum (BAA) and the Nondisclosure Agreement (NDA).

AWS Secrets Manager is used for storing secrets such as database authentication credentials or license codes. It is not used for storing compliance reports.

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

An organization is considering implementing a new workload in the AWS Cloud. However, the company first wants to forecast costs.

Which tool should the company use to estimate the cost of the workload?

-Cost Explorer.
-AWS Billing and Cost Management dashboard.
-AWS Pricing Calculator.
-AWS Cost and Usage Report.

A

AWS Pricing Calculator.

AWS Pricing Calculator is a web-based planning tool that you can use to create estimates for your AWS use cases. You can use it to model your solutions before building them, explore the AWS service price points, and review the calculations behind your estimates. You can use it to help you plan how you spend, find cost saving opportunities, and make informed decisions when using Amazon Web Services.

AWS Cost Explorer is a way to visualize your current spend across your accounts, and to forecast future spend. It does not help create estimates of how much money you would spend through building on the AWS platform.

The AWS Cost and Usage Reports (AWS CUR) contains the most comprehensive set of cost and usage data available. You can use Cost and Usage Reports to publish your AWS billing reports to an Amazon Simple Storage Service (Amazon S3) bucket that you own and doesn’t show costs for new workloads.

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

Which of the following are advantages of the AWS Cloud? (Select TWO.)

-Overprovision to ensure capacity.
-Launch globally in minutes.
-Focus on managing hardware infrastructure.
-Trade variable expenses for capital expenses.
-High economies of scale.

A

-Launch globally in minutes.
-High economies of scale.

Economies of scales refers to the fact that because AWS has a global customer base, they can afford to sell much cheaper to any one customer. This is a benefit of being on the cloud and the customer number keeps increasing, and the price keeps going down as a result.

Also as AWS have Regions placed all over the globe, there is a large degree of choice you have in where your applications are launched. In a traditional IT environment this would have been a big problem, and it would have been a logistical nightmare launching an application across multiple Regions.

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

A user needs a quick way to determine if any Amazon EC2 instances have ports that allow unrestricted access.

Which AWS service will support this requirement?

-VPC Flow Logs
-AWS Shield
-AWS Trusted Advisor
-AWS CloudWatch Logs

A

AWS Trusted Advisor

Access to the ports on an Amazon EC2 instance is controlled through security groups. AWS Trusted Advisor scans the security groups in your account to see if any security groups allow unrestricted access to any ports. This information is then presented to you in the console and you can then act on this information to secure the ports through editing the rules in the security group.

VPC Flow Logs capture information about the IP traffic going to and from network interfaces in your VPC.

CloudWatch Logs captures logging information from applications and AWS services.

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

An IT company has deployed its infrastructure on the AWS cloud. There must be a database that supports reads with a latency of under a millisecond for critical applications.

Which AWS service will meet this requirement?

-AWS Glue
-Amazon ElastiCache
-Amazon RDS
-Amazon EMR

A

Amazon ElastiCache

Amazon ElastiCache s is a blazing fast in-memory data store that provides sub-millisecond latency to power internet-scale real-time applications. Built on open-source Redis or Memcached, ElastiCache works seamlessly with Redis or Memcached without any code changes.

AWS Glue is an event-driven, serverless computing platform.
Whilst RDS is a database solution, it cannot handle single millisecond queries.
Amazon EMR is a cloud big data platform that can be queried using SQL.

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

After an organization has migrated several servers into AWS, they are unsure as to what they must directly manage themselves.

Which cost is the company’s direct responsibility?

-Cost of application software licenses.
-Cost of the hardware infrastructure on AWS.
-Cost of physical security for the AWS data center.
-Cost of power for the AWS servers.

A

Cost of application software licenses.

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

Under the AWS shared responsibility model, which of the following is an example of security in the AWS Cloud?

-Global infrastructure
-Firewall configuration
-Physical security
-Managing edge locations

A

Firewall configuration

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

Which service can be used to easily create multiple accounts?

-Amazon Connect
-AWS Organizations
-AWS CloudFormation
-AWS IAM

A

AWS Organizations

AWS Organizations can be used for automating AWS account creation via the Organizations API.

26
Q

Which AWS Support plan provides access to architectural and operational reviews, as well as 24/7 access to Cloud Support Engineers through email, online chat, and phone?

-Business
-Enterprise
-Basic
-Developer

A

Enterprise

Only the enterprise plan provides Well-Architected Reviews and Operational Reviews. 24/7 access to Cloud Support Engineers through email, online chat, and phone is offered on the business and enterprise plans.

Basic only includes: 24×7 access to customer service, documentation, whitepapers, and support forums.

“Developer” is incorrect as you get support from Cloud Support Associates, not Engineers and also do not get access to architectural and operational reviews.

27
Q

How can a company separate costs for storage, Amazon EC2, Amazon S3, and other AWS services by department?

-Add department-specific tags to each resource
-Create a separate AWS account for each department
-Create a separate VPC for each department
-Use AWS Organizations

A

Add department-specific tags to each resource
A tag is a label that you or AWS assigns to an AWS resource. Each tag consists of a key and a value. For each resource, each tag key must be unique, and each tag key can have only one value.

You can use tags to organize your resources, and cost allocation tags to track your AWS costs on a detailed level. After you activate cost allocation tags, AWS uses the cost allocation tags to organize your resource costs on your cost allocation report, to make it easier for you to categorize and track your AWS costs.

AWS provides two types of cost allocation tags, an AWS generated tags and user-defined tags. AWS defines, creates, and applies the AWS generated tags for you, and you define, create, and apply user-defined tags. You must activate both types of tags separately before they can appear in Cost Explorer or on a cost allocation report.

28
Q

To gain greater discounts, which services can be reserved? (Select TWO.)

-Amazon S3
-AWS Lambda
-Amazon DynamoDB
-Amazon CloudWatch
-Amazon RedShift

A

-Amazon DynamoDB
-Amazon RedShift

Reservations provide you with greater discounts, up to 75%, by paying for capacity ahead of time. Some of the services you can reserve include: EC2, DynamoDB, ElastiCache, RDS, and RedShift.

29
Q

How does Amazon EC2 Auto Scaling help with resiliency?

-By automating the failover of applications
-By launching and terminating instances as needed
-By distributing connections to EC2 instances
-By changing instance types to increase capacity

A

By launching and terminating instances as needed

Amazon EC2 Auto Scaling launches and terminates instances as demand changes. This helps with resiliency and high availability as it can also be set to ensure a minimum number of instances are always available.

30
Q

Which AWS service or component allows inbound traffic from the internet to access a VPC?

-VPC Route Table
-Virtual Private Gateway
-Internet gateway
-NAT Gateway

A

Internet gateway

An Internet gateway is attached to a VPC and allows inbound traffic from the internet to access the VPC. It is also used as a target in route tables for outbound internet traffic.

A NAT gateway is used for outbound internet access for instances running in a private subnet.

VPC Route Table.The route table is used within a VPC for directing traffic.

“Virtual Private Gateway” is incorrect. A VGW is used for IPSec VPN connections to access a VPC

31
Q

An organization moves a workload to Amazon EC2 instances on AWS. Cost-effectiveness is the key to running the workload properly in the Cloud.

What can the company do to meet this requirement?

-Use AWS Key Management Service (AWS KMS).
-Use multiple AWS accounts and consolidated billing.
-Use AWS CloudFormation to deploy the infrastructure.
-Right size all the EC2 instances that are used in the deployment

A

Right size all the EC2 instances that are used in the deployment

Rightsizing EC2 instances simply means making sure that the instances you are using are not too large or too small for the workloads they are running. The part of this which is related to cost optimization is ensuring that the EC2 instances provisioned are not too small for the workloads (i.e. you need a m5.2xlarge and you are using an m5.4xlarge instance type. As you simply get billed for the instance you are using and not how many VCPUs you are using, right sizing is a powerful way to optimize cost.

AWS Compute Optimizer is a useful tool that uses machine learning to report on overutilization and underutilization of resources. You can use Compute Optimizer to gather the information needed to rightsize your workloads.

AWS CloudFormation is an infrastructure as code tool which provisions your infrastructure using either JSON or YAML. This may improve various aspects of your architecture but will not make it any cheaper.

32
Q

Which IAM entity can be used for assigning permissions to multiple users?

-IAM password policy
-IAM User
-IAM Group
-IAM Role

A

IAM Group

Groups are collections of users and have policies attached to them. You can use groups to assign permissions to multiple users. To do this place the users in the group and then create an IAM policy with the correct permissions and attach it to the group.

33
Q

What technology enables compute capacity to adjust as loads change?

-Auto Scaling
-Round robin
-Automatic failover
-Load balancing

A

Auto Scaling allows the dynamic adjustment of provisioned resources based on demand. For instance, you can use Amazon EC2 Auto Scaling to launch additional EC2 instances when CloudWatch metrics report the CPU utilization has reached a certain threshold.

“Round robin” is incorrect. This is typically associated with the Domain Name Service (DNS) where responses are provided from a pool of addresses in a sequential and circular fashion.

34
Q

An ecommerce company is using Auto Scaling groups to manage a group of web servers running on Amazon EC2 and are additionally placed behind an Elastic Load balancer.

This architecture follows which AWS Well-Architected Framework best practice?

-Design for failure
-Think parallel
-Decouple infrastructure components
-Secure the workload

A

Design for failure

Designing for failure is an important part of architecting for cloud workloads and the easiest way to do this when using Amazon EC2 instances is to put the within an Auto Scaling group and then place them behind an Elastic Load balancer.

An Auto Scaling group contains a collection of EC2 instances that are treated as a logical grouping for the purposes of automatic scaling and management. An Auto Scaling group also enables you to use Amazon EC2 Auto Scaling features such as health check replacements and scaling policies. Both maintaining the number of instances in an Auto Scaling group and automatic scaling are the core functionality of the Amazon EC2 Auto Scaling service.

An Elastic load balancer distributes the load to each of these web servers in a distributed manner, allowing for scalable and flexible architecture.

The combination of both features of Amazon EC2 will enable high availability and is an example of designing for failure.
“Decouple infrastructure components” is incorrect. Auto Scaling Groups and Elastic Load Balancers are typically not used to decouple architecture, and there are other services which are specifically designed to do this such as the Amazon Simple Queue Service (SQS) or AWS Lambda.

35
Q

A company has a website that delivers static content from an Amazon S3 bucket to users from around the world. Which AWS service will deliver the content with low latency?

-AWS Global Accelerator
-Amazon CloudFront
-AWS Elastic Beanstalk
-AWS Lambda

A

Amazon CloudFront

Amazon CloudFront is a content delivery network (CDN) and can use an Amazon S3 bucket configured as a static website as an origin for the content is caches globally. CloudFront reduces latency for global users by serving the requested content from a local cache.

Global Accelerator is used to direct traffic to application endpoints in different Regions using the AWS global network. It does not cache content and would not be used in front of an S3 bucket.

36
Q

A company has been using an AWS managed IAM policy for granting permissions to users but needs to add some permissions.

How can this be achieved?

-Create a custom IAM policy.
-Create a Service Control Policy.
-Create a rule in AWS WAF.
-Edit the AWS managed policy.

A

Create a custom IAM policy
AWS managed policies cannot be edited so if you need to add permissions to users that are not granted in the policy you must create your own custom IAM policy.

Create a Service Control Policy” is incorrect. SCPs are used in AWS Organizations to restrict available permissions. They do not grant permissions.

37
Q

A company currently uses a Security Assertion Markup Language (SAML) based application to log in to third-party business applications and would like to have this hosted in AWS using managed services.

Which AWS service will meet this requirement?

-AWS Identity and Access Management (IAM).
-AWS CLI.
-Amazon Cognito.
-AWS Single Sign-On.

A

Amazon Cognito.

Amazon Cognito lets you add user sign-up, sign-in, and access control to your web and mobile apps quickly and easily. Amazon Cognito scales to millions of users and supports sign-in with social identity providers, such as Apple, Facebook, Google, and Amazon, and enterprise identity providers via SAML 2.0 and OpenID Connect.

AWS Single Sign-On (AWS SSO) is where you create, or connect, your workforce identities in AWS once and manage access centrally across your AWS organization and doesn’t use SAML.

38
Q

A company plans to connect their on-premises data center to the AWS Cloud and requires consistent bandwidth and performance.

Which AWS service should the company choose?

-AWS Direct Connect
-Amazon CloudFront
-AWS VPN
-Amazon Connect

A

AWS Direct Connect

AWS Direct Connect is a cloud service solution that makes it easy to establish a dedicated network connection from your premises to AWS. Using AWS Direct Connect, you can establish private connectivity between AWS and your datacenter, office, or colocation environment, which in many cases can reduce your network costs, increase bandwidth throughput, and provide a more consistent network experience than Internet-based connections.

39
Q

Your CTO wants to move to cloud. What cost advantages are there to moving to cloud?

-You provision only what you need and adjust to peak load
-You can reduce your marketing costs
-You get free data transfer into and out of the cloud
-You don’t need to pay for application licensing

A

You provision only what you need and adjust to peak load

One of the best benefits of cloud is that you can launch what you need to and automatically adjust your resources as demand changes. This means you only ever pay for what you’re using.

40
Q

Which AWS service or feature can be used to capture information about inbound and outbound IP traffic on network interfaces in a VPC?

-Internet gateway
-AWS CloudTrail
-VPC Flow Logs
-VPC Endpoint

A

VPC Flow Logs

VPC Flow Logs is a feature that enables you to capture information about the IP traffic going to and from network interfaces in your VPC. Flow log data can be published to Amazon CloudWatch Logs or Amazon S3. After you’ve created a flow log, you can retrieve and view its data in the chosen destination.

Flow logs can help you with a number of tasks, such as:

Diagnosing overly restrictive security group rules

Monitoring the traffic that is reaching your instance

Determining the direction of the traffic to and from the network interfaces

Flow log data is collected outside of the path of your network traffic, and therefore does not affect network throughput or latency. You can create or delete flow logs without any risk of impact to network performance.

41
Q

It is important for users to have access to as many resources as they need. Also, the user needs the ability to scale up and down quickly.

These capabilities are described by which AWS Cloud benefit?

Reliability
Economy of scale
Elasticity
Pay-as-you-go pricing

A

Elasticity

42
Q

A company has 50 different business units and requires that each business unit’s billing information is viewed separately.

What should a cloud practitioner recommend?

-Use separate AWS accounts for each business unit, then filter by unit using the coverage report.
-Place each business unit in a different AWS Region, then filter by unit in Cost Explorer.
-Tag each business unit’s resources, then filter by unit in Cost Explorer.
-Use a different VPC for each business unit, then filter by unit using an AWS Cost and Usage Report.

A

Tag each business unit’s resources, then filter by unit in Cost Explorer.

By using Tags, you can apply metadata to application components aligning each component to an application. You can then filter based on these tags within AWS Cost Explorer to see easily how much each application costs. This is the easiest way to achieve the requirements out of the options.

43
Q

Which authentication method is used to authenticate programmatic calls to AWS services?

-Console password
-Server certificate
-Key pair
-Access keys

A

Access keys

Access keys are a combination of an access key ID and a secret access key. They are used to make programmatic calls to AWS using the API.

Server certificates can be used to authenticate to some AWS services using HTTPS

Key pairs are used for authenticating to Amazon EC2 instances.

44
Q

Which of the following is an advantage of AWS Cloud computing?

-Trade elasticity for performance.
-Trade security for elasticity.
-Trade operational excellence for agility.
-Trade fixed expenses for variable expenses.

A

Trade fixed expenses for variable expenses.

45
Q

Which AWS service or feature can be used to restrict the individual API actions that users and roles in each member account can access?

-Amazon Macie
-AWS Organizations
-AWS IAM
-AWS Shield

A

AWS Organizations

AWS Organizations offers Service control policies (SCPs) which are a type of organization policy that you can use to manage permissions in your organization. SCPs offer central control over the maximum available permissions (API actions) for all accounts in your organization. SCPs help you to ensure your accounts stay within your organization’s access control guidelines. SCPs are available only in an organization that has all features enabled.

46
Q

AWS Direct Connect is used by a company that wants to establish connectivity across multiple AWS Regions using VPCs.

Which AWS service or feature should the company use to meet these requirements?

-Amazon Route 53
-AWS PrivateLink
-AWS Transit Gateway
-Amazon Connect

A

AWS Transit Gateway

AWS Transit Gateway connects your Amazon Virtual Private Clouds (VPCs) and on-premises networks through a central hub. This simplifies your network and puts an end to complex peering relationships. It acts as a cloud router – each new connection is only made once.

As you expand globally, inter-Region peering connects AWS Transit Gateways together using the AWS global network. Your data is automatically encrypted and never travels over the public internet.

47
Q

Which of the following are advantages of the AWS Cloud? (Select TWO.)

-Users can stop guessing about resource capacity.
-AWS manages all the security within the cloud.
-Expenses never change from month to month.
-Users can stop spending money on the maintenance of data centers.
-Users do not need to deploy applications globally.

A

-Users can stop guessing about resource capacity.
-Users can stop spending money on the maintenance of data centers.

48
Q

How can an organization track resource inventory and configuration history for the purpose of security and regulatory compliance?

-Configure AWS Config with the resource types
-Create an Amazon CloudTrail trail
-Run a report with AWS Artifact
-Implement Amazon GuardDuty

A

Configure AWS Config with the resource types

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 regulatory compliance.

49
Q

Which service can be used to cost-effectively move exabytes of data into AWS?

-AWS Snowmobile
-S3 Cross-Region Replication (CRR)
-AWS Snowball
-S3 Transfer Acceleration

A

AWS Snowmobile

With AWS Snowmobile you can move 100PB per snowmobile. AWS call this an “Exabyte-scale data transfer service”.

50
Q

A company needs to invoke an AWS Step Functions workflow each time an Amazon EC2 instance state changes.

Which AWS service can the company use to meet this requirement?

-AWS Fargate
-Amazon EventBridge
-Amazon Connect
-Amazon SageMaker

A

Amazon EventBridge

Amazon EventBridge is a serverless event bus that makes it easier to build event-driven applications at scale using events generated from your applications. You can set rules for actions to take place when certain events happen, like instance state changes, items are uploaded to an S3 bucket etc.

51
Q

An architecture’s ability to withstand failures with minimal downtime demonstrates which AWS Cloud benefit?

-High availability
-Elasticity
-Agility
-Scalability

A

High availability

52
Q

Which IAM entity is associated with an access key ID and secret access key?

-IAM Policy
-IAM User
-IAM Role
-IAM Group

A

IAM User

53
Q

Which service allows an organization to view operational data from multiple AWS services through a unified user interface and automate operational tasks?

-AWS Config
-Amazon CloudWatch
-AWS OpsWorks
-AWS Systems Manager

A

AWS Systems Manager

AWS Systems Manager gives you visibility and control of your infrastructure on AWS. Systems Manager provides a unified user interface so you can view operational data from multiple AWS services and allows you to automate operational tasks across your AWS resources.

54
Q

How does the AWS global infrastructure offer high availability and fault tolerance to customers?

-AWS allows users to choose AWS Regions and data centers so that users can select the closest data centers in different Regions.
-The AWS infrastructure consists of isolated AWS Regions with independent Availability Zones that are connected with low-latency networking and redundant power supplies.
-The AWS infrastructure consists of subnets containing various Availability Zones with multiple data centers located in the same geographic location.
-The AWS infrastructure is made up of multiple AWS Regions within various Availability Zones located in areas that have low flood risk and are interconnected with low-latency networks and redundant power supplies.

A

-The AWS infrastructure consists of isolated AWS Regions with independent Availability Zones that are connected with low-latency networking and redundant power supplies.

AWS has the concept of a Region, which is a physical location around the world where we cluster data centers. We call each group of logical data centers an Availability Zone. Each AWS Region consists of multiple, isolated, and physically separate AZs within a geographic area. Each Region and each AZ is fully redundant from one another, meaning a failure in one AZ / Region will not impact another Region or AZ.

55
Q

What are the benefits of using reserved instances? (Select TWO.)

-Reduced cost
-More flexibility
-High availability
-Reserve capacity
-Uses dedicated hardware

A

-Reduced cost
-Reserve capacity

With reserved instances you commit to a 1- or 3-year term and get a significant discount from the on-demand rate. You can also reserve capacity in an availability zone with reserved instances.

56
Q

A security operations engineer needs to implement threat detection and monitoring for malicious or unauthorized behavior. Which service should be used?

-Amazon GuardDuty
-AWS CloudHSM
-AWS Shield
-AWS KMS

A

Amazon GuardDuty

Amazon GuardDuty offers threat detection and continuous security monitoring for malicious or unauthorized behavior to help you protect your AWS accounts and workloads.

“AWS KMS” is incorrect. AWS Key Management Service gives you centralized control over the encryption keys used to protect your data.

AWS CloudHSM” is incorrect. AWS CloudHSM is a cloud-based hardware security module (HSM) that enables you to easily generate and use your own encryption keys on the AWS Cloud.

57
Q

A company has many different business units all using the same AWS services to manage their different applications.

Which AWS service or tool can the company use to receive volume discounts across multiple AWS accounts?

-AWS Cost and Usage Report
-AWS Budgets
-AWS Organizations
-Cost Explorer

A

AWS Organizations

You can use the consolidated billing feature in AWS Organizations to consolidate billing and payment for multiple AWS accounts. Every organization in AWS Organizations has a management account that pays the charges of all the member accounts. With consolidated billing you can take advantage of cost savings for services that have tiered licensing models.

58
Q

Which IAM entity can be used for assigning permissions to AWS services?

-IAM Access Key ID and Secret Access Key
-IAM Role
-IAM Policy
-Security Token Service (STS)

A

IAM Role

With IAM Roles you can delegate permissions to resources for users and services without using permanent credentials (e.g. username and password). To do so you can create a role and assign an IAM policy to the role that has the permissions required.

An IAM policy is a policy document that is used to define permissions that can be applied to users, groups and roles. You don’t apply the policy to the service, you apply it to the role. The role is then used to assign permissions to the AWS service.

59
Q

How does Amazon CloudFront deliver content to end users with low latency using the AWS global infrastructure?

-Edge locations
-AWS Regions
-Availability Zones
-AWS Direct Connect connections

A

Edge locations

Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, such as .html, .css, .js, and image files, to your users. CloudFront delivers your content through a worldwide network of data centers called edge locations. When a user requests content that you’re serving with CloudFront, the request is routed to the edge location that provides the lowest latency (time delay), so that content is delivered with the best possible performance.

60
Q

A company needs to optimize costs and resource usage through monitoring of operational health for all resources running on AWS.

Which AWS service will meet these requirements?

-Amazon CloudWatch
-AWS Control Tower
-AWS CloudTrail
-AWS Config

A

Amazon CloudWatch

Amazon CloudWatch is a performance monitoring tool that receives metrics from AWS services. This data can be used for monitoring the operational health of resources as well as being used to optimize costs through ensuring systems are right-sized and just enough capacity is provisioned

“AWS Control Tower” is incorrect. AWS Control Tower is a service that is intended for organizations with multiple accounts and teams who are looking for the easiest way to set up their new multi-account AWS environment and govern at scale

61
Q

Which AWS service can be used to track the activity of users on AWS?

-AWS CloudTrail
-AWS Directory Service
-Amazon CloudWatch
-Amazon Inspector

A

AWS CloudTrail

AWS CloudTrail is a service that enables governance, compliance, operational auditing, and risk auditing of your AWS account. With CloudTrail, you can log, continuously monitor, and retain account activity related to actions across your AWS infrastructure.

Think of CloudTrail is an auditing service (who did what and when), and CloudWatch as a performance monitoring service (how much resource was used).

62
Q

An organization recently migrated to AWS and wants to enable intelligent threat protection and continuous monitoring across all its accounts.

Which AWS service should the company use to achieve this goal?

-Amazon Detective
-AWS Shield
-Amazon Macie
-Amazon GuardDuty

A

Amazon GuardDuty

Amazon GuardDuty is a threat detection service that continuously monitors your AWS accounts and workloads for malicious activity and delivers detailed security findings for visibility and remediation.