Practice Test 1 Flashcards
Which aspects of security on AWS are customer responsibilities? (Select TWO.) A.Patching of storage systems B.Availability of AWS regions C.Setting up account password policies D.Server Side encryption E.Physical access controls
C.Setting up account password policies
D.Server Side encryption
Explanation
AWS are responsible for the “security of the cloud”. This includes protecting the infrastructure that runs all of the services offered in the AWS Cloud. This infrastructure is composed of the hardware, software, networking, and facilities that run AWS Cloud services.
The customer is responsible for “security in the cloud”. Customer responsibility depends on the service consumed but includes aspects such as Identity and Access Management (includes password policies), encryption of data, protection of network traffic, and operating system, network and firewall configuration.
A Cloud Practitioner needs to decide which Amazon S3 storage class to use for storing copies of backup data. The storage must provide rapid access when needed but resiliency can be low. Which storage class is most suitable?
A.Amazon S3 Standard
B.Amazon S3 Glacier Deep Archive
C.Amazon S3 Glacier
D.Amazon S3 One Zone-IA
D.Amazon S3 One Zone-IA
Explanation:
S3 One Zone-IA is for data that is accessed less frequently, but requires rapid access when needed. Unlike other S3 Storage Classes which store data in a minimum of three Availability Zones (AZs), S3 One Zone-IA stores data in a single AZ and costs 20% less than S3 Standard-IA.
CORRECT: “Amazon S3 One Zone-IA” is the correct answer.
INCORRECT: “Amazon S3 Standard” is incorrect. This storage class provides higher durability and availability but costs more.
INCORRECT: “Amazon S3 Glacier Deep Archive” is incorrect. This storage class is used for archiving so data cannot be immediately accessed.
INCORRECT: “Amazon S3 Glacier” is incorrect. This storage class is used for archiving so data cannot be immediately accessed.
When a customer deploys a database on Amazon RDS, what is the customer responsible for?
A,Managing automatic backups of the database
B.Controlling network access through security groups
C.Configuring Auto Scaling for high availability of instances
D.Patching the underlying operating system
B.Controlling network access through security groups
Explanation:
he Amazon Relational Database Service (RDS) is a managed service where AWS manage administration tasks including hardware provisioning, database setup, patching and backups. The customer is responsible for configuring security groups to control access to the database.
CORRECT: “Controlling network access through security groups” is the correct answer.
INCORRECT: “Patching the underlying operating system” is incorrect as this is taken care of by AWS.
INCORRECT: “Managing automatic backups of the database” is incorrect as this is taken care of by AWS.
INCORRECT: “Configuring Auto Scaling for high availability of instances” is incorrect as you cannot use Auto Scaling with RDS for availability of the database instances.
Which service records API activity on your account and delivers log files to an Amazon S3 bucket? A.Amazon S3 Event Notifications B.Amazon CloudWatch C.AWS CloudTrail D.Amazon CloudWatch Logs
C.AWS CloudTrail
Explanation:
AWS CloudTrail is a web service that records activity made on your account and delivers log files to an Amazon S3 bucket. CloudTrail is for auditing whereas CloudWatch is for performance monitoring.
CORRECT: “AWS CloudTrail” is the correct answer.
INCORRECT: “Amazon CloudWatch” is incorrect as this service performs performance monitoring, not API auditing.
INCORRECT: “Amazon S3 Event Notifications” is incorrect. S3 Event Notifications is a feature that notifies you when certain events happen in your S3 buckets, it does not record API activity at the account level.
INCORRECT: “Amazon CloudWatch Logs” is incorrect. Amazon CloudWatch Logs lets you monitor and troubleshoot your systems and applications using your existing system, application and custom log files
Which benefit of the AWS Cloud eliminates the need for users to try estimating future infrastructure usage? A.Elasticity of the AWS Cloud B.Easy global deployments C.Security of the AWS Cloud D.Economies of scale
A.Elasticity of the AWS Cloud
Explanation:
Elasticity means that your infrastructure scales based on actual usage. When you have higher demand you use more infrastructure and pay more and when you have less demand you need less infrastructure and pay less. The benefits are you don’t need to guess about capacity and pay only for what you actually need.
CORRECT: “Elasticity of the AWS Cloud” is the correct answer.
INCORRECT: “Easy global deployments” is incorrect. It is easy to deploy many AWS resources globally but this benefit does not eliminate the need to estimate future usage.
INCORRECT: “Security of the AWS Cloud” is incorrect. The security of the AWS Cloud is important but does not eliminate the need to estimate future usage.
INCORRECT: “Economies of scale” is incorrect. This means you pay less for some resources because of the benefits of AWS’s scale. However, this benefit does not eliminate the need to estimate future usage.
Which of the following is a method of backup available in the AWS cloud? A.Amazon EBS Snapshots B.Availability Zones C.Amazon EFS File Systems D.Amazon Route 53 Alias Record
A.Amazon EBS Snapshots
Explanation:
Amazon Elastic Block Store (EBS) is a block-based storage system that provides a “virtual hard disk in the cloud”. You can back up your EBS volumes using snapshots which are point-in-time copies of the data.
CORRECT: “Amazon EBS Snapshots” is the correct answer.
INCORRECT: “Availability Zones” is incorrect. Availability Zones are part of the AWS Global Infrastructure. AZs can be used for high availability and fault tolerance as you can architect your applications to be spread across them. However, they are not a backup solution.
INCORRECT: “Amazon EFS File Systems” is incorrect. The Amazon Elastic File System (EFS) provides file-based storage that you access using the NFS v2 protocol. This is storage service but not a backup service. You can backup EFS using the AWS Backup service or using EFS-to-EFS backup.
INCORRECT: “Amazon Route 53 Alias Record” is incorrect. Amazon Route 53 provides a DNS service and an Alias record is a type of record that can map a public domain name to an AWS service target.
Which services are involved in reducing application latency and increasing performance for end users? (Select TWO.) A.Amazon Workspaces B.Amazon CloudFront C.Amazon S3 D.Amazon ElastiCache D.Amazon ECS
B.Amazon CloudFront
D.Amazon ElastiCache
Explanation
Amazon ElastiCache is an in-memory cache that can be placed in front of databases such as Amazon RDS to cache queries for better performance. Amazon CloudFront is a content delivery network (CDN) service that caches media such as videos and photos in locations around the world for lower latency and improved performance.
CORRECT: “Amazon ElastiCache” is a correct answer.
CORRECT: “Amazon CloudFront” is a correct answer.
INCORRECT: “Amazon ECS” is incorrect. This service is used for running Docker containers on AWS. Its function is not primarily to improve performance.
INCORRECT: “Amazon S3” is incorrect. Amazon S3 is an object-based storage system. To improve performance of access to objects globally you would use CloudFront to cache the objects.
INCORRECT: “Amazon Workspaces” is incorrect. This service is used for running managed desktops in the cloud.
Which AWS service can an organization use to automate operational tasks on EC2 instances using existing Chef cookbooks? A.AWS Config B.AWS CodeDeploy C.AWS OpsWork D.AWS Service Catalog
C.AWS OpsWork
Explanation:
AWS OpsWorks is a configuration management service that provides managed instances of Chef and Puppet. With Chef, you use code templates, or cookbooks, to describe the desired configuration of instances or on-premises server.
CORRECT: “AWS OpsWorks” is the correct answer.
INCORRECT: “AWS Service Catalog” is incorrect. AWS Service Catalog allows organizations to create and manage catalogs of IT services that are approved for use on AWS.
INCORRECT: “AWS Config” is incorrect. AWS Config is a service that enables you to assess, audit, and evaluate the configurations of your AWS resource.
INCORRECT: “AWS CodeDeploy” is incorrect. AWS CodeDeploy is a fully managed deployment service that automates software deployments to a variety of compute services such as Amazon EC2, AWS Lambda, and your on-premises servers.
Which items can be configured from within the VPC management console? (Select TWO.) A.Auto Scaling B.Regions C.Security Groups D.Subnets E.Load Balancing
C.Security Groups
D.Subnets
Explanation
Subnets and Security groups can be configured from within the VPC console.
CORRECT: “Subnets” is the correct answer.
CORRECT: “Security Groups” is the correct answer.
INCORRECT: “Regions” is incorrect. Regions are not configured, resources within regions are configured.
INCORRECT: “Load Balancing” is incorrect. Load balancing is configured from the EC2 console.
INCORRECT: “Auto Scaling” is incorrect. Auto scaling is configured from the EC2 console.
Which service can be used to track the CPU usage of an EC2 instance? A.Amazon CloudWatch B.Amazon CloudFront C.Amazon CloudTrail D.Amazon CloudFormation
A.Amazon CloudWatch
Explanation
Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications you run on AWS. CloudWatch is for performance monitoring, whereas CloudTrail is for auditing
CORRECT: “Amazon CloudWatch” is the correct answer.
INCORRECT: “Amazon CloudTrail” is incorrect. AWS CloudTrail is a web service that records activity made on your account and delivers log files to an Amazon S3 bucket.
INCORRECT: “Amazon CloudFront” is incorrect. CloudFront is a content delivery network (CDN) that caches content.
INCORRECT: “Amazon CloudFormation” is incorrect. CloudFormation is used for automated provisioning of infrastructure.
Which Amazon S3 storage classes should be used for storing data for long time periods when immediate access is not required at the LOWEST cost? (Select TWO.)
A.Amazon S3 Standard-Infrequent Access (S3 Standard-IA)
B.Amazon S3 Standard
C.Amazon S3 Glacier Deep Archive
D.Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA)
D.Amazon S3 Glacier
C.Amazon S3 Glacier Deep Archive
D.Amazon S3 Glacier
Explanation:
Amazon S3 Glacier and Amazon S3 Glacier Deep Archive are suitable for archiving data for long time periods and both classes offer extremely low costs. With both of these storage classes you cannot access data immediately.
CORRECT: “Amazon S3 Glacier” is a correct answer.
CORRECT: “Amazon S3 Glacier Deep Archive” is also a correct answer.
INCORRECT: “Amazon S3 Standard-Infrequent Access (S3 Standard-IA)” is incorrect. This storage class is suited to data that requires immediate access infrequently.
INCORRECT: “Amazon S3 Standard” is incorrect as this is a more expensive storage class suitable for general needs.
INCORRECT: “Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA)” is incorrect. This storage class is suited to data that requires lower resiliency.
For which services does Amazon not charge customers? (Select TWO.) A.Amazon SNS B.AWS CloudFormation C.Amazon S3 D.Amazon EBS E.Amazon VPC
B.AWS CloudFormation
E.Amazon VPC
Explanation
Amazon VPC and CloudFormation are free of charge, however in the case of CloudFormation you pay for the resources it creates.
All other answers are chargeable services.
CORRECT: “Amazon VPC” is a correct answer.
CORRECT: “AWS CloudFormation” is also a correct answer.
INCORRECT: “Amazon EBS” is incorrect as this is a chargeable service.
INCORRECT: “Amazon S3” is incorrect as this is a chargeable service.
INCORRECT: “Amazon SNS” is incorrect as this is a chargeable service.
A company stores copies of backups on Amazon S3 and requires rapid access but low resiliency. Which storage class is optimized for these requirements? A.Amazon S3 Standard B.Amazon S3 One Zone-Infrequent Access C.Amazon S3 Glacier Deep Archive D.Amazon S3 Glacier
B.Amazon S3 One Zone-Infrequent Access
Explanation:
S3 One Zone-IA is for data that is accessed less frequently, but requires rapid access when needed. Unlike other S3 Storage Classes which store data in a minimum of three Availability Zones (AZs), S3 One Zone-IA stores data in a single AZ and costs 20% less than S3 Standard-IA.
S3 One Zone-IA is ideal for customers who want a lower-cost option for infrequently accessed data but do not require the availability and resilience of S3 Standard or S3 Standard-IA.
It’s a good choice for storing secondary backup copies of on-premises data or easily re-creatable data. You can also use it as cost-effective storage for data that is replicated from another AWS Region using S3 Cross-Region Replication.
CORRECT: “Amazon S3 One Zone-Infrequent Access” is the correct answer.
INCORRECT: “Amazon S3 Standard” is incorrect as this is a more resilient storage class and will cost more so it not optimized for these requirements.
INCORRECT: “Amazon S3 Glacier Deep Archive” is incorrect. This storage class is suited to archival and takes several hours to restore data.
INCORRECT: “Amazon S3 Glacier” is incorrect. This storage class is suited to archival and takes minutes to hours to restore data.
Which types of pricing policies does AWS offer? (Select TWO.) A.Global usage discount B.Enterprise license agreement (ELA) C.Save when you reserve D.Pay-as-you-go D.Non-peak hour discounts
C.Save when you reserve
D.Pay-as-you-go
Explanation:
Amazon pricing includes options for pay-as-you-go, save when you reserve and pay less by using more.
CORRECT: “Pay-as-you-go” is a correct answer.
CORRECT: “Save when you reserve” is also a correct answer.
INCORRECT: “Enterprise license agreement (ELA)” is incorrect. Amazon does not offer ELAs.
INCORRECT: “Non-peak hour discounts” is incorrect. Amazon does not offer non-peak hour discounts.
INCORRECT: “Global usage discounts” is incorrect. There are no global usage discounts.
Which service can you use to provision a preconfigured server with little to no AWS experience? A.Amazon Lightsail B.Amazon Elastic Beanstalk C.AWS Lambda D.Amazon EC2
A.Amazon Lightsail
Explanation:
Amazon LightSail provides developers compute, storage, and networking capacity and capabilities to deploy and manage websites, web applications, and databases in the cloud.
LightSail provides preconfigured virtual private servers (instances) that include everything required to deploy and application or create a database.
Deploying a server on LightSail is extremely easy and does not require knowledge of how to configure VPCs, security groups, network ACLs etc.
CORRECT: “Amazon LightSail” is the correct answer.
INCORRECT: “Amazon Elastic Beanstalk” is incorrect. AWS Elastic Beanstalk can be used to quickly deploy and manage applications in the AWS Cloud. It is considered a PaaS service. However, you do still need to deploy within a VPC so more AWS expertise is required
INCORRECT: “AWS Lambda” is incorrect. AWS Lambda provides serverless functions not preconfigured servers.
INCORRECT: “Amazon EC2” is incorrect. Amazon EC2 also requires AWS expertise as it deploys within a VPC.
Which AWS service allows you to connect to storage from on-premise servers using standard file protocols?
A.Amzon S3
B.Amazon EBS
C.Amazon Glacier
D.Amazon EFC
D.Amazon EFC
Explanation:
EFS is a fully-managed service that makes it easy to set up and scale file storage in the Amazon Cloud. EFS filesystems are mounted using the NFS protocol (which is a file-level protocol).
Access to EFS file systems from on-premises servers can be enabled via Direct Connect or AWS VPN.
You mount an EFS file system on your on-premises Linux server using the standard Linux mount command for mounting a file system via the NFSv4.1 or NFSv5 protocol.
CORRECT: “Amazon EFS” is the correct answer.
INCORRECT: “Amazon S3” is incorrect. Amazon S3 is an object-level not file-level storage system.
INCORRECT: “Amazon EBS” is incorrect. Amazon Elastic Block Storage (EBS) is block-level storage that can only be accessed by EC2 instances from the same AZ as the EBS volume.
INCORRECT: “Amazon Glacier” is incorrect. Amazon Glacier is an archiving solution that is accessed through S3.
What advantages does deploying Amazon CloudFront provide? (Select TWO.)
A.Automated deployment of resources
B.Improved performance for end users
C.Provides serverless compute services
D.A private network link to the AWS cloud
E.Reduced latency
B.Improved performance for end users
E.Reduced latency
Explanation:
content at “edge locations” located around the world. This allows customers to access content more quickly and provides security against DDoS attacks. CloudFront can be used for data, videos, applications, and APIs.
CORRECT: “Reduced latency” is a correct answer.
CORRECT: “Improved performance for end users” is also a correct answer.
INCORRECT: “A private network link to the AWS cloud” is incorrect. A private network link to the AWS cloud can be provisioned using AWS Direct Connect or an IPSec VPN
INCORRECT: “Automated deployment of resources” is incorrect. Automated deployment of resources is performed using CloudFormation.
INCORRECT: “Provides serverless compute services” is incorrect. CloudFront is a CDN not a serverless compute service
An AWS customer wishes to purchase unused Amazon EC2 capacity at a discounted rate. Which pricing plan should they choose? A.Dedicated instances B.Spot instances C.On-demand Instances D.Reserved instances
B.Spot instances
Explanation;
Amazon EC2 Spot Instances let you take advantage of unused EC2 capacity in the AWS cloud. Spot Instances are available at up to a 90% discount compared to On-Demand prices. Spot instances are best suited to workloads that can accept disruption as instances may be terminated if the capacity needs to be reclaimed by AWS.
CORRECT: “Spot Instances” is the correct answer.
INCORRECT: “Reserved Instances” is incorrect. Reserved instances do not leverage unused capacity, they are based on locking in for a fixed term of 1 or 3 years.
INCORRECT: “On-Demand Instances” is incorrect. There are no discounts for on-demand instances.
INCORRECT: “Dedicated Instances” is incorrect. Dedicated Instances are Amazon EC2 instances that run in a VPC on hardware that’s dedicated to a single customer
Which AWS storage technology can be considered a “virtual hard disk in the cloud”?
A.Amazon S3 object
B.Amazon Elastic File Storage (EFS) filesystem
C.Amazon Glacier archive
D.Amazon Elastic Block Storage (EBS) volume
D.Amazon Elastic Block Storage (EBS) volume
Explanation
An EBS volume is a block storage device that is most similar to a virtual hard disk in the cloud as when attached to an instance it appears as a local disk that can have an operating system installed on or be formatted and used for any other local storage purpose.
CORRECT: “Amazon Elastic Block Storage (EBS) volume” is the correct answer.
INCORRECT: “Amazon Elastic File Storage (EFS) filesystem” is incorrect. An EFS filesystem is mounted over the NFS protocol which is a file-level protocol. Therefore, it is a network filesystem not a virtual hard disk and cannot have an operating system installed or be formatted and used as a locally attached disk.
INCORRECT: “Amazon S3 object” is incorrect. S3 is an object storage system and cannot be mounted and used as a virtual hard drive.
INCORRECT: “Amazon Glacier archive” is incorrect. Glacier is an archiving solution where you can archive your S3 objects at extremely low cost.
What is the most cost-effective support plan that should be selected to provide at most a 1-hour response time for a production system failure? A.Developer B.Basic C.Business D.Enterprise
C.Business
Explanation
The Business support plan provides < 1 hour response times for a production system failure.
CORRECT: “Business” is the correct answer.
INCORRECT: “Basic” is incorrect. Basic does not provide any technical support.
INCORRECT: “Developer” is incorrect. Developer provides business hours access via email.
INCORRECT: “Enterprise” is incorrect. Enterprise provides < 1 hour response times for a production system failure but is a more expensive.
Under the AWS shared responsibility model what is the customer responsible for? (Select TWO.)
A.Configuration of security groups
B.Physical security of the data center
C.Patch management of infrastrucuture
D.Encryption of customer data
E.Replacement and disposal of disk drives
A.Configuration of security groups
D.Encryption of customer data
Explanation:
AWS are responsible for “Security of the Cloud” and customers are responsible for “Security in the Cloud”.
AWS are responsible for items such as the physical security of the DC, replacement of old disk drives, and patch management of the infrastructure
Customers are responsible for items such as configuring security groups, network ACLs, patching their operating systems and encrypting their data
CORRECT: “Configuration of security groups” is a correct answer.
CORRECT: “Encryption of customer data” is also a correct answer.
INCORRECT: “Physical security of the data center” is incorrect as this is an AWS responsibility.
INCORRECT: “Replacement and disposal of disk drives” is incorrect as this is an AWS responsibility.
INCORRECT: “Patch management of infrastructure” is incorrect as this is an AWS responsibility.
A company recently setup an organization in AWS Organizations with one member account. Who pays for usage incurred by users in the AWS accounts?
A.The owner of the member account pays for all usage across accounts
B.The owner of the master account pays for all usage across accounts
D.The owner of the member account pays for usage within their account
E.The owner of the master account pays for usage in the master account only
B.The owner of the master account pays for all usage across accounts
Explanation:
You can use the consolidated billing feature in AWS Organizations to consolidate billing and payment for multiple AWS accounts or multiple Amazon Internet Services Pvt. Ltd (AISPL) accounts. Every organization in AWS Organizations has a management account that pays the charges of all the member accounts.
Consolidated billing has the following benefits:
One bill – You get one bill for multiple accounts.
Easy tracking – You can track the charges across multiple accounts and download the combined cost and usage data.
Combined usage – You can combine the usage across all accounts in the organization to share the volume pricing discounts, Reserved Instance discounts, and Savings Plans. This can result in a lower charge for your project, department, or company than with individual standalone accounts.
No extra fee – Consolidated billing is offered at no additional cost.
CORRECT: “The owner of the master account pays for all usage across accounts” is the correct answer.
INCORRECT: “The owner of the member account pays for usage within their account” is incorrect. This is not true; the member account does not pay for any usage.
INCORRECT: “The owner of the member account pays for all usage across accounts” is incorrect. This is not true; the member account does not pay for any usage.
INCORRECT: “The owner of the master account pays for usage in the master account only” is incorrect. This is not true; the master account pays for all usage across accounts.
Which feature of AWS allows you to deploy a new application for which the requirements may change over time? A.Disposable resources B.Fault tolerance C.High availability D.Elasticity
D.Elasticity
Explanation:
Elasticity allows you to deploy your application without worrying about whether it will need more or less resources in the future. With elasticity, the infrastructure can scale on-demand and you only pay for what you use.
CORRECT: “Elasticity” is the correct answer.
INCORRECT: “Fault tolerance” is incorrect. Fault tolerance is a mechanism used for ensuring the availability or recoverability of your application in the of a hardware or software fault.
INCORRECT: “Disposable resources” is incorrect. Disposable resources is an architectural principle in which servers and other components are treated as temporary resources and are replaced rather than updated
INCORRECT: “High availability” is incorrect. High availability is a mechanism used for ensuring the availability of your application and protecting against the failure of hardware or software components.
Which AWS service is primarily used for software version control? A.AWS CodeCOmmit B.AWS Cloud9 C.AWS CodeDeploy D.AWS CodeStar
A.AWS CodeCOmmit
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.
CORRECT: “AWS CodeCommit” is the correct answer.
INCORRECT: “AWS CodeStar” is incorrect. AWS CodeStar enables you to quickly develop, build, and deploy applications on AWS. AWS CodeStar provides a unified user interface, enabling you to easily manage your software development activities in one place.
INCORRECT: “AWS Cloud9” is incorrect. AWS Cloud9 is a cloud-based integrated development environment (IDE) that lets you write, run, and debug your code with just a browser.
INCORRECT: “AWS CodeDeploy” is incorrect. AWS CodeDeploy is a deployment service that automates application deployments to Amazon EC2 instances, on-premises instances, or serverless Lambda functions.
What is the scope of a VPC within a region?
A.At least 2 subnets per region
B.At least 2 data centers per region
C.Spans all Availbility Zones within the region
D.Spans all Availability Zones globally
C.Spans all Availbility Zones within the region
Explanation:
An Amazon Virtual Private Cloud (VPC) spans all availability zones within a region.
CORRECT: “Spans all Availability Zones within the region” is the correct answer.
INCORRECT: “Spans all Availability Zones globally” is incorrect. VPCs do not span regions, you create VPCs in each region.
INCORRECT: “At least 2 subnets per region” is incorrect. VPCs are not limited by subnets, subnets are created within AZs and you can have many subnets in an AZ
INCORRECT: “At least 2 data centers per region” is incorrect. An AZ uses one or more data centers. AWS does not publicize the details.
Which AWS service can you use to install a third-party database? A.Amazon EC2 B.Amazon RDS C.Amazon DynamoDB D.Amazon EMR
A.Amazon EC2
Explanation:
On AWS you can either use a managed service such as Amazon RDS or install a database on Amazon EC2. There are limits to what database engines are supported on Amazon RDS so to install a third-party database you can use Amazon EC2 instead. You will then be responsible for managing the operating system and database.
CORRECT: “Amazon EC2” is the correct answer.
INCORRECT: “Amazon RDS” is incorrect as you cannot choose to use a third-party database on Amazon RDS. You must use one of the supported engines.
INCORRECT: “Amazon DynamoDB” is incorrect as you cannot use any other type of database engine on DynamoDB.
INCORRECT: “Amazon EMR” is incorrect as this uses the Hadoop framework and you cannot choose another database engine.