Head to crucial.com and use their tool or look up your model.
As to the CPU. NO and NO!
The A12 is soldered down. Besides the fact that it's soldered down (see https://www.colorlifebuy.com/hp-laptop-motherboard-c-1_12/hp-15aw-series-862978601-uma-a129700p-dag54amb6d0-revd-laptop-notebook-motherboard-mainboard-tested-working-perfect-p-2013.html ) you also have the issue there isn't a much better A12 to replace it.
So no and no.
Hi - was wondering if anyone knows whether or not the CPU and the RAM can be upgraded on the HP Notebook - 17-y015cy. Thanks in advance!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic