{"id":1277,"date":"2023-01-14T10:59:38","date_gmt":"2023-01-14T10:59:38","guid":{"rendered":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/aws-certified-developer-associate-dva-c01-question302\/"},"modified":"2023-01-14T10:59:38","modified_gmt":"2023-01-14T10:59:38","slug":"aws-certified-developer-associate-dva-c01-question302","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/aws-certified-developer-associate-dva-c01-question302\/","title":{"rendered":"AWS Certified Developer Associate DVA-C01 &#8211; Question302"},"content":{"rendered":"<div class=\"question\">A company hosts a client-side web application for one of its subsidiaries on Amazon S3. The web application can be accessed through Amazon CloudFront from <a href=\"https:\/\/www.example.com\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/www.example.com<\/a>. After a successful rollout, the company wants to host three more client-side web applications for its remaining subsidiaries on three separate S3 buckets.<br \/>\nTo achieve this goal, a developer moves all the common JavaScript files and web fonts to a central S3 bucket that serves the web applications. However, during testing, the developer notices that the browser blocks the JavaScript files and web fonts.<br \/>\nWhat should the developer do to prevent the browser from blocking the JavaScript files and web fonts?<br \/><strong><br \/>A.<\/strong> Create four access points that allow access to the central S3 bucket. Assign an access point to each web application bucket.<br \/><strong>B.<\/strong> Create a bucket policy that allows access to the central S3 bucket. Attach the bucket policy to the central S3 bucket.<br \/><strong>C.<\/strong> Create a cross-origin resource sharing (CORS) configuration that allows access to the central S3 bucket. Add the CORS configuration to the central S3 bucket.<br \/><strong>D.<\/strong> Create a Content-MD5 header that provides a message integrity check for the central S3 bucket. Insert the Content-MD5 header for each web application request.<\/div>\n<p><\/p>\n<style> .hidden-div{ display:none } <\/style>\n<p>\t\t\t\t\t\t\t<button onclick=\"getElementById('hidden-div').style.display = 'block'\"> Show Answer <\/button> <button onclick=\"getElementById('hidden-div').style.display = 'none'\">Hide Answer<\/button><\/p>\n<div class=\"hidden-div\" id=\"hidden-div\"><span style=\"\"><\/p>\n<div class=\"answer\">Correct Answer: <strong>C<\/strong><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A company hosts a client-side web application for one of its subsidiaries on Amazon S3. The web application can be accessed through Amazon CloudFront from https:\/\/www.example.com. After a successful rollout, the company wants to host three more client-side web applications for its remaining subsidiaries on three separate S3 buckets. To achieve this goal, a developer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[3,305],"class_list":["post-1277","post","type-post","status-publish","format-standard","hentry","category-aws-certified-developer-associate-dva-c01","tag-aws-certified-developer-associate-dva-c01","tag-question-302"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/posts\/1277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/comments?post=1277"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/posts\/1277\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/media?parent=1277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/categories?post=1277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/tags?post=1277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}