{"id":1190,"date":"2023-01-14T10:58:08","date_gmt":"2023-01-14T10:58:08","guid":{"rendered":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/aws-certified-developer-associate-dva-c01-question215\/"},"modified":"2023-01-14T10:58:08","modified_gmt":"2023-01-14T10:58:08","slug":"aws-certified-developer-associate-dva-c01-question215","status":"publish","type":"post","link":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/aws-certified-developer-associate-dva-c01-question215\/","title":{"rendered":"AWS Certified Developer Associate DVA-C01 &#8211; Question215"},"content":{"rendered":"<div class=\"question\">A company&#039;s developer is building a static website to be deployed in Amazon S3 for a production environment.<br \/>\nThe website integrates with an Amazon Aurora PostgreSQL database by using an AWS Lambda function. The website that is deployed to production will use a Lambda alias that points to a specific version of the Lambda function.<br \/>\nThe company must rotate the database credentials every 2 weeks. Lambda functions that the company deployed previously must be able to use the most recent credentials.<br \/>\nWhich solution will meet these requirements?<br \/><strong><br \/>A.<\/strong> Store the database credentials in AWS Secrets Manager. Turn on rotation. Write code in the Lambda function to retrieve the credentials from Secrets Manager.<br \/><strong>B.<\/strong> Include the database credentials as part of the Lambda function code. Update the credentials periodically and deploy the new Lambda function.<br \/><strong>C.<\/strong> Use Lambda environment variables. Update the environment variables when new credentials are available.<br \/><strong>D.<\/strong> Store the database credentials in AWS Systems Manager Parameter Store Turn on rotation. Write code in the Lambda function to retrieve the credentials from Systems Manager Parameter Store.<\/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 company&#039;s developer is building a static website to be deployed in Amazon S3 for a production environment. The website integrates with an Amazon Aurora PostgreSQL database by using an AWS Lambda function. The website that is deployed to production will use a Lambda alias that points to a specific version of the Lambda function. [&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,218],"class_list":["post-1190","post","type-post","status-publish","format-standard","hentry","category-aws-certified-developer-associate-dva-c01","tag-aws-certified-developer-associate-dva-c01","tag-question-215"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/posts\/1190","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=1190"}],"version-history":[{"count":0,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/posts\/1190\/revisions"}],"wp:attachment":[{"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/media?parent=1190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/categories?post=1190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exampracticetests.com\/aws\/Developer_Associate_DVA-C01\/wp-json\/wp\/v2\/tags?post=1190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}