{"id":8796,"date":"2020-01-15T13:02:59","date_gmt":"2020-01-15T13:02:59","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=8796"},"modified":"2021-11-13T11:03:08","modified_gmt":"2021-11-13T11:03:08","slug":"aws-interview-questions-and-answer-part-22","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/aws-interview-questions-and-answer-part-22\/","title":{"rendered":"AWS Interview Questions and Answer Part \u2013 22"},"content":{"rendered":"\n<p><strong>What is a &#8220;visibilty timeout&#8221; in SQS?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>How long to delay the message before anyone can poll it<\/li><li>none of the above<\/li><li>An amount of time that the message is invisible to everyone but the publisher of the message<\/li><li><strong>The time that there is a &#8220;lock&#8221; on the message from the consumer who pulled it (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Messages that are retrieved from the queue are immediately deleted so that no other poller can retrieve it.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>true<\/li><li><strong>false (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Which of the options below represent a strategy for handling database failure?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>configuring multi-AZ replication<\/li><li>promoting a read replica to a primary instance<\/li><li><strong>All of the above (Ans)<\/strong><\/li><li>creating multiple read-replicas for the web application to access<\/li><\/ul>\n\n\n\n<p><strong>The ELB can load balance servers residing in different regions<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>true<\/li><li><strong>false (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Route 53 can send traffic to a degraded website hosted on S3 if health checks fail.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>true (Ans)<\/strong><\/li><li>false<\/li><\/ul>\n\n\n\n<p><strong>Which type of storage is exposed to a virtual machine via a low level bus interface?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>object storage<\/li><li><strong>block storage (Ans)<\/strong><\/li><li>file storage<\/li><\/ul>\n\n\n\n<p><strong>Which of the following best describes the delivery guarantee of Amazon SQS?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>At-least-once delivery (Ans)<\/strong><\/li><li>Only-once delivery<\/li><li>Repeated delivery<\/li><li>Eventual delivery<\/li><\/ul>\n\n\n\n<p><strong>You must write a script file to get Auto Scaled servers to join the ELB pool.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>false (Ans)<\/strong><\/li><li>true<\/li><\/ul>\n\n\n\n<p><strong>How can you create fault tolerance for EBS-driven solutions?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Be prepared to detach and reattach EBS volumes from failed EC2 instances<\/li><li>Create and store EBS snapshots in S3<\/li><li><strong>All of the above (Ans)<\/strong><\/li><li>Use RAID10 to stripe and mirror across volumes<\/li><\/ul>\n\n\n\n<p><strong>Which of the below is NOT a way to share content between EC2 virtual machines?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Durable EBS volumes (Ans)<\/strong><\/li><li>S3 buckets<\/li><li>EC2 VM acting as a network file share<\/li><li>SQS queues<\/li><\/ul>\n\n\n\n<p><strong>Route 53 can send traffic across AWS regions.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>true (Ans)<\/strong><\/li><li>false<\/li><\/ul>\n\n\n\n<p><strong>When does an EC2 image need to be EBS-backed vs. instance-backed?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>When using a cross-availability-zone virtual machine<\/li><li><strong>When its root drive is greater than 10GB (Ans)<\/strong><\/li><li>When its root drive is smaller than 10GB<\/li><\/ul>\n\n\n\n<p><strong>EC2 Security Groups serve what purpose?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>none of the above<\/li><li>Define the roles and users who have access to a virtual machine<\/li><li>Contains key pair used for decrypting the server password<\/li><li><strong>Act as a network firewall that defines valid ports and IPs (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Once you create an EC2 virtual machine, you cannot change its instance size.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>false (Ans)<\/strong><\/li><li>true<\/li><\/ul>\n\n\n\n<p><strong>An Auto Scaling group includes all the servers already associated with the ELB instance.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>true<\/li><li><strong>false (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Why would you want to implement a retry strategy when using Continuous Compliance to fix issues?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>To guard against transient errors (Ans)<\/strong><\/li><li>To ensure the fix is applied even if someone makes the resource non-compliant again later<\/li><li>To ensure that the fix is applied through all of AWS&#8217; eventually consistent infrastructure<\/li><\/ul>\n\n\n\n<p><strong>What is the name of the field you can use to transmit extra data fields from AWS Config Rule evaluations to your Continuous Compliance process?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>metadata<\/li><li>reason<\/li><li><strong>annotation (Ans)<\/strong><\/li><li>description<\/li><\/ul>\n\n\n\n<p><strong>What is a reason you might look at the Relationships portion of the Config Timeline view?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>To find out who was responsible for making a change<\/li><li>To understand what change was made during a given timeframe<\/li><li><strong>To determine what other resources a change may have affected (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>What are the three main inventory\/compliance problems that you seek to solve with AWS Config?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>How do you become compliant, what compliance rules should you use, what tool should you use<\/li><li>How do you fix the problem, what compliance rules are you using, when\/how did you lose compliance<\/li><li>Are you compliant, how do you fix the problem, who caused you to lose compliance<\/li><li><strong>Are you compliant, how do you fix the problem, when\/how did you lose compliance (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>If you were a part of a small organization that ran most of their infrastructure on-premise and that needed to maximize the use of their Ops team&#8217;s time and minimize costs, what type of inventory\/compliance management tool would you use?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>DevOps-focused (Ans)<\/strong><\/li><li>Enterprise-focused<\/li><li>Fully-integrated<\/li><\/ul>\n\n\n\n<p><strong>Why might you want to check the box to include deleted resources when searching in the Resource View?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>To troubleshoot problems on EC2 instances terminated by autoscaling policy (Ans)<\/strong><\/li><li>To make sure AWS Config picked up resources you deleted before enabling it<\/li><li>To test that AWS Config is properly recording deletion changes<\/li><\/ul>\n\n\n\n<p><strong>What are the valid values for compliance type when calling &#8220;put evaluations&#8221; on the AWS Config API?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>COMPLIANT, NON_COMPLIANT, and FAILED<\/li><li>DELETED, DISCOVERED, FAILED, and OK<\/li><li><strong>COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE (Ans)<\/strong><\/li><li>COMPLIANT and NON_COMPLIANT<\/li><\/ul>\n\n\n\n<p><strong>What AWS service(s) allow for evaluation of AWS Config Rules?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Lambda<\/li><li>Lambda, EC2<\/li><li><strong>AWS Config, Lambda (Ans)<\/strong><\/li><li>Lambda, SNS, AWS Config<\/li><\/ul>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_59521\"><figure class=\"wp-block-embed wp-block-embed-youtube is-type-video is-provider-youtube epyt-figure\"><div class=\"wp-block-embed__wrapper\"><iframe loading=\"lazy\"  id=\"_ytid_74424\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_59521\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div><\/figure><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>What is a &#8220;visibilty timeout&#8221; in SQS? How long to delay the message before anyone can poll it none of the above An amount of time that&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[5633],"tags":[],"class_list":["post-8796","post","type-post","status-publish","format-standard","hentry","category-aws"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=8796"}],"version-history":[{"count":4,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8796\/revisions"}],"predecessor-version":[{"id":25114,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8796\/revisions\/25114"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=8796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=8796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=8796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}