Test Review Questions Flashcards
(200 cards)
How to deploy a lambda function with multiple stages - dev, test, prod
Use environment variables to configure different dndpoints for each stagew
On premises application accessing AWS services through SDK
Generate access key and store in secrets manager
Improve on storing session state in memory
Store in Elasticache for distributed session management
Monitor events in cloudwatch every 10 seconds
High resolution cloudwatch metric - can set alarms for periods of 10 or 30 seconds
Cloudwatch metric standard resolution granularity
Granularity of 1 minute, and period of at least 5 minutes
Override the build command on a CodeBuild project to test a change
Run the start build command from the CLI with the ‘buildspecOverride’ property
Migrating SQL to AWS, current encrypting some data with Transparent Data Encruption
Use RDS - supports TDE
Update Beanstalk EC2 instance type
Create a config file in S3 with the new instance type
Large number of reads/writes to S3 per second
Use a hash prefix when writing to distribute I/O load across multiple partitions
Preprocess data before analysis in Kinesis Analytics
Use Lambda to preprocess data
Mintor incoming connections on an ELB
Enable access logs on the load balancer
Reduce throttling from scans on a large DDB table
Reduce page size to reduce RCUs per request
Bootstrap application script into autoscaling instances
Place script into Userdata for the instance
Analyse information stored in Cognito
Cognito streams configures a Kinesis stream to which Cognito can push dataset changes
How to implement a Lambda function with 300 second execution time
Default timeout is 3 seconds - increase this
Where to place a healthcheck.config file for an ~Elastic Beanstalk application
In the .ebextensions folder of the application’s source code
Allow users to test an API gateway instance.
Ensure that a deployment is create in API gateway
How to allow an application to take 60 to process a message from an SQS queue
Increase the visibility timeout in the queue from the default of 30 seconds, then delete the message after processing
Test out permissions assigned to a policy via CLI
Get the context keys then use them with command ‘aws iam simulate custom policy’
Steps to host a static website
Enable website hosting, configure index document, set permissions for website access
MFA for S3 bucket
Add bucket policy with condition ‘aws:MultiFactorAuthPresent’:’false’ as a deny policy
Reduce response time for reads on DDB to microseconds
Use DAX - DDB in-memory caching
Preconfigure EC2 instances with NGINX web server using cfn
Use cfn-init helper script - allows you to describe configurations rather than scripting steps.
Migrate from a Subversion repo to CodeCommit
For svn, perforce or TFS, migrate to git first, then to CodeCommit