Can apple know if i jailbreak my Iphone 5s?

Can the Apple Store Know If my iPhone 5s is Jailbroken? A few days ago my iphone ran out of battery and it just stop turning on like it wouldn't even charge if i plugged it in. The iphone is just completely dead I've already tried everything and nothing has worked for me so this is why I'm taking it to the apple store, but what I want to know is if they will know if the phone is jailbroken? I hope they don't so they can replace it. Since it can't turn on or anything i guess they won't find out?

1st, they will not replace your phone. They will repair it. If it's jailbroken it won't be covered under the warranty

Well yes, don't take it while its jailbroken. Lol first you need to format it into the factory. Like completely format it, this should get ride of the jailbroken status. Then you can take it to the store. If you can't turn it ON right now… Yo make some researches on the internet first. Turn it on somehow…

I think they will know

  • People that buy iphones don't know anything about technology did you know that? Like my friend just brought iphone and I asked him if it has 4g late he said what's that? Then I asked how fast is the processor like 1.2 dual people buy them because its more mainstream and because their friends have iPhones Samsung is way better based on specs and technology the iPhone 4s and 4 processors are very slow
  • IPhone 6s plus or 7 plus. I know the prices and what they do. But what I wanted to know is Did the 7 fix the home button problem? That s my main worry. I use my phone to text, check facebook, candy crush, look up info, and take the odd picture… Will I notice the difference between the two phones to be willing to pay more for the 7? Hoping for opinions for 6s plus and 7 plus from past of present owners.
  • If I jailbreak my iPhone, will Apple know? I was wondering if I jailbroke my iPhone 4, would apple and verizon both know i did it? Would they always know i did even after restoring it? Also would they do anything to me because i jailbroke my iPhone?
  • If i jailbreak an iphone can i unlock it then remove jailbreak? So my Mum just got given an iPhone 4 by her brother, she needs to unlock it to be able to use it with her network but she doesn't want it jailbroken and doesn't won't to have to pay for it… So if I use jailbreak to unlock the device could I then remove Cydia and it would still be unlocked?