Udemy Exams 1 & 2 Flashcards
(130 cards)
Which AWS feature can be used to launch a pre-configured Amazon Elastic Compute Cloud (EC2) instance?
a) Amazon AppStream 2.0
b) Amazon Machine Image (AMI)
c) Amazon Elastic Block Store (EBS)
d) Amazon EC2 Systems Manager
Explanation
An Amazon Machine Image (AMI) provides the information required to launch an instance. You must specify an AMI when you launch an instance. You can launch multiple instances from a single AMI when you need multiple instances with the same configuration. You can use different AMIs to launch instances when you need instances with different configurations.
CORRECT: “Amazon Machine Image (AMI)” is the correct answer.
INCORRECT: “Amazon Elastic Block Store (EBS)” is incorrect. EBS is block-based storage for EC2.
INCORRECT: “Amazon EC2 Systems Manager” is incorrect . AWS Systems Manager gives you visibility and control of your infrastructure on AWS.
INCORRECT: “Amazon AppStream 2.0” is incorrect. Amazon AppStream 2.0 is a fully managed non-persistent application and desktop streaming service.
A company uses Amazon EC2 instances to run applications that are dedicated to different departments. The company needs to break out the costs of these applications and allocate them to the relevant department. The EC2 instances run in a single VPC.
How can the company achieve these requirements?
a) Add additional Amazon VPCs and launch each application in a separate VPC
b) Create tags by department on the instances and then run a cost allocation report
c) Enable billing access for IAM users and view the costs in Cost Explorer
d) Enable billing alerts through Amazon CloudWatch and Amazon SNS
Explanation
The company should create cost allocation tags that specify the department and assign them to resources. These tags must be activated so they are visible in the cost allocation report. Once this is done and a monthly cost allocation report has been configured it will be easy to monitor the costs for each department.
CORRECT: “Create tags by department on the instances and then run a cost allocation report” is the correct answer.
INCORRECT: “Enable billing access for IAM users and view the costs in Cost Explorer” is incorrect. Cost explorer will not show a breakdown of the costs by department.
INCORRECT: “Enable billing alerts through Amazon CloudWatch and Amazon SNS” is incorrect. A billing alert simply lets you know you have reached a cost threshold.
INCORRECT: “Add additional Amazon VPCs and launch each application in a separate VPC” is incorrect. This will not help as billing is not broken out by VPC so they will not be able to determine the costs per department using this method.
Which resource should a new user on AWS use to get help with deploying popular technologies based on AWS best practices, including architecture and deployment instructions?
a) AWS Config
b) AWS Artifact
c) AWS CloudFormation
d) WS Quick Starts
Explanation
Quick Starts are built by Amazon Web Services (AWS) solutions architects and partners to help you deploy popular technologies on AWS, based on AWS best practices for security and high availability. These accelerators reduce hundreds of manual procedures into just a few steps, so you can build your production environment quickly and start using it immediately.
Each Quick Start includes AWS CloudFormation templates that automate the deployment and a guide that discusses the architecture and provides step-by-step deployment instructions.
CORRECT: “AWS Quick Starts” is the correct answer.
INCORRECT: “AWS CloudFormation” is incorrect. CloudFormation is used to deploy infrastructure from templates, the Quick Starts use CloudFormation.
INCORRECT: “AWS Artifact” is incorrect. Artifact provides on-demand access to AWS security and compliance reports.
INCORRECT: “AWS Config” is incorrect. Config is a service used for compliance relating the configuration of AWS resources.
Which of the following is a sole responsibility of AWS?
a) Customer data access controls
b) Availability Zone management
c) Application deployment
d) Patch management
Explanation
According to the shared responsibility model, AWS is responsible to the management of all AWS global infrastructure components including Regions, Availability Zones, Edge locations, Regional Edge Caches, and Local Zones.
CORRECT: “Availability Zone management” is the correct answer.
INCORRECT: “Application deployment” is incorrect. Applications are deployed by customers, not AWS.
INCORRECT: “Patch management” is incorrect. Patch management is a shared responsibility. Customers must patch instances databases running on EC2 and AWS will patch the underlying infrastructure and some managed services.
INCORRECT: “Customer data access controls” is incorrect. Customers are responsible for implementing access controls for their data.
Which of the following AWS services are compute services? (Select TWO.)
a) Amazon EFS
b) Amazon Inspector
c) AWS Elastic Beanstalk
d) AWS CloudTrail
e) AWS Batch
Explanation
AWS Batch enables developers, scientists, and engineers to easily and efficiently run hundreds of thousands of batch computing jobs on AWS.
AWS Elastic Beanstalk is an easy-to-use service for deploying and scaling web applications and services developed with Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS.
CORRECT: “AWS Batch” is a correct answer.
CORRECT: “AWS Elastic Beanstalk” is also a correct answer.
INCORRECT: “AWS CloudTrail” is incorrect. CloudTrail is used for auditing.
INCORRECT: “Amazon EFS” is incorrect. The Elastic File System (EFS) is used for storing data and is mounted by EC2 instances.
INCORRECT: “Amazon Inspector” is incorrect. Amazon Inspector is an automated security assessment service that helps improve the security and compliance of applications deployed on AWS.
A company needs to publish messages to a thousands of subscribers simultaneously using a push mechanism.
Which AWS service should the company use?
a) AWS Step Functions
b) Amazon Simple Notification Service (Amazon SNS)
c) Amazon Simple Workflow Service (SWF)
d) Amazon Simple Queue Service (Amazon SQS)
Amazon SNS is a publisher/subscriber notification service that uses a push mechanism to publish messages to multiple subscribers. Amazon SNS enables you to send messages or notifications directly to users with SMS text messages to over 200 countries, mobile push on Apple, Android, and other platforms or email (SMTP).
CORRECT: “Amazon Simple Notification Service (Amazon SNS)” is the correct answer.
INCORRECT: “Amazon Simple Queue Service (Amazon SQS)” is incorrect. SQS is a message queue service used for decoupling applications.
INCORRECT: “Amazon Simple Workflow Service (SWF)” is incorrect. SWF is a workflow orchestration service, not a messaging service.
INCORRECT: “AWS Step Functions” is incorrect. AWS Step Functions is a serverless workflow orchestration service for modern applications.
Which AWS service provides a managed software version control system?
a) Amazon CodeDeploy
b) AWS CodePipeline
c) AWS CodeCommit
d) AWS DataSync
Explanation
AWS CodeCommit is a fully-managed source control service that hosts secure Git-based repositories. It makes it easy for teams to collaborate on code in a secure and highly scalable ecosystem.
CodeCommit eliminates the need to operate your own source control system or worry about scaling its infrastructure. You can use CodeCommit to securely store anything from source code to binaries, and it works seamlessly with your existing Git tools.
CORRECT: “AWS CodeCommit” is the correct answer.
INCORRECT: “Amazon CodeDeploy” is incorrect. CodeDeploy is a deployment service that deploys your application onto infrastructure.
INCORRECT: “AWS CodePipeline” is incorrect. CodePipeline is a continuous delivery service that automates release pipelines for code. CodeCommit can be used in a pipeline.
INCORRECT: “AWS DataSync” is incorrect. DataSync is used for replication and migrating data between storage systems and AWS.
A Cloud Practitioner requires point-in-time recovery (PITR) for an Amazon DynamoDB table. Who is responsible for configuring and performing backups?
a) The customer is responsible for both tasks
b) AWS is responsible for configuring and the user is responsible for performing backups
c) AWS is responsible for both tasks
d) The customer is responsible for configuring and AWS is responsible for performing backups
Explanation
Point-in-time recovery (PITR) provides continuous backups of your DynamoDB table data. When enabled, DynamoDB maintains incremental backups of your table for the last 35 days until you explicitly turn it off. It is a customer responsibility to enable PITR on and AWS is responsible for actually performing the backups.
CORRECT: “The customer is responsible for configuring and AWS is responsible for performing backups” is the correct answer.
INCORRECT: “AWS is responsible for configuring and the user is responsible for performing backups” is incorrect. This is backwards, users are responsible for configuring and AWS is responsible for performing backups.
INCORRECT: “AWS is responsible for both tasks” is incorrect. This is not true as users must configure PITR.
INCORRECT: “The customer is responsible for both tasks” is incorrect. This is not true, AWS perform the backups.
A Cloud Practitioner needs a tool that can assist with viewing and managing AWS costs and usage over time. Which tool should the Cloud Practitioner use?
a) AWS Budgets
b) Amazon Inspector
c) AWS Organizations
d) AWS Cost Explorer
Explanation
AWS Cost Explorer has an easy-to-use interface that lets you visualize, understand, and manage your AWS costs and usage over time. AWS Cost Explorer provides you with a set of default reports that you can use as the starting place for your analysis. From there, use the filtering and grouping capabilities to dive deeper into your cost and usage data and generate custom insights.
CORRECT: “AWS Cost Explorer” is the correct answer.
INCORRECT: “AWS Budgets” is incorrect. AWS Budgets allows you to set custom budgets to track your cost and usage from the simplest to the most complex use cases.
INCORRECT: “Amazon Inspector” is incorrect. Amazon Inspector is an automated security assessment service that helps improve the security and compliance of applications deployed on AWS
INCORRECT: “AWS Organizations” is incorrect. AWS Organizations allows you to organize accounts, create accounts programmatically, and leverage consolidated billing.
Which of the following will help a user determine if they need to request an Amazon EC2 service limit increase?
a) AWS Service Health Dashboard
b) AWS Cost Explorer
c) AWS Trusted Advisor
d) AWS Personal Health Dashboard
Explanation
AWS Trusted Advisor is an online tool that provides you real time guidance to help you provision your resources following AWS best practices. Trusted Advisor checks help optimize your AWS infrastructure, improve security and performance, reduce your overall costs, and monitor service limits.
CORRECT: “AWS Trusted Advisor” is the correct answer.
NCORRECT: “AWS Personal Health Dashboard” is incorrect. The personal health dashboard shows issues or upcoming events that may impact your resources. It does not notify of service limit breaches.
INCORRECT: “AWS Service Health Dashboard” is incorrect. This dashboard simply shows the current service health and any issues across Regions.
INCORRECT: “AWS Cost Explorer” is incorrect. Cost Explorer is used for viewing costs and will not assist with service limits.
Which of the following can an AWS customer use to launch a new ElastiCache cluster? (Select TWO.)
a) AWS Systems Manager
b) AWS Management Console
c) AWS CloudFormation
d) AWS Concierge
e) AWS Data Pipeline
Explanation
There are several ways to launch resources in AWS. You can use the AWS Management Console or Command Line Interface (CLI) or you can automate the process by using tools such as AWS CloudFormation.
With AWS CloudFormation you can deploy infrastructure such as Amazon ElastiCache clusters by defining your desired configuration state in code using a template file written in JSON or YAML. CloudFormation will then deploy the resources by creating a Stack according to the template file.
CORRECT: “AWS CloudFormation” is a correct answer.
CORRECT: “AWS Management Console” is also a correct answer.
INCORRECT: “AWS Concierge” is incorrect. The Concierge Support Team is available for customer who have an Enterprise level support plan. This team does not launch resources for you.
INCORRECT: “AWS Systems Manager” is incorrect. Systems Manager will not launch an ElastiCache cluster for you.
INCORRECT: “AWS Data Pipeline” is incorrect. AWS Data Pipeline is a web service that helps you reliably process and move data between different AWS compute and storage services.
Which AWS services can a company use to gather information about activity in their AWS account? (Select TWO.)
a) AWS CloudTrail
b) Amazon CloudFront
c) Amazon Connect
d) AWS Trusted Advisor
e) Amazon CloudWatch
Explanation
Amazon CloudWatch is a performance monitoring service. AWS services send metrics about their utilization to CloudWatch which collects the metrics. Additionally, CloudWatch collects metrics about account activity such as billing information which can also be viewed.
AWS CloudTrail is an auditing service that monitors API activity in your account. Whenever you perform any operation in the account this results in an API action and this information is recorded to create an audit trail.
CORRECT: “AWS CloudTrail” is a correct answer.
CORRECT: “Amazon CloudWatch” is also a correct answer.
INCORRECT: “Amazon CloudFront” is incorrect. CloudFront is a content delivery network (CDN).
INCORRECT: “AWS Trusted Advisor” is incorrect. This service is used to assist with guidance on provisioning resources according to best practice.
INCORRECT: “Amazon Connect” is incorrect. This is a contact center service.
A company is planning to deploy an application with a relational database on AWS. The application layer requires access to the database instance’s operating system in order to run scripts.
The company prefer to keep management overhead to a minimum. Which deployment should be used for the database?
a) Amazon S3
b) Amazon RDS
c) Amazon DynamoDB
d) Amazon EC2
Explanation
The company would like to keep management overhead to a minimum so RDS would be good to meet that requirement. However, with RDS you cannot access the operating system so the requirement for running scripts on the OS rules RDS out. Therefore, the next best solution is to deploy on an Amazon EC2 instances as the other options presented are unsuitable for a relational database.
CORRECT: “Amazon EC2” is the correct answer.
INCORRECT: “Amazon RDS” is incorrect as the application would not be able to access the OS of the RDS instance to run scripts.
INCORRECT: “Amazon DynamoDB” is incorrect. This is a non-relational database.
INCORRECT: “Amazon S3” is incorrect. This is an object-storage system and is not suitable for running a relational database.
Which tasks can a user complete using the AWS Cost Management tools? (Select TWO.)
a) Break down AWS costs by day, service, and linked AWS account
b) Move data stored in Amazon S3 Standard to an archiving storage class to reduce cost
c) Automatically terminate AWS resources if budget thresholds are exceeded
d) Create budgets and receive notifications if current or forecasted usage exceeds the budgets
e) Launch either EC2 Spot instances or On-Demand instances based on the current pricing
Explanation
The AWS Cost Management tools includes services, tools, and resources to organize and track cost and usage data, enhance control through consolidated billing and access permissions, enable better planning through budgeting and forecasts, and further lower costs with resources and pricing optimizations.
CORRECT: “Break down AWS costs by day, service, and linked AWS account” is a correct answer.
CORRECT: “Create budgets and receive notifications if current or forecasted usage exceeds the budgets” is also a correct answer.
INCORRECT: “Automatically terminate AWS resources if budget thresholds are exceeded” is incorrect. The cost management tools will not do this for you but they could generate an alert which could be processed by another service to terminate resources.
INCORRECT: “Launch either EC2 Spot instances or On-Demand instances based on the current pricing” is incorrect. The cost management tools do not integrate with the tools used to launch EC2 instances and cannot choose the best pricing plan.
INCORRECT: “Move data stored in Amazon S3 Standard to an archiving storage class to reduce cost” is incorrect. This is performed using lifecycle management in Amazon S3, it is not a task performed by cost management tools.
A company is deploying an application in the AWS Cloud. How can they secure the application? (Select TWO.)
a) Configure public access for the AWS services used by the application
b) Provide full admin access to developer and
operations staff
c) Enable encryption for the application data at rest
d) Limit access privileges according to the principal of least privilege
e) Enable monitoring by turning off encryption for data in transit
Explanation
In this scenario the company must apply best practice principals for securing their application. Enabling encryption for data at rest is definitely a good practice and data in transit should also be encrypted where possible as well. It is also a good practice to limit access privileges according to the principal of least privilege. This means limiting privileges to those required to perform a specific role.
CORRECT: “Enable encryption for the application data at rest” is a correct answer.
CORRECT: “Limit access privileges according to the principal of least privilege” is also a correct answer.
INCORRECT: “Configure public access for the AWS services used by the application” is incorrect. In some cases public access may be required and in that case only the front end service(s) should be configured for public access. Otherwise it would be best to not enable public access.
INCORRECT: “Enable monitoring by turning off encryption for data in transit” is incorrect. There is no need to turn off encryption in transit to enable monitoring and this would reduce security.
INCORRECT: “Provide full admin access to developer and
operations staff” is incorrect. This is not a security best practice; it is better to assign permissions according to the principal of least privilege
When running applications in the AWS Cloud, which common tasks can AWS manage on behalf of their customers? (Select TWO.)
a) Taking a backup of a database
b) Patching database software
c) Creating a database schema
d) Application security testing
e) Application source code auditing
Explanation
With AWS managed services you can reduce your time spent performing common IT tasks. With services such as Amazon RDS, AWS will patch the database host operating system and database software and perform patch management activities.
CORRECT: “Patching database software” is a correct answer.
CORRECT: “Taking a backup of a database” is also a correct answer.
INCORRECT: “Application source code auditing” is incorrect. AWS does not audit your source code. You can
use Amazon CodeGuru for recommendations for improvement though.
INCORRECT: “Creating a database schema” is incorrect. AWS does not create your schema; this is something that’s in the customer’s control.
INCORRECT: “Application security testing” is incorrect. AWS does not perform any security testing of your applications.
A company is deploying a new web application in a single AWS Region that will be used by users globally.
Which AWS services will assist with lowering latency and improving transfer speeds for the global users? (Select TWO.)
a) AWS Global Accelerator
b) AWS Transfer Gateway
c) AWS Direct Connect
d) AWS Snowcone
e) Amazon CloudFront
Explanation
Amazon CloudFront is a content delivery network (CDN) that caches content around the world for lower latency access. AWS Global Accelerator enables access to your application by leveraging the same Edge Locations as CloudFront and routing connections across the AWS global network.
Both of these services assist with lowering latency and improving transfer speeds for users who are distributed around the world.
CORRECT: “AWS Global Accelerator” is a correct answer.
CORRECT: “Amazon CloudFront” is also a correct answer.
INCORRECT: “AWS Direct Connect” is incorrect. This service provides private connections from data centers to AWS. It is not useful for distributed users as they will not be able to take advantage of it.
INCORRECT: “AWS Transfer Gateway” is incorrect. This service is used for optimizing the network topology of interconnected VPCs and on-premises networks.
INCORRECT: “AWS Snowcone” is incorrect. Snowcone is used as an edge device for transferring data.
Which of the following AWS features or services can be used to provide root storage volumes for Amazon EC2 instances?
a) Amazon Elastic Block Store (EBS)
b) Amazon Elastic File System (EFS)
c) Amazon Machine Image
d) Amazon Simple Storage Service (S3)
Explanation
The Amazon Elastic Block Store (EBS) provides block-based storage volumes for Amazon EC2 instances. Root volumes are where the operating system is installed and can be either EBS volumes or instance store volumes.
CORRECT: “Amazon Elastic Block Store (EBS)” is the correct answer.
INCORRECT: “Amazon Machine Image” is incorrect. An AMI provides the information required to launch an instance including the mapping of EBS volumes.
INCORRECT: “Amazon Elastic File System (EFS)” is incorrect. EFS volumes cannot be used for the root storage volume but can be mounted to store data.
INCORRECT: “Amazon Simple Storage Service (S3)” is incorrect. Amazon S3 buckets cannot be attached to EC2 instances in any way, it is a service that is accessed via a REST API.
A company is launching a new website which is expected to have highly variable levels of traffic. The website will run on Amazon EC2 and must be highly available.
What is the MOST cost-effective approach?
a) Use the AWS CLI to launch and terminate Amazon EC2 instances to match demand
b) Determine the highest expected traffic and use an appropriate instance type
c) Create an Amazon EC2 Auto Scaling group and configure an Elastic Load Balancer
d) Launch the website using an Amazon EC2 instance running on a dedicated host
Explanation
The most cost-effective approach for ensuring the website is highly available on Amazon EC2 instances is to use an Auto Scaling group. This will ensure that the appropriate number of instances is always available to service the demand. An Elastic Load Balancer can be placed in front of the instances to distribute incoming connections.
CORRECT: “Create an Amazon EC2 Auto Scaling group and configure an Elastic Load Balancer” is the correct answer.
INCORRECT: “Use the AWS CLI to launch and terminate Amazon EC2 instances to match demand” is incorrect. This is a manual approach and would not be recommended.
INCORRECT: “Determine the highest expected traffic and use an appropriate instance type” is incorrect. This approach will result in the company overpaying when the demand is low.
INCORRECT: “Launch the website using an Amazon EC2 instance running on a dedicated host” is incorrect. This is an expensive solution as dedicated hosts are very costly and should only be used when physical isolation of resources or host visibility is required.
Which design principles are enabled by the AWS Cloud to improve the operation of workloads? (Select TWO.)
a) Loose coupling
b) Remove single points of failure
c) Minimize platform design
d) Customized hardware
e) Minimum viable product
Explanation
Loose coupling is when you break systems down into smaller components that are loosely coupled together. This reduces interdependencies between systems components. This is achieved in the cloud using messages buses, notification and messaging services.
Removing single points of failure ensures fault tolerance and high availability. This is easily achieved in the cloud as the architecture and features of the cloud support the implementation of highly available and fault tolerant systems.
CORRECT: “Loose coupling” is a correct answer.
CORRECT: “Remove single points of failure” is also a correct answer.
INCORRECT: “Customized hardware” is incorrect. You cannot customize hardware in the cloud.
INCORRECT: “Minimize platform design” is incorrect. This is not an operational advantage for workloads in the cloud.
INCORRECT: “Minimum viable product” is incorrect. This is not an operational advantage for workloads in the cloud.
Which AWS service or feature can assist with protecting a website that is hosted outside of AWS?
a) Amazon VPC network ACLs
b) AWS Web Application Firewall (WAF)
c) Amazon VPC route tables
d) Amazon EC2 security groups
Explanation
AWS WAF can be used to protect on-premises resources if they are deployed behind an Application Load Balancer (ALB). In this scenario the on-premises website servers are added to a target group by IP address. The ALB has a WAF WebACL attached to it and distributes connections to the on-premises website.
CORRECT: “AWS Web Application Firewall (WAF)” is the correct answer.
INCORRECT: “Amazon VPC route tables” is incorrect. A route table cannot be used for protecting resources running outside AWS.
INCORRECT: “Amazon EC2 security groups” is incorrect. Security groups can only be attached to EC2 instances.
INCORRECT: “Amazon VPC network ACLs” is incorrect. Network ACLs only filter traffic entering and leaving a VPC subnet.
Which AWS service can a team use to deploy infrastructure on AWS using familiar programming languages?
a) AWS Config
b) AWS CodeCommit
c) Amazon CodeGuru
d) AWS Cloud Development Kit (AWS CDK)
Explanation
The AWS Cloud Development Kit (AWS CDK) is an open source software development framework to define cloud application resources using familiar programming languages. With AWS CDK you can stick to using programming languages that are familiar to you and have infrastructure deployed using AWS CloudFormation.
CORRECT: “AWS Cloud Development Kit (AWS CDK)” is the correct answer.
INCORRECT: “Amazon CodeGuru” is incorrect. CodeGuru is used to review code and provide intelligent recommendations for improvement.
INCORRECT: “AWS Config” is incorrect. AWS Config is used for configuration compliance management.
INCORRECT: “AWS CodeCommit” is incorrect. CodeCommit is a fully-managed source control service.
What advantages does a database administrator obtain by using the Amazon Relational Database Service (RDS)?
a) RDS enables users to dynamically adjust CPU and RAM resources
b) RDS provides 99.99999999999% reliability and durability
c) RDS simplifies relational database administration tasks
d) RDS databases automatically scale based on load
Explanation
Amazon RDS is a managed relational database service on which you can run several types of database software. The service is managed so this reduces the database administration tasks an administrator would normally undertake. The managed service includes hardware provisioning, database setup, patching and backups.
CORRECT: “RDS simplifies relational database administration tasks” is the correct answer.
INCORRECT: “RDS databases automatically scale based on load” is incorrect. This is not true, storage auto scaling is possible but for compute it scales by changing instance type (manual).
INCORRECT: “RDS provides 99.99999999999% reliability and durability” is incorrect. This is not true of Amazon RDS.
INCORRECT: “RDS enables users to dynamically adjust CPU and RAM resources” is incorrect. You cannot adjust CPU and RAM dynamically, you must change the instance type and reboot the database instance.
A company has many underutilized compute resources on-premises. Which AWS Cloud feature will help resolve this issue?
a) Elasticity
b) High availability
c) Fault tolerance
d) Global deployment
Explanation
Elasticity can resolve the issue of underutilization as you can easily and automatically adjust the resource allocations for your compute resources based on actual utilization. This ensures that you have the right amount of resources and do not pay for more than you need.
CORRECT: “Elasticity” is the correct answer.
INCORRECT: “High availability” is incorrect. This does not help with resolving underutilization.
INCORRECT: “Fault tolerance” is incorrect. This does not help with resolving underutilization.
INCORRECT: “Global deployment” is incorrect. This does not help with resolving underutilization.