{"id":8744,"date":"2020-01-15T05:20:51","date_gmt":"2020-01-15T05:20:51","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=8744"},"modified":"2021-11-13T11:38:58","modified_gmt":"2021-11-13T11:38:58","slug":"aws-interview-questions-and-answer-part-21","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/aws-interview-questions-and-answer-part-21\/","title":{"rendered":"AWS Interview Questions and Answer Part \u2013 21"},"content":{"rendered":"\n<p><strong>An ECS task can be described as:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A virtual container profile    <\/li><li>A software tool used to manage cluster resources<\/li><li>A software agent used to enable communication across a cluster environment<\/li><li><strong>A collection metadata defining the environment elements needed to launch Docker containers (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>What is the function of this command?<br>     docker search apache\/ubuntu<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>It will search your local Docker client environment for images related to both apache and ubuntu.    <\/li><li>It will search Docker Hub for images related to either apache or ubuntu.<\/li><li>It will search your local Docker client environment for images related to either apache or ubuntu.<\/li><li><strong>It will search Docker Hub for images related to both apache and ubuntu. (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Which of these commands will associate a network interface with a Docker container?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>docker attach network newnet<\/li><li>docker network connect newname newnet<\/li><li>docker net connect newname newnet<\/li><li><strong>docker network connect newnet newname (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Which of these tools provides information about all the Docker resources on your system?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>docker ps    <\/li><li>docker inspect<\/li><li><strong>docker info (Ans)<\/strong><\/li><li>docker images<\/li><\/ul>\n\n\n\n<p><strong>You cannot run your own database on the AWS platform, but can choose between RDS or DynamoDB.<\/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 below features is NOT offered by Amazon RDS?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>replication<\/li><li>patching<\/li><li><strong>stored procedure tuning (Ans)<\/strong><\/li><li>backups<\/li><li>version upgrades<\/li><\/ul>\n\n\n\n<p><strong>Local, instance storage for EC2 instances is best used for temporary storage<\/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>How can you configure Auto Scaling?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>With the language-specific SDKs<\/li><li><strong>All of the above (Ans)<\/strong><\/li><li>Through the HTTP API    <\/li><li>Via command line tools<\/li><\/ul>\n\n\n\n<p><strong>What problem do Elastic IPs solve?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>All of the above<\/li><li><strong>Lets you define a fixed IP and swap out the server it&#8217;s attached to (Ans)<\/strong><\/li><li>Sets a fixed public IP for 3 or more servers<\/li><li>Provides simple load balancing between EC2 instances in the same AZ<\/li><\/ul>\n\n\n\n<p><strong>Why might you use a load balancer in your distributed systems?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>all of the above (Ans)<\/strong><\/li><li>Provide resilience against servers going offline<\/li><li>Offer enough servers to respond to all the inbound traffic<\/li><li>Route traffic to geographically distributed servers<\/li><\/ul>\n\n\n\n<p><strong>How does load balancing differ from high availability?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Something can be load balanced but not highly available (Ans)<\/strong><\/li><li>They are the same thing<\/li><li>A load balanced application doesn&#8217;t work across geographies<\/li><\/ul>\n\n\n\n<p><strong>&#8220;Message sampling&#8221; in Amazon SQS refers to \u2026<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>none of the above<\/li><li><strong>queues being spread across servers so a &#8220;retrieve&#8221; operation only samples a subset of servers (Ans)<\/strong><\/li><li>large messages in SQS that only have a sample of their payload returned to the caller<\/li><li>a technique for querying a set of messages that have a particular metadata attribute<\/li><\/ul>\n\n\n\n<p><strong>Which of the below is NOT a fallacy of distributed computing?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Topology doesn&#8217;t change<\/li><li>The network is reliable<\/li><li>There is only one administrator<\/li><li><strong>Databases can scale horizontally (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Which DNS record type is unique to Route 53?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>AAAA<\/li><li><strong>Alias (Ans)<\/strong><\/li><li>CNAME<\/li><li>A<\/li><\/ul>\n\n\n\n<p><strong>S3 is highly available <\/strong><em><strong>if<\/strong><\/em><strong> you configure it for multi-AZ replication<\/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 below is NOT a scaling condition in Auto Scaling?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Scheduled time period<\/li><li>Ideal number of running instances<\/li><li><strong>None of the above (Ans)<\/strong><\/li><li>High resource (e.g. RAM, CPU) consumption<\/li><li>SQS queue depth<\/li><\/ul>\n\n\n\n<p><strong>Attach IAM roles to EC2 virtual machines to let applications securely connect to AWS services without embedding credentials.<\/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>What are some ways to create fault tolerance in a distributed system?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Set of &#8220;circuit breakers&#8221; and avoid cascading errors<\/li><li>Use eventual consistency for data synchronization<\/li><li><strong>All of the above (Ans)<\/strong><\/li><li>Use timeouts and retries<\/li><\/ul>\n\n\n\n<p><strong>Choose to use DynamoDB instead of RDS if \u2026<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>there is a need for high performance and a flexible data structure (Ans)<\/strong><\/li><li>None of the above<\/li><li>you need to establish strong relationships between table items<\/li><li>you need a database available in ALL AWS regions<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><\/li><\/ul>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_21787\"><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_59570\"  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_21787\"  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>An ECS task can be described as: A virtual container profile A software tool used to manage cluster resources A software agent used to enable communication across&#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-8744","post","type-post","status-publish","format-standard","hentry","category-aws"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8744","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=8744"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8744\/revisions"}],"predecessor-version":[{"id":25129,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8744\/revisions\/25129"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=8744"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=8744"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=8744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}