Cloud Practitioner - PRACTICE 2 Flashcards
According to the shared responsibility mode, which security and compliance task is AWS responsible for?
- Granting permissions to users and services
- Updating Amazon EC2 host firmware
- Encrypting data at rest
- Updating operating systems
Updating Amazon EC2 host firmware
According to the AWS shared responsibility model AWS are
responsible for security “of” the cloud. This includes updating the firmware of the EC2 host servers on which instances run. All of the other answers are incorrect as they represent security “in” the cloud which is a customer responsibility.
A company has a global user base and needs to deploy AWS services that can decrease network latency for their users. Which services may assist? (Select TWO.)
- Amazon CloudFront
- Amazon VPC
- Application Auto Scaling
- AWS Direct Connect
- AWS Global Accelerator
Amazon CloudFront & AWS Global Accelerator
Amazon CloudFront is a content delivery network (CDN) that caches media assets such as files, photos, and videos in Edge locations around the world. This gets your content closer to the user base which decreases latency.
What can be used to allow an application running on an Amazon EC2 instance to securely store data in an Amazon S3 bucket without using long-term credentials?
- AWS Systems Manager
- Amazon Connect
- AWS IAM role
- AWS IAM access key
AWS IAM Role
An IAM role is an IAM identity that you can create in your account that has specific permissions. An IAM role is similar to an IAM user, in that it is an AWS identity with permission policies that determine what the identity can and cannot do in AWS. However, instead of being uniquely associated with one person, a role is intended to be assumable by anyone who needs it.
Which AWS service does AWS Snowball Edge natively support?
- AWS Server Migration Service (AWS SMS)
- AWS Database Migration Service (AWS DMS)
- AWS Trusted Advisor
- Amazon EC2
Amazon EC2
You can run Amazon EC2 compute instances hosted on a Snowball Edge with the sbel, sbe-c, and sbe-g instance types. The sbe1 instance type works on devices with the Snowball Edge Storage Optimized option. The sbe-c instance type works on devices with the Snowball Edge Compute Optimized option. Both the sbe-c and sbe-g instance types work on devices with the Snowball Edge Compute Optimized with GPU option.
AWS are able to continue to reduce their pricing due to:
- Pay-as-you go pricing
- The AWS global infrastructure
- Economies of scale
- Reserved instance pricing
Economies of scale
By using cloud computing, you can achieve a lower variable cost than you can get on your own. Because usage from hundreds of thousands of customers is aggregated in the cloud, providers such as AWS can achieve higher economies of scale, which translates into lower pay as-you-go prices.
According to the AWS shared responsibility model, which task is the customer’s responsibility?
- Maintaining the infrastructure needed to run Amazon DynamoDB.
- Updating the operating system of AWS Lambda instances.
- Maintaining Amazon API Gateway infrastructure.
- Updating the guest operating system on Amazon EC2 instances.
Updating the guest operating system on Amazon EC2 instances
According to the AWS Shared Responsibility Model updating Amazon EC2 guest operating systems falls under the area of security “in” the cloud which is a customer responsibility. With EC2, AWS manage the underlying platform on which EC2 runs but you must launch and manage your operating systems.
A Cloud Practitioner noticed that IP addresses that are owned by AWS are being used to attempt to flood ports on some of the company’s systems. To whom should the issue be reported?
- AWS Professional Services
- AWS Partner Network (APN)
- AWS Trust & Safety team
- AWS Technical Account Manager (TAM)
AWS Trust & Safety team
If you suspect that AWS resources are used for abusive purposes, contact the AWS Trust & Safety team using the Report Amazon AWS abuse form, or by contacting abuse@amazonaws.com. Provide all the necessary information, including logs in plaintext, email headers, and so on, when you submit your request.
Which on-premises costs must be included in a Total Cost of Ownership (TCO) calculation when comparing against the AWS Cloud? (Select TWO.)
- Physical compute hardware
- Operating system administration
- Network infrastructure in the data center
- Project management services
- Database schema development
Physical compute hardware & Network infrastructure in the data center
When performing a TCO analysis you must include all costs you are currently incurring in the on-premises environment that you will not pay for in the AWS Cloud. This should include labor costs for activities that will be reduced or eliminated. Labor costs that will continue to be incurred in the cloud need not be included.
Which of the following can be used to identify a specific user who terminated an Amazon RDS DB instance?
- AWS CloudTrail
- Amazon Inspector
- Amazon CloudWatch
- AWS Trusted Advisor
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.
Which AWS service can be used to perform data extract, transform, and load (ETL) operations so you can prepare data for analytics?
- Amazon QuickSight
- AWS Glue
- Amazon Athena
- Amazon S3 Select
AWS GLUE
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. AWS Glue provides all of the capabilities needed for data integration so that you can start analyzing your data and putting it to use in minutes instead of months.
Which of the following tasks can a user perform to optimize Amazon EC2 costs? (Select TWO.)
- Implement Auto Scaling groups to add and remove instances based on demand.
- Create a policy to restrict IAM users from accessing the Amazon EC2 console.
- Set a budget to limit spending on Amazon EC2 instances using AWS Budgets.
- Purchase Amazon EC2 Reserved Instances.
- Create users in a single Region to reduce the spread of EC2 instances globally.
Implement Auto Scaling groups to add and remove instances based on demand & Purchase Amazon EC2 Reserved Instances
Cost optimization can include using Auto Scaling groups to scale the number of EC2 instances according to actual demand. Also, using Amazon EC2 reserved instances for suitable workloads is a good way of optimizing costs over the longer term.
According to the shared responsibility model, which security related task is the responsibility of the customer?
- Maintaining server-side encryption.
- Securing servers and racks at AWS data centers.
- Maintaining firewall configurations at hardware level.
- Maintaining physical networking configuration.
Maintaining server-side encryption
All client-side and server-side encryption is a responsibility of the customer using the AWS Cloud.
A company plan to move the application development to AWS. Which benefits can they achieve when developing and running applications in the AWS Cloud compared to on premises? (Select TWO.)
- AWS automatically replicates all data globally.
- AWS will fully manage the entire application.
- AWS makes it easy to implement high availability.
- AWS can accommodate large changes in application demand.
- AWS takes care of application security patching.
AWS makes it easy to implement high availability & AWS can accommodate large changes in application demand
AWS provides many options for high availability including multiple availability zones within Regions and multiple Regions around the world. There are also many options to leverage durable data storage, message buses, databases. AWS have a huge global infrastructure with massive amounts of capacity. It is therefore very easy to accommodate large changes in application demand and this can often be seamless to your application.
Which AWS services offer compute capabilities? (Select TWO.)
- Amazon DynamoDB
- Amazon ECS
- Amazon EFS
- Amazon CloudHSM
- AWS Lambda
Amazon ECS & AWS Lambda
The Amazon Elastic Container Service (ECS) is a compute service that allows you to run Docker containers as tasks on AWS. AWS Lambda is a function as a service offering that provides the ability to run compute functions in response to triggers.
A cloud practitioner needs to migrate a 70 TB of data from an on-premises data center into the AWS Cloud. The company has a slow and unreliable internet connection. Which AWS service can the cloud practitioner leverage to transfer the data?
- Amazon S3 Glacier
- AWS Snowball
- AWS Storage Gateway
- AWS DataSync
AWS Snowball
AWS Snowball is a method of transferring the data using a physical device. A Snowball Edge device can hold up to 80 TB so a single device can be used. This transfer method completely avoids the slow and unreliable internet connection.
Which AWS service is a fully-managed source control service that hosts secure Git-based repositories?
- AWS CodeBuild
- AWS CodeDeploy
- AWS CodeCommit
- AWS CodePipeline
AWS CodeCommit
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.
A Cloud Practitioner is re-architecting a monolithic application. Which design principles for cloud architecture do AWS recommend? (Select TWO.)
- Implement manual scalability.
- Implement loose coupling.
- Use self-managed servers.
- Rely on individual components.
- Design for scalability.
Implement loose coupling & Design for scalability
Dependencies such as queuing systems, streaming systems, workflows, and load balancers are loosely coupled. Loose coupling helps isolate behavior of a component from other components that depend on it, increasing resiliency and agility AWS recommend that you architect applications that scale horizontally to increase aggregate workload availability. This scaling should be automatic where possible.
Which of the following a valid best practices for using the AWS Identity and Access Management (IAM) service? (Select TWO.)
- Embed access keys in application code.
- Create individual IAM users.
- Use inline policies instead of customer managed policies.
- Use groups to assign permissions to IAM users.
- Grant maximum privileges to IAM users.
Create individual IAM users & Use groups to assign permissions to lAM users
Which benefit of AWS enables companies to replace upfront fixed expenses with variable expenses when using on-demand technology services?
- Pay-as-you-go pricing
- Economies of scale
- Global reach
- High availability
Pay-as-you-go pricing
Pay-as-you-go-pricing is an example of the AWS advantage “Trade capital expense for variable expense”. This is documented in the Six Advantages of Cloud Computing. Instead of having to invest heavily in data centers and servers before you know how you’re going to use them, you can pay only when you consume computing resources, and pay only for how much vou consume.
A Service Control Policy (SCP) is used to manage the maximum available permissions and is associated with which of the following?
- AWS Global Infrastructure
- AWS Regions
- AWS Organizations
- Availability Zones
AWS Organizations
Service control policies (SCPs) 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 for all accounts in your organization. SCs are associated with AWS Organizations and help you to ensure your accounts stay within your organization’s access control guidelines. SCs are available only in an organization that has all features enabled.
What should a Cloud Practitioner ensure when designing a highly available architecture on AWS?
- Servers have low-latency and high throughput network connectivity.
- The failure of a single component should not affect the application.
- There are enough servers to run at peak load available at all times.
- A single monolithic application component handles all operations.
The failure of a single component should not affect the application
In a highly available system the failure of a single component should not affect the application. This means that if a single component such as an application server fails, there should be other applications servers available that can seamlessly take over operations and ensure the application continues to operate.
Which technology can automatically adjust compute capacity as demand for an application increases or decreases?
- Load balancing
- Auto Scaling
- Fault tolerance
- High availability
Auto Scaling
Amazon EC2 Auto Scaling helps you maintain application availability and allows you to automatically add or remove EC2 instances according to conditions you define. You can use the fleet management features of EC2 Auto Scaling to maintain the health and availability of your fleet.
Which of the following is an advantage for a company running workloads in the AWS Cloud vs on-premises? (Select TWO.)
- Less staff time is required to launch new workloads.
- Increased time to market for new application features.
- Higher acquisition costs to support elastic workloads.
- Lower overall utilization of server and storage systems.
- Increased productivity for application development teams.
Less staff time is required to launch new workloads & Increased productivity for application development
teams
Using AWS cloud services can help development teams to be more productive as they spend less time working on the infrastructure layer as it is provided for them. This additionally means launching new workloads requires less time as you can automate the implementation of the application and there is no underlying hardware layer to configure.
Which cloud architecture design principle is supported by deploying workloads across multiple Availability Zones?
- Automate infrastructure.
- Design for agility.
- Enable elasticity.
- Design for failure.
Design for failure
Amazon EC2 instances can be deploved in an Amazon VPC across multiple Availability Zones. You would then typically use an Elastic Load Balancer (ELB) to distribute load between the available instances. This architecture enables high availability as if a single instance fails or if something fails that causes an outage in an entire Availability Zone, the application still has available instances to continue to service demand.
A company requires a dashboard for reporting when using a business intelligence solution. Which AWS service can a Cloud Practitioner use?
- Amazon Redshift
- Amazon Kinesis
- Amazon Athena
- Amazon QuickSight
Amazon QuickSight
Amazon QuickSight is a scalable, serverless, embeddable, machine learning-powered business intelligence (BI) service built for the cloud.
A Cloud Practitioner wants to configure the AWS CLI for programmatic access to AWS services. Which credential components are required? (Select TWO.)
- An access key ID
- Apublic key
- A secret access key
- An IAM Role
- A private key
An access key ID & A secret access key
Access keys are long-term credentials for an IAM user or the AWS account root user. You can use access keys to sign programmatic requests to the AWS CLI or AWS API (directly or using the AWS SDK).