{"id":9015,"date":"2020-01-20T07:21:35","date_gmt":"2020-01-20T07:21:35","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=9015"},"modified":"2025-02-01T23:03:13","modified_gmt":"2025-02-01T23:03:13","slug":"docker-interview-questions-and-answer-part-13","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/docker-interview-questions-and-answer-part-13\/","title":{"rendered":"Docker Interview Questions and Answer Part \u2013 13"},"content":{"rendered":"\n<p><strong>Which of the following problems (not solved by hypervisor virtualization) do containers solve?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Heterogeneous application management<\/li><li>Network Function Virtualization (NFV)<\/li><li>Software Defined Storage (SDS)<\/li><li><strong>Overheads incurred by the multiplicity of Operating Systems (OS) (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Which of the following commands will download the Ubuntu image from Docker Hub?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>dkr pull ubuntu<\/li><li>docker download ubuntu<\/li><li><strong>docker pull ubuntu (Ans<\/strong>)<\/li><li>dkr download ubuntu<\/li><\/ul>\n\n\n\n<p><strong>What is the Open Container Initiative responsible for?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Container security standards<\/li><li><strong>Container format and runtime standards (Ans)<\/strong><\/li><li>Image format and orchestration standards<\/li><li>The Docker Remote API<\/li><\/ul>\n\n\n\n<p><strong>Which of the following is an important question to answer within your organization?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Which public cloud platform to deploy your container infrastructure on<\/li><li>Whether to deploy your containerized apps on Windows or Linux systems<\/li><li><strong>Who will pay for container-related infrastructure and services (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>What are the three Docker channels?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Community, Docker, 3rd Party<\/li><li>Linux, Windows, BSD<\/li><li><strong>Experimental, Stable, Commercially Supported (Ans)<\/strong><\/li><li>Development, Test, Production<\/li><\/ul>\n\n\n\n<p><strong>Which of the following is true of Docker containers?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Docker containers are not persistent.<\/li><li>Docker containers only run in the cloud.<\/li><li><strong>Docker containers are persistent. (Ans)<\/strong><\/li><li>Docker containers are more secure than virtual machines.<\/li><\/ul>\n\n\n\n<p><strong>Which of the following products can run inside of a corporation&#8217;s firewall and allows them to ship containerized apps?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Docker Universal Control Plane<\/li><li>Docker Hub<\/li><li>Docker Content Trust<\/li><li><strong>Docker Trusted Registry (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Where is Docker Inc. based?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Boston, Massachusetts<\/li><li>Austin, Texas<\/li><li>San Jose, California<\/li><li><strong>San Francisco, California (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Which Docker Technology turns on image signing and verification for pushing and pulling images?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Docker Image Trust<\/li><li><strong>Docker Content Trust (Ans)<\/strong><\/li><li>Docker Trusted Registry<\/li><li>Docker Trusted Images<\/li><\/ul>\n\n\n\n<p><strong>Which of the following is not an advantage of containerized cloud native apps?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Portability<\/li><li><strong>Security (Ans)<\/strong><\/li><li>Scalability<\/li><li>Self-healing<\/li><\/ul>\n\n\n\n<p><strong>If you needed to deploy a container registry within your own corporate firewall that you own and manage, which of the following products could you use?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Docker Trusted Repository<\/li><li>Private repositories on Docker Hub<\/li><li>Docker Trusted Hub<\/li><li><strong>Docker Trusted Registry (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Which of the following is true of ECS?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>ECS offers integration with either the ECS registry or Docker Hub images. (Ans)<\/strong><\/li><li>Besides for the regular AWS resources in use, ECS charges users on a per-cluster basis.<\/li><li>ECS automatically launches a fully-managed EC2 instance for every cluster created.<\/li><li>At the cluster level, ECS can only be managed from the browser-based console.<\/li><\/ul>\n\n\n\n<p><strong>You can display detailed information about an ECS cluster from the command line using\u2026<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>aws ecs cluster &#8211;help<\/li><li>aws ecs clusters &#8211;list<\/li><li>aws ecs list-clusters<\/li><li><strong>aws ecs describe-clusters (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>You can set load balancing and auto scaling for a deployment in the <em>_______<\/em> configuration menu of the console.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Container (Ans)<\/strong><\/li><li>Cluster Update<\/li><li>Task Definitions<\/li><li>Services<\/li><\/ul>\n\n\n\n<p><strong>Adding the &#8220;Amazon EC2 Container Service for EC2 Role&#8221; to your EC2 instance allows <em>_<\/em>_________.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>ECS resources to connect to the EC2 instance<\/li><li>the EC2 instance to be registered within an ECS system<\/li><li><strong>the EC2 instance to connect to ECS resources (Ans)<\/strong><\/li><li>the account root user to manage the EC2 instance<\/li><\/ul>\n\n\n\n<p><strong>An ECS task can be described as:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><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><li>A virtual container profile<\/li><\/ul>\n\n\n\n<p><strong>Which of the following files on an EC2 ECS-optimized AMI instance must be edited to permit access to Docker Hub private repositories?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\/etc\/ecs\/ecs.config (Ans)<\/strong><\/li><li>\/etc\/ecs-config<\/li><li>\/ecs\/ecs.config<\/li><li>\/etc\/ecs\/ecs-config<\/li><\/ul>\n\n\n\n<p><strong>What is the primary purpose of adding a tag to a Docker image?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>To identify the object as an image<\/li><li>To identify the image&#8217;s ownership and origin<\/li><li>To allow for easier visual identification once your infrastructure grows<\/li><li><strong>To direct Docker to the appropriate remote repository (Ans)<\/strong><\/li><\/ul>\n\n\n\n<p><strong>Which of the following commands will return authentication credentials for the EC2 Container Repository service?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>aws ecr login &#8211;region <\/li><li><strong>aws ecr get-login &#8211;region  (Ans)<\/strong><\/li><li>aws get-login &#8211;region <\/li><li>aws get-region <\/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><strong>docker info (Ans)<\/strong><\/li><li>docker inspect<\/li><li>docker images<\/li><li>docker ps<\/li><\/ul>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_11026\"><iframe loading=\"lazy\"  id=\"_ytid_98302\"  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_11026\"  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 class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Which of the following problems (not solved by hypervisor virtualization) do containers solve? Heterogeneous application management Network Function Virtualization (NFV) Software Defined Storage (SDS) Overheads incurred by the multiplicity of&#8230; <\/p>\n","protected":false},"author":1,"featured_media":9828,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4862],"tags":[],"class_list":["post-9015","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/9015","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=9015"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/9015\/revisions"}],"predecessor-version":[{"id":25058,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/9015\/revisions\/25058"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/9828"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=9015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=9015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=9015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}