Study sets, textbooks, questions
Upgrade to remove ads
AWS Certified Developer - Associate
Terms in this set (178)
AWS SQS long polling allows the SQS service to wait until a message is available in the queue before sending a response?
A visibility timeout is a period of time during which AWS SQS prevents other consuming components from receiving and processing the message?
What AWS service can you use to "fan out" SQS messages to multiple queues?
(SQS) What is the maximum long poll timeout?
You have a fleet of EC2 instances that are constantly polling empty SQS queues which is burning CPU complete cycles. What should you do?
Enable SQS long polling
What is the default SQS visibility time out?
EC2 instances download jobs from SQS queue, but are taking too long to process. What api call can you use to the length of time to process jobs?
(SQS) You are designing a new app which processes payments and delivers promotional emails to customers. Your need to ensure that the payment process takes priority over the creation of emails. What is the best way to achieve this?
Use 2 SQS queues. Poll that payment queue first.
An SQS message can NOT be delivered multiple times?
False, SQS messages can be delivered multiple times
What is the default visibility timeout for SQS?
How long can SQS messages be?
Messages can contain up to 256 KB of text in any format
SQS was the second service on AWS?
False, SQS was the first
DynomaDB writes are measured in 2 KB per write?
False, they are measured in 1 KB per write.
What are the two consistency models used when reading data from DynamoDB?
Eventually Consistent and Strongly consistent
DynamoDB is a NoSQL database by AWS?
You have an app that needs 25 items of 13KB per second. Your app uses STRONGLY consistent reads. What should the throughput be set to? (Math problem)
Calculate read capacity units (items up to 4 KB in size)
Multiply number of items by read capacity units
Do NOT divide by 2 because strongly consistent
One read capacity unit represents one strongly consistent read per second, or two eventually consistent reads per second, for items up to 4 KB in size?
When you create a table, you specify how much provisioned throughput capacity you want to reserve for reads and writes?
In DynamoDB, you specify provisioned throughput requirements in terms of capacity units?
One read capacity unit represents one X type of read per second, or two Y type of read per second?
One strongly consistent read per second. Two eventually consistent reads per second. For items up to 4 KB in size.
Application needs to read 25 items of 13KB per second. App uses EVENTUALLY consistent reads. What should you set read throughput to?
Calculate read capacity units (items up to 4 KB in size).
Multiply number of items by read capacity units.
Divide by two because EVENTUALLY consistent.
A global secondary index contains a selection of attributes from the table, but are organized by a primary key that is different from the table's? (T/F)
DynamoDB local secondary indexes are fixed at 10 per table?
False, local secondary indexes are fixed at 5 per table.
Local secondary indexes give your table a choice of sort keys?
What are the three capacity unit sizes in DynamoDB?
One read capacity unit represents one strongly consistent read per second, for items up to 4 KB in size.
One read capacity unit represents two eventually consistent reads per second, for items up to 4 KB in size.
One write capacity unit represents one write per second for items up to 1 KB in size.
Using the AWS portal, you are trying to scale DynamoDB past preconfigured maximums. Which service can be increased through AWS support?
Provisioned throughput limits
What are the steps for calculating write throughput?
Write capacity units are 1 KB per write.
Calculate items per second.
Multiply items per second by writes per item.
You have a motion sensor which writes 600 items of data every minute. Each item is 5 KB. What should write throughput be?
Calculate items per second.
Multiply items per second by write capacity units per item.
Answer: 50 provisioned write capacity units
What is the api call to receive multiple items from a DynamoDB table?
You have a motion sensor which writes 600 items of data every minute. Each item consists of 5 KB. Your application uses Strongly consistent reads. What should you set read throughput to?
Calculate items per second.
Calculate read capacity units per item.
Strongly consistent reads are up to 4 KB per read.
Multiply items per second by read capacity units per item.
Answer: 20 provisioned read capacity units
You have a motion sensor which writes 600 items of data every minute. Each item consists of 5 KB. Your application uses eventually consistent reads. What should you set the read throughput to?
Calculate items per second.
Calculate read capacity units per item.
Eventually consistent reads give 2 reads for items up to 4 KB.
Answer: 10 provisioned read capacity units
Steps for calculating read throughput?
Calculate items per second.
Calculate read capacity units per item (4 KB).
Multiply items per second by read capacity units per item.
If eventually consistent, divide by two.
A scan is more efficient than query in terms of performance? (T/F)
False, a query is more efficient that a scan in terms of performance.
What does the error "ProvisionedThroughputExceededException" mean?
You have exceeded your maximum allowed provisioned throughput
A scan reads every item in a table or secondary index?
What does OLTP stand for?
Online Transaction Processing (OLTP)
What does OLAP stand for?
Online analytics processing (OLAP)
Is RDS an OLAP? (T/F)
False, RDS is Online Transaction Processing (OLTP)
Is Redshift OLAP? (T/F)
Is DynamoDB NoSQL?
Is ElastiCache in memory?
What is more frequent Online Transaction Processing (OLTP) or Online Analytics Processing (OLAP)?
Online Transaction Processing (OLTP) because it is similar to a traditional query. Online Analytics Processing (OLAP) is more of a management tool used at the end of a day.
NoSQL : RDS
key value pair: fields
_id is required
can embed key value pairs (KVP)
embedded data = nested KVP
Not a question
Does DynamoDB allow embedded data structures?
No, DynamoDB allow embedded data structures; however, MongoDB does.
What is AWS proprietary database?
Developers store session data in Elasticache?
Yes, developers store session data in Elasticache.
What are the two Elasticache engines offered?
Memcached and Redis
What is AWS in memory cache?
Are newly created S3 buckets public by default?
No, they are not public by default
Is 1 TB the largest size file you can transfer to S3 using a PUT?
No, the largest is 5GB. After 5 GB you must use multipart upload
What is the maximum size on S3?
Does S3 provide unlimited storage?
What is CORS?
Cross Origin Resource Sharing (CORS)
Which region is Sydney, Australia in?
What does "ap" stand for in AWS regions?
Which region is Singapore in?
Which region is Japan in?
An s3 endpoint always contains?
Tee phrase "s3-website" followed by the region name
What is the link to an S3 bucket created in Japan?
Do static hosted websites on S3 have www in their names?
No, static hosted websites on S3 do NOT have www in their names
Create a static hosting website in a bucket called "eric" in japan using s3. What is the new url?
What encryption does AWS use on s3 buckets?
Advanced encryption standard (AES) 256
What is the minimum file size on s3?
Are autoscaling, Elastic Beanstalk, and Cloud formation chargeable?
No, the resources they use are.
Is Elastic Load Balancer Service chargeable?
Yes, ELB is chargeable because it is a service
Can you have multiple certs on an elastic load balancer?
Yes, you can have multiple certs on an elastic load balancer
Must you use the appropriate OS when encrypting an EBS volume?
No, used to be the case, but now you can encrypt upon creation
To enable encryption at rest using ec2 and elastic block store, you need to?
Configure encryption when creating the EBS volume
Which command line command will tell you the internal ip address?
An EC2 which needs its private and public ip address should Retrieve the instance metadata from http://169.254.169.254? (T/F)
True, An EC2 which needs its private and public ip address should Retrieve the instance metadata from http://169.254.169.254.
What does a 2xx code mean?
The request was successful.
What does a 5xx error mean?
There has been a server side error
What does a 404 error mean?
The resource being accessed is not available on the server
which languages are supported by the aws sdk?
python, ruby, nodejs, php, java
What is the default region for an sdk?
What is amazons data warehouse called?
When using Web Identity Federation to allow a user to access AWS, what is the correct order of the steps?
1) user auths with facebook first. Theyt are given an id token by facebook
2) an api call to AssumeRoleWithWebIdentity is then used in conjunction with the ID token
3) the user gains temporary credentials
The AWS sign in endpoint is https://signin.aws.amazon.com/saml ? (T/F)
True, The AWS sign in endpoint is https://signin.aws.amazon.com/saml
When using AD to authenticate to AWS, what steps are performed?
1) User navigates to Active Directory Federation Services (ADFS)
2) user enters Single Sign On (SSO) credentials
3) user's web browser receives SAML assertion from the AD server
4) user's web browser receives Security Assertion Markup Language (SAML) assertion to AWS SAML endpoint: AssumeRoleWithSAML api request is used to request temporary credentials
5)user is then able to access the AWS console
What API call requests temporary security credentials from the AWS platform when federating with Active Directory
Security Assertion Markup Language (SAML)
What API call is used to gain temporary security credentials when authenticating using WebIdentityFederation?
Name of service allowing users to use social media account to gain temporary access to AWS platform?
Web Identity Ferderation
AWS recommends storing credentials on Ec2 over using IAM roles? (T/F)
False, use IAM roles
1) centralized control of account?
2) integrates with active directory?
3) Fine grained access control to AWS resources?
4) Biometric Auth?
IAM allows centralized control of account
IAM integrates with active directory
IAM give Fine grained access control to AWS resources
IAM, does NOT do Biometric Auth
IAM allows you to manage these 3 things: Users, Groups, Roles? (t/f)
True, IAM allows you to manage these 3 things: Users, Groups, Roles
What service allows you to manage users, groups, roles, and their access to the AWS platform?
What service offers object (file) based storage?
Does EBS use object (file) based storage?
No, EBS uses block storage
What does EBS stand for?
Elastic Block Storage
Object Based storage is synonymous with?
File based storage
Why is Route53 named as such?
DNS port is 53
Amazon's scalable DNS is called?
There are more regions than edge locations?
False, there are more edge locations than regions
Do Availability Zones (AZ) automatically sync data between them?
No, not in terms of EBS and EC2
Distinct locations within an AWS region that are isolated from failure are called?
Availability Zones (AZ)
How many regions are the on AWS at present?
us-east-1 US East (N. Virginia)
us-west-2 US West (Oregon)
us-west-1 US West (N. California)
eu-west-1 EU (Ireland)
eu-central-1 EU (Frankfurt)
ap-southeast-1 Asia Pacific (Singapore)
ap-northeast-1 Asia Pacific (Tokyo)
ap-southeast-2 Asia Pacific (Sydney)
ap-northeast-2 Asia Pacific (Seoul)
ap-south-1 Asia Pacific (Mumbai)
sa-east-1 South America (São Paulo)
What is AWS Business Intelligence (BI) tool?
What services does AWS offer for Real Time Big Data analytics?
What are the AWS big data analytics frameworks?
Elastic Map Reduce (EMR) (Hadoop and spark)
What allows organizations to do complex analysis on large volumes of data?
Elastic Map reduce (EMR)
What are the services offered by AWS? (high level)
Compute and Networking
Storage and Content delivery
Security and Identity
VPC is a component of which AWS Service?
What is AWS's content distribution network (CDN) ?
AWS console that provides a quick global picture of your cloud computing environment?
A distinct location within a geographic area designed to provide high availability to a specific geography is called?
An Availability Zone (AZ)
An independent collection of AWS computing resources in a defined geography is called?
An AWS region
What's the difference between an AWS region and an availability zone?
Region is a geographic area.
Availability Zone is an isolated area inside of a region
Regions have multiple Availability Zones
You have a motion sensor which writes 300 items every 30 seconds. Each item consists of 5 kb. Your app uses eventually consistent reads. What should read throughput be set to?
10 items per seconds.
2 reads per item (8 kb).
Eventually consistent, so divide by 2.
Read throughput = 10
What is the largest file size you can transfer to S3 using a PUT request?
There is a hard limit on how much data you can store on s3?
False, there is no hard limit on how much data you can store on s3.
Cross Origin Resource Sharing (CORS) is not enabled
You create a static hosting website in a bucket called 'eric' in sydney using S3. What would the new URL endpoint be?
You have added a NAT (Network address translator) ec2 instance to your vpc, but your ec2 instances in the private subnet still cannot access the internet. What should you do with the NAT?
Disable the source/destination checks on the NAT
You have 2 ec2 instances which sit in a custom VPC in a public subnet. You add a 3rd instance to the subnet, but it cannot access the internet. What should you do?
Add an elastic ip address to the new instance
How many internet gateways can I attach to a custom VPC?
You are designing an application which needs to locate the public ip address on the ec2 instance on which it is stored. What do you do?
Get the instance metedata by visiting http://169.254.169.254/latest/meta-data/
With ec2 you can have 2 types of storage. EBS storage or Instance store. EBS is persistent and if an ec2 instance is stopped with an ebs volume attached, there will be no data lost. instance store is ephemeral and if the ec2 is stopped, all data will be lost. (t/f)
EBS is persistent and if an ec2 instance is stopped with an ebs volume attached, there will be no data lost.
Instance store is ephemeral and if the ec2 is stopped, all data will be lost.
If you make an ami public, this AMI is immediately available across all regions by default (t/f)
False, If you make an ami public, the AMI is NOT immediately available across all regions by default (t/f)
in the shared responsibility model, what is aws's responsibility?
restricting access to data centers
proper destruction of decommissioned disks
patching of firmware
what is the default encryption used on s3?
advanced encryption standard (AES) 256
after successfully uploading a file to s3, what http response code is expected?
which of these aws services do not use key value pairs?
which of the following languages is not supported by the aws sdk? (bad question)
what is the default region for all SDKs
you can have multiple ssl certs (for multiple domain names) on a single ELB?
true, you can have multiple ssl certs (for multiple domain names) on a single ELB
you run a website which hosts videos and you have 2 types of members, premium and free.
all videos uploaded by both types are processed by a fleet of ec2 instances which will poll sqs as videos are uploaded; however, you need to ensure that premium members have a higher priority.
how do you design simple queue service (SQS)?
Create two queues.
program ec2 to poll the premium queue first.
you can select a specific availability zone in which to place your dynamo DB table (t/f)
false, you can NOT select a specific availability zone in which to place your dynamo DB table
in order to enable encryption at rest using ec2 and elastic block store (EBS) you need to?
Configure encryption when creating the ebs volume
Amazon s3 provides unlimited file size for objects
False, it provides unlimited storage, but there is a maximum file size
amazon s3 buckets in all other regions (other than us standard) do NOT provide eventual consistency for overwrite PUTS and DELETES (t/f)
False, amazon s3 buckets in all other regions (other than us standard) DO provide eventual consistency for overwrite PUTS and DELETES (t/f)
amazon s3 buckets in all other regions (other than us standard) provide read after write consistency for PUTS of new objects (t/f)
false, amazon s3 buckets in all other regions (other than us standard) do NOT provide read after write consistency for PUTS of new objects (t/f)
to retrieve instance metadata of userdata you will need to use the following ip address
you have an ec2 instance which needs to find out both its private ip address and its public ip address
retrieve instance metadata from http://169.254.169.254/latest/metadata/
it is possible to transfer a reserved instasnce from one availability zone to another
true, it is possible to transfer a reserved instasnce from one availability zone to another
when you create new subnets within a custom virtual private cloud (vpc), by default, they can communicate with each other, across availability zone
true, every subnet created is automatically associated with the VPCs default network ACL
You can have 1 subnet attached across multiple availability zones (t/f)
False, You can have more than 1 subnet attached across multiple availability zones
In identity access management (IAM), using security access markup language (SAML) 2.0, you can give federated users single sing on (SSO) access to the aws console. (t/f)
True, In identity access management (IAM), using security access markup language (SAML) 2.0, you can give federated users single sing on (SSO) access to the aws console.
Amazon S3 buckets in the US standard region do NOT provide eventual consistency
False, Amazon S3 buckets in the US standard region do provide eventual consistency
In the shared responsibility model, what is AWS's responsibility?
Restricting access to datacenters
Proper destruction of decommisioned disks
Patching of firmware for the hardware on which your AWS resources reside
Amazon RDS stands for?
Amazon Relational Database Services (RDS)
You are required to patch the operating system (OS) and application in Amazon Relational Database Service (RDS)?
False, You are NOT required to patch the operating system (OS) and application in Amazon Relational Database Service (RDS)
Network ACL stands for?
Network Access Control List
A VPC can have 3 internet gateways attached to it?
False, A VPC can only have one internet gateway attached to it
How many internet gateways (IG) can be attached to a custom VPC?
How many virtual private clouds (VPCs) can be had in each AWS region by default?
The default number of VPCs allowed in an AWS region is 4?
false, 5 is the default number of VPCs allowed in each AWS region
You may only have 1 internet gateway per virtual private cloud (VPC)
False, you may have more than one internet gateway (IG) per Virtual Private Cloud (VPC)
It is possible to have private subnets in VPC?
True, it is possible to have private subnets in VPC
An instance does NOT retain its private IP address in Amazon Virtual Private Cloud (VPC)?
False, it retains its IP address (weird question)
A subnet can only be associated with one Access Cotnrol List (ACL)
True, You can associate a network ACL with multiple subnets; however, a subnet can be associated with only one network ACL at a time. When you associate a network ACL with a subnet, the previous association is removed.
A subnet can only be associated with MULTIPLE Access Cotnrol List (ACL)
False, a subnet can be associated with only one network ACL at a time.
Security groups act like a firewall at the instance level where as ________ are an additional layer of security that act at the subnet level
Access Conrtol List (ACL)
Network ACLs are an additional layer of security that act at the subnet level?
True, Network ACLs are an additional layer of security that act at the subnet level?
Security groups act like a firewall at the instance level?
True, Security groups act like a firewall at the instance level
VPC Stands for?
Virtual Private Cloud
Unlike Cloud formation, Elastic Beanstalk itself is not free AND you must pay for the resource it provisions?
False, both Elastic Beanstalk and Cloud Formation are free, but you must pay for the underlying resources.
What languages and development stacks are not supported by the AWS elastic beanstalk?
Jetty for JBoss application (weird question)
AWS Elastic Beanstalk supports Java, .NET, PHP, Node.js, Python, Ruby, Go, and Docker web applications.
Elastic beanstalk is object based storage?
An application version points to an Amazon Simple Storage Service (Amazon S3) object that contains the deployable code such as a Java WAR file.
What language are cloud formation templates written in?
You are creating a virtual data center using cloud formation and you need to output the DNS name of your load balancer. What command would you use to achieve this?
Fn::GetAZs returns a list of regions? (t/f)
False, The intrinsic function Fn::GetAZs returns an array that lists Availability Zones for a specified region. Because customers have access to different Availability Zones, the intrinsic function Fn::GetAZs enables template authors to write templates that adapt to the calling user's access. That way you don't have to hard-code a full list of Availability Zones for a specified region.
What happens if cloud formation encounters and error by default?
It will terminate and rollback all resources created on failure.
Cloud formation is free; however, the resources it provisioned will be charged at the usual rates
True, Cloud formation is free; however, the resources it provisioned will be charged at the usual rates
THe default scripting language for cloud formation is?
In Amazon Simple Workflow Services (SWF), what is a decider?
The decider is a program that controls the coordination of tasks, i.e. their ordering, concurrency, and scheduling according to the application logic.
In amazon Simple Workflow Service (SWF), what is a worker?
Workers are programs that interact with amazon SWF to get tasks, process received tasks, and return the results.
Amazon Simple Workflow Service (SWF) is sueful for automating workflows that include long running human tasks (e.g. approvals, reviews, investigations, etc). Amazon SWF reliably tracks the status of processing steps that run up to several days or months.
Maintaining your applications execution state (e.g. which steps have completed, which ones are running) is a perfect use case for SWF?
SWF consists of a domain, worker, and decider?
Messages CAN be customized for each protocol used in SNS?
True, Messages CAN be customized for each protocol used in SNS.
SNS is push based?
True, SNS is push based.
You can use SNS in conjunction iwth SQS to fan a single message out to multiple SQS Queries?
True, You can use SNS in conjunction iwth SQS to fan a single message out to multiple SQS Queries
You have a list of subscribers email addresses that you need to push emails out to on a periodic basis. What do you subscribe them to?
Messages can NOT be customized for each protocol used in SNS?
False, Messages can NOT be customized for each protocol used in SNS.
Name a protocol not supported by SNS.
SNS supported protocols are: Amazon SQS, HTTP/S, email, SMS, Lambda
Which protocols are supported by SNS?
Amazon SQS, HTTP/S, email, SMS, Lambda
SNS is PULL based rather than PUSH based?
False, SNS is PUSH based.
Amazon Simple Queue Service (SQS) was the 3rd service on AWS (t/f) ?
False, SQS was the first.
Sets with similar terms
AWS Certified Solutions Architect Chapter Exams
3D0X2 CDCs Volume 2
Chapter 5-Data Storage Technology
Sets found in the same folder
AWS Certified Developer Study Set
AWS Developer - Associate
AWS Certified Developer Study Set
AWS Developer Associate
A certain college classifies students according to credits earned. A student with less than 7 credits is a Freshman. At least 7 credits are required to be a Sophomore, 16 to be a Junior and 26 to be classified as a Senior. Write a program that calculates class standing from the number of credits earned.
T F It is possible to overload a function template and an ordinary (nontemplate) function.
Write a program to find the sum of the first n natural numbers, where the value of n is provided by the user.
Running on a particular treadmill you burn 4.2 calories per minute. Write a program that uses a loop to display the number of calories burned after 10, 15, 20, 25, and 30 minutes.
Recommended textbook solutions
Computer Organization and Design MIPS Edition: The Hardware/Software Interface
David A. Patterson, John L. Hennessy
Fundamentals of Database Systems
Ramez Elmasri, Shamkant B. Navathe
Introduction to Algorithms
Charles E. Leiserson, Clifford Stein, Ronald L. Rivest, Thomas H. Cormen
Information Technology Project Management: Providing Measurable Organizational Value
Jack T. Marchewka
Other Quizlet sets
4.5 test corrections
CSE Activity 1.2.3 Algorithms and Abstraction Info…
Excel Lesson 1.05
Databases Midterm 2
13 Root DNS servers to top level DNS servers to authoritative DNS servers
The rules for how data is exchanged between devices is known as a(n)
An international conglomeration of interconnected computer networks.
Which permissions are necessary on a web folder to ensure that visitors to the site can access the pages?