{"id":364,"date":"2022-02-09T05:51:42","date_gmt":"2022-02-09T05:51:42","guid":{"rendered":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/aws-certified-security-specialty-scs-c01-question298\/"},"modified":"2022-02-09T05:51:42","modified_gmt":"2022-02-09T05:51:42","slug":"aws-certified-security-specialty-scs-c01-question298","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/aws-certified-security-specialty-scs-c01-question298\/","title":{"rendered":"AWS Certified Security &#8211; Specialty SCS-C01 &#8211; Question298"},"content":{"rendered":"<div class=\"question\">A company wants to establish separate AWS Key Management Service (AWS KMS) keys to use for different AWS services. The company&#039;s security engineer created the following key policy to allow the infrastructure deployment team to create encrypted Amazon Elastic Block Store (Amazon EBS) volumes by assuming the InfrastructueDeployment IAM role:<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full\" src=\"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/wp-content\/uploads\/exam\/0298-0000.jpg\" \/><br \/>\nThe security engineer recently discovered that IAM roles other than the InfrastructureDeployment role used this key for other services.<br \/>\nWhich change to the policy should the security engineer make to resolve these issues?<br \/><strong><br \/>A.<\/strong> In the statement block that contains the Sid &quot;Allow use of the key&quot;, under the &quot;Condition&quot; block, change StringEquals to StringLike.<br \/><strong>B.<\/strong> In the policy document, remove the statement block that contains the Sid &quot;Enable IAM User Permissions&quot;. Add key management policies to the KMS policy.<br \/><strong>C.<\/strong> In the statement block that contains the Sid &quot;Allow use of the key&quot;, under the &quot;Condition&quot; block, change the kms:ViaService value to ec2.us-east-1.amazonaws.com.<br \/><strong>D.<\/strong> In the policy document, add a new statement block that grants the kms:Disable* permission to the security engineer&#039;s IAM role.<\/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>Explanation:<\/strong> <\/p>\n<div class=\"explanation\">\nReference <a href=\"https:\/\/docs.aws.amazon.com\/kms\/latest\/developerguide\/kms-dg.pdf\" title=\"External link\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/docs.aws.amazon.com\/kms\/latest\/developerguide\/kms-dg.pdf<\/a><\/div>\n<p><\/strong><\/span> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>A company wants to establish separate AWS Key Management Service (AWS KMS) keys to use for different AWS services. The company&#039;s security engineer created the following key policy to allow the infrastructure deployment team to create encrypted Amazon Elastic Block Store (Amazon EBS) volumes by assuming the InfrastructueDeployment IAM role: The security engineer recently discovered [&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,301],"class_list":["post-364","post","type-post","status-publish","format-standard","hentry","category-aws-certified-security-specialty-scs-c01","tag-aws-certified-security-specialty-scs-c01","tag-question-298"],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/wp-json\/wp\/v2\/posts\/364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/wp-json\/wp\/v2\/comments?post=364"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/wp-json\/wp\/v2\/posts\/364\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/wp-json\/wp\/v2\/media?parent=364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/wp-json\/wp\/v2\/categories?post=364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Security-Specialty_SCS-C01\/wp-json\/wp\/v2\/tags?post=364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}