AWSBoy Cloud Practitioner Exam 2 Flashcards
Why does it take between 24 to 48 hours for changes made to a hosted zone in Amazon Route53 to reflect globally?
A. AWS Name Servers need between 24 to 48 hours to create record sets, update their respective values and process changes.
B. DNS resolvers around the world can only reflect the changes in their cache after the Time To Live (TTL) has expired, it is 24 hours by default.
C. AWS Name Servers around the world update their cache in tandem, it takes between 24 hours to 48 hours for the process to complete.
D. If changes to the hosted zone are made in the same AWS Region as the DNS resolver, it can take between 6 to 12 hours.
B. DNS resolvers around the world can only reflect the changes in their cache after the Time To Live (TTL) has expired, it is 24 hours by default.
Generally, DNS resolvers query for changes every 86400 seconds, which means DNS resolver cache is stagnant for up to 24 hours. This can be changed, but the widely accepted time is 24 hours.
Which of the following can be attached to EC2 Instances to store data?
A. Amazon Glacier
B. Amazon EBS Volumes
C. Amazon EBS Snapshots
D. Amazon SQS
B. Amazon EBS Volumes
An Amazon EBS volume is a durable, block-level storage device that you can attach to a single EC2 instance. You can use EBS volumes as primary storage for data that requires frequent updates, such as the system drive for an instance or storage for a database application
Your company handles a crucial ecommerce application. This applications needs to have an uptime of at least 99.5%. There is a decision to move the application to the AWS Cloud. Which of the following deployment strategies can help build a robust architecture for such an application.
A. Deploying the application across multiple VPC’s
B. Deploying the application across multiple Regions
C. Deploying the application across Edge locations
D. Deploying the application across multiple subnets
B. Deploying the application across multiple Regions
Businesses are using the AWS cloud to enable faster disaster recovery of their critical IT systems without incurring the infrastructure expense of a second physical site. The AWS cloud supports many popular disaster recovery (DR) architectures from “pilot light” environments that may be suitable for small customer workload data center failures to “hot standby” environments that enable rapid failover at scale. With data centers in Regions all around the world, AWS provides a set of cloud-based disaster recovery services that enable rapid recovery of your IT infrastructure and data.
Which of the following can be used to spin up EC2 instances on the AWS Cloud ?
A. EBS Volumes
B. EBS Snapshots
C. Amazon Machine Image
D. Amazon VMware
C. Amazon Machine Image
An Amazon Machine Image (AMI) provides the information required to launch an instance, which is a virtual server in the cloud. You specify an AMI when you launch an instance, and you can launch as many instances from the AMI as you need. You can also launch instances from as many different AMIs as you need.
Your company is planning to pay for an AWS Support plan. They have the following requirements as far as the support plan goes 24×7 access to Cloud Support Engineers via email, chat & phone Response time of less than 1 hour for any business critical system faults. Which of the following plans will suffice to keep in mind the above requirement?
A. Basic
B. Developer
C. Business
D. Enterprise
D. Enterprise
As per the AWS document, there is no critical support available for Basic, Developer and Business plans.
If you see the second point, it says “critical faults”. Critical faults can be handled only by the “Sr. Cloud Support Engineers”. Even if it is less than 1 hour or 15 mins.
Enterprise plan has critical support within 15 minutes. The question mentions less than 1 hour for critical faults. Normally it will be less than 15 minutes. Hence the correct answer is Enterprise.
The Enterprise support plan has support time less than 15 minutes for Business-critical system down.
You are planning on deploying a video based application onto the AWS Cloud. These videos will be accessed by users across the world. Which of the below services can help stream the content in an efficient manner to the users across the globe?
A. Amazon SES
B. Amazon Cloudtrail
C. Amazon CloudFront
D. Amazon S3
C. Amazon CloudFront
Amazon CloudFront is a web service that gives businesses and web application developers an easy and cost effective way to distribute content with low latency and high data transfer speeds. Like other AWS services, Amazon CloudFront is a self-service, pay-per-use offering, requiring no long term commitments or minimum fees. With CloudFront, your files are delivered to end-users using a global network of edge locations.
Which of the following components of the Cloudfront service can be used to distribute contents to users across the globe.
A. Amazon VPC
B. Amazon Regions
C. Amazon Availability Zones
D. Amazon Edge locations
D. Amazon 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.
Which of the following Amazon Web Services can be referred to as a serverless service? (Select three).
A. AWS Lambda
B. Elastic Load Balancing
C. Amazon SNS
D. Amazon DynamoDB
A. AWS Lambda
C. Amazon SNS
D. Amazon DynamoDB
The serverless concept refers to the ability to leverage compute processing functions without the infrastructure overhead. AWS Lambda is a serverless online code scripting platform within AWS that allows the user to write, edit and run code functions in various languages including JSON. These functions can be triggered to call or invoke other AWS applications in the user’s build. AWS Cloud9 is a serverless online integrated development environment (IDE) used to author, edit, run debug code of various languages.
With DynamoDB, there are no servers to provision, patch, or manage and no software to install, maintain, or operate.
Your company has just started using the resources on the AWS Cloud. They want to get an idea on the costs being incurred so far for the resources being used. How can this be achieved.
A. By going to the Amazon EC2 dashboard. Here you can see the costs of the running EC2 resources.
B. By using the AWS Cost Explorer. Here you can see the running and forecast costs.
C. By using the AWS Trusted Advisor dashboard. This dashboard will give you all the costs.
D. By seeing the AWS Cloud Trail logs.
B. By using the AWS Cost Explorer. Here you can see the running and forecast costs.
Cost Explorer is a free tool that you can use to view your costs. You can view data up to the last 13 months, forecast how much you are likely to spend for the next three months, and get recommendations for what Reserved Instances to purchase
By default who from the below roles has complete administrative control over all resources in the respective AWS account?
A. AWS Support Team
B. AWS Account Owner
C. AWS Security Team
D. AWS Technical Account Manager (TAM)
B. AWS Account Owner
The entire of control of data within an AWS account is with the Account Owner.
Whilst running an application on an EC2 instance behind an Elastic Load Balancer, an administrator receives a 504 error on their browser. What does this mean?
A. The ELB instance has stopped running
B. The application running on the EC2 instance is serving the 504 error page because it has exceeded its response timeout
C. The URL for the application has expired
D. The application is unresponsive so the ELB instance serves the 504 error page
D. The application is unresponsive so the ELB instance serves the 504 error page
The 504 error is served by the Elastic Load Balancer to indicated that the application is unresponsive, the idle time-out period has lapsed.
Which AWS Cloud service helps in quick deployment of resources which can make use of different programming languages such as .Net and Java?
A. AWS Elastic Beanstalk
B. AWS Elastic Compute Cloud (Amazon EC2)
C. AWS VPC
D. AWS SQS
A. AWS Elastic Beanstalk
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.
Your company is planning to host resources in the AWS Cloud. They want to use services which can be used to decouple resources hosted on the cloud. Which of the following services can help fulfil this requirement
A. AWS EBS Volumes
B. AWS EBS Snapshots
C. AWS Glacier
D. AWS SQS
D. AWS SQS
Amazon Simple Queue Service (Amazon SQS) offers a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. It moves data between distributed application components and helps you decouple these components
Note:
Decoupling is where the different components/layers that make up the system interact with each other using well-defined interfaces rather than depending tightly on eah other. With this architecture, the components/layers can be developed independently without having to wait for their dependencies to complete. This leads to pipelined development, resulting in more streamlined and faster development. This also improves testability of the components.
Your company is planning to use the AWS Cloud. But there is a management decision that resources need to split department wise. And the decision is tending towards managing multiple AWS accounts. Which of the following would help in effective management and also provide an efficient costing model.
A. AWS Organizations
B. Amazon Dev Pay
C. AWS Trusted Advisor
D. AWS Cost Explorer
A. AWS Organizations
AWS Organizations offers policy-based management for multiple AWS accounts. With Organizations, you can create groups of accounts and then apply policies to those groups. Organizations enables you to centrally manage policies across multiple accounts, without requiring custom scripts and manual processes.
An administrator would like to check if the Amazon CloudFront identity they created is making access API calls to an S3 bucket where a static website is hosted. Where can this information be obtained?
A. Configuring Amazon Athena to run queries on the Amazon CloudFront distribution
B. Check AWS CloudWatch logs on the S3 bucket.
C. In the webserver, tail for identity access logs from the Amazon CloudFront identity
D. In AWS CloudTrail Event history, look up access calls and filter for the Amazon CloudFront identity.
D. In AWS CloudTrail Event history, look up access calls and filter for the Amazon CloudFront identity.
By viewing Event history in Amazon CloudTrail, the administrator can be able to access operational, access and activity logs for the past 90 days, to the S3 bucket that hosts the static website.
Using Content Delivery Network (CDN) an administrator would like to serve varying types of content based on the viewer’s browser cookies. Which is the most appropriate serverless technique that can be used to achieve this?
A. AWS CodeCommit
B. AWS Lambda@Edge
C. AWS CodeStar
D. AWS Cloud9
B. AWS Lambda@Edge
AWS Lambda@Edge is a serverless service that makes it possible to run event-triggered functions on Edge Locations within the AWS Content Delivery Network. Using AWS CloudFront, an administrator can introduce decision-making and compute processing closer to the viewer’s location, thereby improving on their browsing experience.
Your company wants to move an existing Oracle database to the AWS Cloud. Which of the following services can help facilitate this move.
A. AWS Database Migration Service
B. AWS VM Migration Service
C. AWS Inspector
D. AWS Trusted Advisor
A. AWS Database Migration Service
AWS Database Migration Service helps you migrate databases to AWS quickly and securely. The source database remains fully operational during the migration, minimizing downtime to applications that rely on the database. The AWS Database Migration Service can migrate your data to and from most widely used commercial and open-source databases.
Which of the below cannot be used to get data from Amazon Glacier?
A. AWS Glacier API
B. AWS Console
C. AWS Glacier SDK
D. AWS S3 Lifecycle policies
D. AWS S3 Lifecycle policies
Note that the AWS Console cannot be used to upload data onto Glacier. The console can only be used to create a Glacier vault which can be used to upload the data.
AWS Glacier API
AWS Glacier is a storage service optimized for infrequently used data, or “cold data”. This option is used for programatically access Glacier and work with it. Due to this reason this option is not matched with the question.
AWS Glacier SDK: SDK i.e., Software Development Kit is used to develop applications for Amazon S3 Glacier. They provide libraries that map to the underlying REST API and provide objects that you can use to easily construct requests and process responses. Due to this reason, it’s not the valid answer for the asked question.
AWS S3 Lifecycle Policies: It’s an XML file, which comprises a set of rules with predefined actions that you want Amazon S3 to perform on objects during their lifetime. Using this we can have access to Glacier and work with it, and due to this, it’s not the correct answer to our question.
Which of the following AWS services use serverless technology. Choose 2 answers from the options given below.
A. DynamoDB
B. EC2
C. Simple Storage Service
D. AWS Autoscaling
A. DynamoDB
C. Simple Storage Service
The Simple Storage service and DynamoDB are services where you don’t need to manage the underlying infrastructure.
If there is a requirement to host EC2 Instances in the AWS Cloud wherein the utilization is guaranteed to be consistent for a long period of time, which of the following would you utilize to ensure costs are minimized?
A. Reserved instances
B. On-demand instances
C. Spot instances
D. Regular instances
A. Reserved instances
When you have instances that will be used continuously and throughout the year, the best option is to buy reserved instances. By buying reserved instances, you are actually allocated an instance for the entire year or the duration you specify with a reduced cost.
A company is planning to migrate their On-premises Services to the Cloud. Which of the following would help them do a cost benefit analysis of moving to the AWS Cloud.
A. AWS TCO calculator
B. AWS Config
C. AWS Cost Explorer
D. AWS Consolidating billing
A. AWS TCO calculator
Use this calculator to compare the cost of running your applications in an on-premises or colocation environment to AWS. Describe your on-premises or colocation configuration to produce a detailed cost comparison with AWS.
An ELB instance is configured with the default HealthCheck and Response Timeout intervals as 30 seconds and 5 seconds respectively. How long will it take for an instance within a target group to be labelled as OutOfService, if it goes down a second after the latest HealthCheck?
A. 34 seconds
B. 30 seconds
C. 35 seconds
D. 4 seconds
A. 34 seconds
Since the health check runs every 30 seconds and the instance goes down one second into the cycle, it means 29 seconds will lapse before a new health check is run. Additionally, it will take 5 more seconds of the ELB instance probing the instance that is down, upon getting no response, it would then fail the health check. Therefore, 29 + 5 seconds = 34 seconds.
Which of the following is the responsibility of AWS according to the Shared Security Model? Choose 3 answers from the options given below
A. Managing AWS Identity and Access Management (IAM)
B. Securing edge locations
C. Monitoring physical device security
D. Implementing service organization Control (SOC) standards
B. Securing edge locations
C. Monitoring physical device security
D. Implementing service organization Control (SOC) standards
The responsibility of AWS includes the following
1) Securing edge locations
2) Monitoring physical device security
3) Implementing service organization Control (SOC) standards
Which of the following statements are FALSE when it comes to elasticity. Choose 2 answers from the options given below
A. Diverting traffic to instances based on the demand
B. Diverting traffic to instances with the least load
C. Diverting traffic across multiple regions
D. Diverting traffic to instances with higher capacity
C. Diverting traffic across multiple regions
D. Diverting traffic to instances with higher capacity
The concept of Elasticity is the means of an application having the ability to scale up and scale down based on demand. An example of such a service is the Autoscaling service
Select TWO statements that describe the main roles of AWS Web Application Firewall (WAF) and AWS Shield?
A. AWS Shield Standard is inherently available within the AWS WAF service at no extra cost
B. AWS WAF is inherently available within the AWS Shield Standard service at an additional charge
C. AWS Web Application Firewall (WAF) will provide expanded protection against SYN floods, DNS query floods and UDP reflection attacks at no additional cost
D. AWS Web Application Firewall (WAF) and AWS Shield are fully-managed services
E. AWS WAF is a web application firewall that includes AWS Shield – a service that prevents distributed denial of service (DDoS) attacks
A. AWS Shield Standard is inherently available within the AWS WAF service at no extra cost
E. AWS WAF is a web application firewall that includes AWS Shield – a service that prevents distributed denial of service (DDoS) attacks
AWS Web Application Firewall (WAF) is a web-based application that allows for monitoring of ingress and egress traffic on provisioned web services. These could be in an AWS CloudFront distribution, behind an AWS Load Balancer or standalone instance. AWS WAF includes AWS Shield (AWS Shield Standard that comes at no additional cost and AWS Shield Advanced, on subscription) that protects against SYN floods, DNS query floods and UDP reflection attacks amongst others.
Which of the following options is true regarding the vulnerability and security assessment on AWS resources ?
A. AWS is responsible for security of the cloud, vulnerability and penetration testing is not permissible and unnecessary on AWS resources and infrastructure.
B. An organisation can contract a third-party organisation to run vulnerability and security assessments on any of their AWS resources.
C. Vulnerability and security assessments can be conducted on specified AWS resources.
D. It is not permissible to run vulnerability and penetration tests on AWS resources without the prior consent and
C. Vulnerability and security assessments can be conducted on specified AWS resources.
AWS permits users to conduct vulnerability and penetration testing certain specified AWS services. This allows organisations to comply with any industry regulations that stipulate that vulnerability and penetration testing be conducted on services and infrastructure.