changtimwu / changtimwu.github.com

Tim's testing/practice notes
7 stars 2 forks source link

AWS certification #93

Open changtimwu opened 6 years ago

changtimwu commented 6 years ago

force myself refresh everything by scheduling an urgent exam(June/13).

all white papers

https://aws.amazon.com/whitepapers/

all reinvents

https://reinventvideos.com/

all FAQs

https://aws.amazon.com/faqs/

just follow official preparation steps

https://aws.amazon.com/certification/certification-prep/

changtimwu commented 6 years ago

AWS Certified Cloud Developer Associate

jayendrapatil

some test taker notes

brain dump

http://free-braindumps.com/amazon-braindumps-free.html

changtimwu commented 6 years ago

AWS SWF

*(simple workflow framework): https://aws.amazon.com/tw/swf/

limits


changtimwu commented 6 years ago

section 8 SQS

Visibility


changtimwu commented 6 years ago

section 9 SNS

Message

a message is made of the three attributes(name/type/value) https://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html Name, type, and value must not be empty or null. In addition, the message body should not be empty or nul

{
  "Type" : "Notification",
  "MessageId" : "63a3f6b6-d533-4a47-aef9-fcf5cf758c76",
  "TopicArn" : "arn:aws:sns:us-west-2:123456789012:MyTopic",
  "Subject" : "Testing publish to subscribed queues",
  "Message" : "Hello world!",
  "Timestamp" : "2012-03-29T05:12:16.901Z",
  "SignatureVersion" : "1",
  "Signature" : "EXAMPLEnTrFPa37tnVO0FF9Iau3MGzjlJLRfySEoWz4uZHSj6ycK4ph71Zmdv0NtJ4dC/El9FOGp3VuvchpaTraNHWhhq/OsN1HVz20zxmF9b88R8GtqjfKB5woZZmz87HiM6CYDTo3l7LMwFT4VU7ELtyaBBafhPTg9O5CnKkg=",
  "SigningCertURL" : "https://sns.us-west-2.amazonaws.com/SimpleNotificationService-f3ecfb7224c7233fe7bb5f59f96de52f.pem",
  "UnsubscribeURL" : "https://sns.us-west-2.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:us-west-2:123456789012:MyTopic:c7fe3a54-ab0e-4ec2-88e0-db410a0f2bee"
}    

example notfication to http end point

POST / HTTP/1.1
x-amz-sns-message-type: SubscriptionConfirmation
x-amz-sns-message-id: 165545c9-2a5c-472c-8df2-7ff2be2b3b1b
x-amz-sns-topic-arn: arn:aws:sns:us-west-2:123456789012:MyTopic
Content-Length: 1336
Content-Type: text/plain; charset=UTF-8
Host: example.com
Connection: Keep-Alive
User-Agent: Amazon Simple Notification Service Agent

{
  "Type" : "SubscriptionConfirmation",
  "MessageId" : "165545c9-2a5c-472c-8df2-7ff2be2b3b1b",
  "Token" : "2336412f37fb687f5d51e6e241d09c805a5a57b30d712f794cc5f6a988666d92768dd60a747ba6f3beb71854e285d6ad02428b09ceece29417f1f02d609c582afbacc99c583a916b9981dd2728f4ae6fdb82efd087cc3b7849e05798d2d2785c03b0879594eeac82c01f235d0e717736",
  "TopicArn" : "arn:aws:sns:us-west-2:123456789012:MyTopic",
  "Message" : "You have chosen to subscribe to the topic arn:aws:sns:us-west-2:123456789012:MyTopic.\nTo confirm the subscription, visit the SubscribeURL included in this message.",
  "SubscribeURL" : "https://sns.us-west-2.amazonaws.com/?Action=ConfirmSubscription&TopicArn=arn:aws:sns:us-west-2:123456789012:MyTopic&Token=2336412f37fb687f5d51e6e241d09c805a5a57b30d712f794cc5f6a988666d92768dd60a747ba6f3beb71854e285d6ad02428b09ceece29417f1f02d609c582afbacc99c583a916b9981dd2728f4ae6fdb82efd087cc3b7849e05798d2d2785c03b0879594eeac82c01f235d0e717736",
  "Timestamp" : "2012-04-26T20:45:04.751Z",
  "SignatureVersion" : "1",
  "Signature" : "EXAMPLEpH+DcEwjAPg8O9mY8dReBSwksfg2S7WKQcikcNKWLQjwu6A4VbeS0QHVCkhRS7fUQvi2egU3N858fiTDN6bkkOxYDVrY0Ad8L10Hs3zH81mtnPk5uvvolIC1CXGu43obcgFxeL3khZl8IKvO61GWB6jI9b5+gLPoBc1Q=",
  "SigningCertURL" : "https://sns.us-west-2.amazonaws.com/SimpleNotificationService-f3ecfb7224c7233fe7bb5f59f96de52f.pem"
  }

mobile push

setup

publish a message

limits

Limits and Restrictions Q: Are there limits to the number of topics or number of subscribers per topic?

changtimwu commented 6 years ago

section 10 SWF

changtimwu commented 6 years ago

section 11 Beanstalk

changtimwu commented 6 years ago

section 12 CloudFormation


AWSTemplateFormatVersion: "version date"
Description:
  String
Metadata:
  template metadata
Parameters:
  set of parameters
Mappings:
  set of mappings
Conditions:
  set of conditions
Transform:
  set of transforms
Resources:
  set of resources
Outputs:
  set of outputs

only Resources is required

intrinsic functions

CLI

changtimwu commented 6 years ago

section 14 Route53

changtimwu commented 6 years ago

dynamodb

FAQ

stream

index

capacity formula

AssumedRoleWithWebIdentity

limits

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html

Query

Query vs Scan

Scan

API brief

changtimwu commented 6 years ago

VPC

entity and relation

route and subnet

Facts

NAT

changtimwu commented 6 years ago

S3

bucket name rules

between 3 and 63 characters long, and can contain only lower-case characters, numbers, periods, and dashes. Each label in the bucket name must start with a lowercase letter or number.The bucket name cannot contain underscores, end with a dash, have consecutive periods, or use dashes adjacent to periods.

limit

request per second

consistency

exam

changtimwu commented 6 years ago

EC2

changtimwu commented 6 years ago

IAM


role 有可以理解成兩個簡單的基本

changtimwu commented 6 years ago

EC2 Autoscaling

changtimwu commented 6 years ago

to be a partner?

changtimwu commented 6 years ago

Query and Scan

Query 與 Scan 可以對

primary key

一個 table 的 primary key 可以是

global secondary index

想只用 game title查, 或是用其他 attribute, 就只能用很慢的 scan

secondary index could be made of partiton key and sort key

local secondary index

changtimwu commented 6 years ago

ELB

https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-configure-load-balancer.html

changtimwu commented 6 years ago

Elastic cache

changtimwu commented 6 years ago

After test I took the new version(released in June 2018). I quite like changes this time. More new stuff(XRay, build/deploy pipeline). More related to practical development. More rely on experience instead of memorization.

SQS

KMS

Lambda

changtimwu commented 6 years ago

codestar/codepipeline define the following

practical question

changtimwu commented 6 years ago

deeplens and sagemaker https://www.youtube.com/watch?v=cTsCMTxEPHs https://aws.amazon.com/about-aws/whats-new/2018/06/aws-deeplens-tensorflow-caffe-mxnet-kinesis-video-streams-buy-now/