{"id":1201,"date":"2023-01-14T10:58:19","date_gmt":"2023-01-14T10:58:19","guid":{"rendered":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/aws-certified-developer-associate-dva-c01-question226\/"},"modified":"2023-01-14T10:58:19","modified_gmt":"2023-01-14T10:58:19","slug":"aws-certified-developer-associate-dva-c01-question226","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/aws-certified-developer-associate-dva-c01-question226\/","title":{"rendered":"AWS Certified Developer Associate DVA-C01 &#8211; Question226"},"content":{"rendered":"<div class=\"question\">A developer is writing an IAM policy document that grants administrator access to AWS Key Management Service (AWS KMS) for a federated user. The federated IAM role name is FederatedIAMRole. The user name is KeyAdmin.<br \/>\nHow should the developer set the principal in the KMS key policy to meet these requirements?<br \/><strong><br \/>A.<\/strong> &quot;Principal&quot;: { &quot;AWS&quot;: &quot;arn:aws:sts::123456789012:role\/FederatedIAMRole\/KeyAdmin&quot; }<br \/><strong>B.<\/strong> &quot;Principal&quot;: { &quot;AWS&quot;: &quot;arn:aws:sts::123456789012:user\/FederatedIAMRole\/KeyAdmin&quot; }<br \/><strong>C.<\/strong> &quot;Principal&quot;: { &quot;AWS&quot;: &quot;arn:aws:sts::123456789012:user\/KeyAdmin&quot; }<br \/><strong>D.<\/strong> &quot;Principal&quot;: { &quot;AWS&quot;: &quot;arn:aws:sts::123456789012:assumed-role\/FederatedIAMRole\/KeyAdmin&quot; }<\/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>D<\/strong><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A developer is writing an IAM policy document that grants administrator access to AWS Key Management Service (AWS KMS) for a federated user. The federated IAM role name is FederatedIAMRole. The user name is KeyAdmin. How should the developer set the principal in the KMS key policy to meet these requirements?A. &quot;Principal&quot;: { &quot;AWS&quot;: &quot;arn:aws:sts::123456789012:role\/FederatedIAMRole\/KeyAdmin&quot; [&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,229],"class_list":["post-1201","post","type-post","status-publish","format-standard","hentry","category-aws-certified-developer-associate-dva-c01","tag-aws-certified-developer-associate-dva-c01","tag-question-226"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/posts\/1201","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=1201"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/posts\/1201\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/media?parent=1201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/categories?post=1201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/tags?post=1201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}