{"id":1337,"date":"2023-01-14T11:00:41","date_gmt":"2023-01-14T11:00:41","guid":{"rendered":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/aws-certified-developer-associate-dva-c01-question362\/"},"modified":"2023-01-14T11:00:41","modified_gmt":"2023-01-14T11:00:41","slug":"aws-certified-developer-associate-dva-c01-question362","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/aws-certified-developer-associate-dva-c01-question362\/","title":{"rendered":"AWS Certified Developer Associate DVA-C01 &#8211; Question362"},"content":{"rendered":"<div class=\"question\">A company has an ecommerce application. To track product reviews, the company&#039;s development team uses an Amazon DynamoDB table.<br \/>\nEvery record includes the following:<br \/>\n* A Review ID, a 16-digit universally unique identifier (UUID)<br \/>\n* A Product ID and User ID, 16-digit UUIDs that reference other tables<br \/>\n* A Product Rating on a scale of 1-5<br \/>\n* An optional comment from the user<br \/>\nThe table partition key is the Review ID. The most performed query against the table is to find the 10 reviews with the highest rating for a given product.<br \/>\nWhich index will provide the FASTEST response for this query?<br \/><strong><br \/>A.<\/strong> A global secondary index (GSI) with Product ID as the partition key and Product Rating as the sort key<br \/><strong>B.<\/strong> A global secondary index (GSI) with Product ID as the partition key and Review ID as the sort key<br \/><strong>C.<\/strong> A local secondary index (LSI) with Product ID as the partition key and Product Rating as the sort key<br \/><strong>D.<\/strong> A local secondary index (LSI) with Review ID as the partition key and Product ID as the sort key<\/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>B<\/strong><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A company has an ecommerce application. To track product reviews, the company&#039;s development team uses an Amazon DynamoDB table. Every record includes the following: * A Review ID, a 16-digit universally unique identifier (UUID) * A Product ID and User ID, 16-digit UUIDs that reference other tables * A Product Rating on a scale of [&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,365],"class_list":["post-1337","post","type-post","status-publish","format-standard","hentry","category-aws-certified-developer-associate-dva-c01","tag-aws-certified-developer-associate-dva-c01","tag-question-362"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/posts\/1337","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=1337"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/posts\/1337\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/media?parent=1337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/categories?post=1337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/tags?post=1337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}