A company maintains a REST service using Amazon API Gateway and the API Gateway native API key validation. The company recently launched a new registration page, which allows users to sign up for the service. The registration page creates a new API key using CreateApiKey and sends the new key to the user. When the user attempts to call the API using this key, the user receives a 403 Forbidden error. Existing users are unaffected and can still call the API. What code updates will grant these new users access to the API?
A) The createDeployment method must be called so the API can be redeployed to include the newly created API key. The createDeployment method must be called so the API can be redeployed to include the newly created API key.
B) The updateAuthorizer method must be called to update the API's authorizer to include the newly created API key. updateAuthorizer method must be called to update the API's authorizer to include the newly created API key.
C) The importApiKeys method must be called to import all newly created API keys into the current stage of the API. importApiKeys method must be called to import all newly created API keys into the current stage of the API.
D) The createUsagePlanKey method must be called to associate the newly created API key with the correct usage plan. createUsagePlanKey method must be called to associate the newly created API key with the correct usage plan.
Correct Answer:
Verified
Q63: A company has an application that logs
Q64: A company is using Amazon RDS MySQL
Q65: A company is providing services to many
Q66: A company uses Amazon DynamoDB for managing
Q67: A Developer is building a mobile application
Q69: A Developer is making changes to a
Q70: A Developer is designing a new application
Q71: A Developer has a stateful web server
Q72: A Developer is creating an AWS Lambda
Q73: An application that runs on an Amazon
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents