{"id":8736,"date":"2020-01-15T05:02:08","date_gmt":"2020-01-15T05:02:08","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=8736"},"modified":"2021-11-13T11:39:45","modified_gmt":"2021-11-13T11:39:45","slug":"aws-interview-questions-and-answer-part-17","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/aws-interview-questions-and-answer-part-17\/","title":{"rendered":"AWS Interview Questions and Answer Part \u2013 17"},"content":{"rendered":"\n<p><strong>What set of operations can you perform on RDS database logs?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>View, watch, and download (Ans)<\/strong><\/li><li>View, download, and purge<\/li><li>View and watch<\/li><li>View and download<\/li><\/ul>\n\n\n\n<p><strong>What is a &#8220;node slice&#8221; in the Redshift architecture?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The leader that managers communication with clients and nodes<\/li><li><strong>A partition of a compute node that works in parallel with others to complete operations (Ans)<\/strong><\/li><li>A compute node securely shared with multiple Redshift customers<\/li><li>A snapshot of a node at a point in time<\/li><\/ul>\n\n\n\n<p><strong>Which of the following is true of a multi-AZ database?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>It cannot be connected to via client tools<\/li><li><strong>All of these (Ans)<\/strong><\/li><li>It is the database instance used when you take backups<\/li><li>It is synchronously updated from the source instance<\/li><\/ul>\n\n\n\n<p><strong>You can restore an RDS database to any specific time during the retention period.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>False<\/li><li><strong>True (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>A DynamoDB hash primary key is stored as an ordered index that can be queried.<\/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>A Redshift security group is used to provide role-based access to the cluster.<\/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 use a secondary index on a DynamoDB table?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Define alternate keys to query and scan (Ans)<\/strong><\/li><li>Duplicate data for redundancy purposes<\/li><li>All of these<\/li><li>To manually synchronize data with a source table<\/li><\/ul>\n\n\n\n<p><strong>Why are Redshift snapshots useful?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Act as a disaster recovery tool by letting you stand up a cluster copy in another region<\/li><li>Restoring from a snapshot retains all the data and metadata from the source cluster<\/li><li><strong>All of these (Ans)<\/strong><\/li><li>Snapshots can be shared with other AWS accounts<\/li><\/ul>\n\n\n\n<p><strong>Redshift is based on PostgreSQL, but differs in supported functions, data types, and features.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>False<\/li><li><strong>True (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>The COPY command can import data from S3, DynamoDB, or a server.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>No<\/li><li><strong>Yes (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>In a global secondary index, the key values do NOT need to be unique.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>False<\/li><li><strong>True (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>What billable components make up the AWS API Gateway?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Requests, data out, and cache (Ans)<\/strong><\/li><li>API calls<\/li><li>SEO + Virality<\/li><li>Requests and data out only<\/li><\/ul>\n\n\n\n<p><strong>What is the purpose of the execution role?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Controls what events can trigger the lambda function    <\/li><li><strong>Controls what resources the lambda function can access (Ans)<\/strong><\/li><li>Determines how long the function can run<\/li><li>Terminates the lambda function based on rules<\/li><\/ul>\n\n\n\n<p><strong>What is a REST API?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A group of resources or methods    <\/li><li>Any website with a search feature<\/li><li>An API not currently in use<\/li><li><strong>A group of resources and methods (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>What API Gateway feature allows you to transform data?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Mapping Templates (Ans)    <\/strong><\/li><li>You can\u2019t, it must be done in the backend service<\/li><li>HTTP Methods<\/li><li>IAM Permissions<\/li><\/ul>\n\n\n\n<p><strong>Functions with multiple files or module dependencies should:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Store the files in a publicly accessible location    <\/li><li><strong>Zip the contents and upload directly to lambda (Ans)<\/strong><\/li><li>Reference the files using ARN names<\/li><li>Avoid using lambda functions<\/li><\/ul>\n\n\n\n<p><strong>What is the default access level if a policy does not exist?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Web authorization headers are used    <\/li><li>An overriding policy applies<\/li><li><strong>Access denied (Ans)<\/strong><\/li><li>Access granted<\/li><\/ul>\n\n\n\n<p><strong>One way to start using the API Gateway is:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Integrating with your current Continuous Integration server    <\/li><li><strong>Greenfield projects that have no legacy dependencies (Ans)<\/strong><\/li><li>Building the front-end interface for your customer portal<\/li><li>Expanding the features of your existing API set<\/li><\/ul>\n\n\n\n<p><strong>When deploying using the AWS API Gateway:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Manually copy needed deployment files    <\/li><li>Build a server, patch, and deploy<\/li><li><strong>Click the deploy button (Ans)<\/strong><\/li><li>Deploy to an existing EC2 instance<\/li><\/ul>\n\n\n\n<p><strong>API Keys can be used to authorize users.<\/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<ul class=\"wp-block-list\"><li><\/li><\/ul>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_39271\"><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_89656\"  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_39271\"  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 set of operations can you perform on RDS database logs? View, watch, and download (Ans) View, download, and purge View and watch View and download What is a &#8220;node slice&#8221; in the Redshift architecture? The leader that managers communication with clients and nodes A partition of a compute node that works in parallel with&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[5633],"tags":[],"class_list":["post-8736","post","type-post","status-publish","format-standard","hentry","category-aws"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8736","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=8736"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8736\/revisions"}],"predecessor-version":[{"id":25133,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8736\/revisions\/25133"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=8736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=8736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=8736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}